Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: experimental/visual_studio_plugin/src/debug_conn/debug_stub.gyp

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #
2 # Copyright 2010 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file.
5 #
6 {
7 'includes': [
8 '../../../build/common.gypi',
9 ],
10 'variables': {
11 'common_conn': [
12 'debug_packet.h',
13 'debug_packet.cc',
14 'debug_pipe.h',
15 'debug_pipe.cc',
16 'debug_host.h',
17 'debug_host.cc',
18 'debug_socket.h',
19 'debug_socket.cc',
20 'debug_socket_impl.h',
21 'debug_socket_impl.c',
22 'debug_stream.h',
23 'debug_target.h',
24 'debug_target.cc',
25 'debug_util.h',
26 'debug_util.cc',
27 ],
28 'other_sources': [
29 ],
30 'common_stub': [
31 'debug_stub.h',
32 'debug_stub.cc',
33 ],
34 'conditions': [
35 ['OS=="linux"', {
36 'platform_conn': [
37 'linux/debug_socket_linux.cc',
38 ],
39 'platform_stub': [
40 'linux/debug_stub_linux.cc',
41 ],
42 }],
43 ['OS=="mac"', {
44 'platform_conn': [
45 'osx/debug_socket_osx.cc',
46 ],
47 'platform_stub': [
48 'osx/debug_stub_osx.cc',
49 ],
50 }],
51 ['OS=="win"', {
52 'platform_conn': [
53 'win/debug_socket_win.cc',
54 ],
55 'platform_stub': [
56 'debug_dispatch.h',
57 'debug_dispatch.cc',
58 'debug_inst.h',
59 'debug_inst.cc',
60 'debug_stub_api.h',
61 'debug_thread.h',
62 'debug_thread.cc',
63 'win/debug_stub_win.cc',
64 ],
65 }],
66 ],
67 },
68
69 'target_defaults': {
70 'variables': {
71 'target_base': 'none',
72 },
73 'target_conditions': [
74 ['OS=="linux" or OS=="mac"', {
75 'cflags': [
76 '-Wno-long-long',
77 ],
78 }],
79 ['target_base=="debug_conn"', {
80 'sources': [
81 '<@(common_conn)',
82 '<@(platform_conn)',
83 ],
84 }],
85 ['target_base=="debug_conn_test"', {
86 'sources': [
87 'debug_conn_test.cc',
88 ],
89 }],
90 ['target_base=="debug_stub"', {
91 'sources': [
92 '<@(common_stub)',
93 '<@(platform_stub)',
94 ],
95 }],
96 ['target_base=="debug_stub_test"', {
97 'sources': [
98 'debug_stub_test.cc',
99 ],
100 }],
101 ],
102 },
103 'targets': [
104 # ----------------------------------------------------------------------
105 {
106 'target_name': 'debug_conn',
107 'type': 'static_library',
108 'variables': {
109 'target_base': 'debug_conn',
110 },
111 },
112 # ---------------------------------------------------------------------
113 {
114 'target_name': 'debug_conn_test',
115 'type': 'executable',
116 'variables': {
117 'target_base': 'debug_conn_test',
118 },
119 'dependencies': [
120 'debug_conn',
121 ],
122 },
123 # ----------------------------------------------------------------------
124 {
125 'target_name': 'debug_stub',
126 'type': 'static_library',
127 'variables': {
128 'target_base': 'debug_stub',
129 },
130 'dependencies': [
131 'debug_conn'
132 ],
133 },
134 # ---------------------------------------------------------------------
135 {
136 'target_name': 'debug_stub_test',
137 'type': 'executable',
138 'variables': {
139 'target_base': 'debug_stub_test',
140 },
141 'dependencies': [
142 'debug_conn',
143 'debug_stub',
144 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform'
145 ],
146 },
147 ],
148 'conditions': [
149 ['OS=="win"', {
150 'targets': [
151 # ---------------------------------------------------------------------
152 {
153 'target_name': 'debug_conn64',
154 'type': 'static_library',
155 'variables': {
156 'target_base': 'debug_conn',
157 'win_target': 'x64',
158 },
159 },
160 # ---------------------------------------------------------------------
161 {
162 'target_name': 'debug_conn_test64',
163 'type': 'executable',
164 'variables': {
165 'target_base': 'debug_conn_test',
166 'win_target': 'x64',
167 },
168 'dependencies': [
169 'debug_conn64',
170 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64'
171 ],
172 },
173 # ---------------------------------------------------------------------
174 {
175 'target_name': 'run_debug_conn_test',
176 'message': 'running test run_debug_conn_test',
177 'type': 'none',
178 'dependencies': [
179 'debug_conn_test',
180 'debug_conn_test64',
181 ],
182 'actions': [
183 {
184 'action_name': 'run_debug_conn_test',
185 'msvs_cygwin_shell': 0,
186 'inputs': [
187 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py',
188 '<(PRODUCT_DIR)/debug_conn_test',
189 ],
190 'outputs': [
191 '<(PRODUCT_DIR)/test-output/debug_conn_test.out',
192 ],
193 'action': [
194 '<@(python_exe)',
195 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py',
196 '<(PRODUCT_DIR)/debug_conn_test',
197 '>',
198 '<@(_outputs)',
199 ],
200 },
201 ],
202 'conditions': [
203 ['MSVS_OS_BITS==64', {
204 'actions': [
205 {
206 'action_name': 'run_debug_conn_test64',
207 'msvs_cygwin_shell': 0,
208 'inputs': [
209 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py' ,
210 '<(PRODUCT_DIR)/debug_conn_test',
211 ],
212 'outputs': [
213 '<(PRODUCT_DIR)/test-output/debug_stub_conn.out',
214 ],
215 'action': [
216 '<@(python_exe)',
217 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py' ,
218 '<(PRODUCT_DIR)/debug_conn_test64',
219 '>',
220 '<@(_outputs)',
221 ],
222 },
223 ],
224 }],
225 ],
226 },
227 # ---------------------------------------------------------------------
228 {
229 'target_name': 'debug_stub64',
230 'type': 'static_library',
231 'variables': {
232 'target_base': 'debug_stub',
233 'win_target': 'x64',
234 },
235 },
236 # ---------------------------------------------------------------------
237 {
238 'target_name': 'debug_stub_test64',
239 'type': 'executable',
240 'variables': {
241 'target_base': 'debug_stub_test',
242 'win_target': 'x64',
243 },
244 'dependencies': [
245 'debug_conn64',
246 'debug_stub64',
247 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64'
248 ],
249 },
250 # ---------------------------------------------------------------------
251 {
252 'target_name': 'run_debug_stub_test',
253 'message': 'running test run_imc_tests',
254 'type': 'none',
255 'dependencies': [
256 'debug_stub_test',
257 'debug_stub_test64',
258 ],
259 'actions': [
260 {
261 'action_name': 'run_debug_stub_test',
262 'msvs_cygwin_shell': 0,
263 'inputs': [
264 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py',
265 '<(PRODUCT_DIR)/debug_stub_test',
266 ],
267 'outputs': [
268 '<(PRODUCT_DIR)/test-output/debug_stub_test.out',
269 ],
270 'action': [
271 '<@(python_exe)',
272 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py',
273 '<(PRODUCT_DIR)/debug_stub_test',
274 '>',
275 '<@(_outputs)',
276 ],
277 },
278 ],
279 'conditions': [
280 ['MSVS_OS_BITS==64', {
281 'actions': [
282 {
283 'action_name': 'run_debug_stub_test64',
284 'msvs_cygwin_shell': 0,
285 'inputs': [
286 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py' ,
287 '<(PRODUCT_DIR)/debug_stub_test',
288 ],
289 'outputs': [
290 '<(PRODUCT_DIR)/test-output/debug_stub_test.out',
291 ],
292 'action': [
293 '<@(python_exe)',
294 '<(DEPTH)/native_client/tests/debug_stub/test_debug_stub.py' ,
295 '<(PRODUCT_DIR)/debug_stub_test64',
296 '>',
297 '<@(_outputs)',
298 ],
299 },
300 ],
301 }],
302 ],
303 },
304 ],
305 }],
306 ],
307 }
308
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698