OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'remoting_test_common', | 8 'target_name': 'remoting_test_common', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 }], | 258 }], |
259 [ 'use_ozone==1', { | 259 [ 'use_ozone==1', { |
260 'sources!': [ | 260 'sources!': [ |
261 'host/local_input_monitor_unittest.cc', | 261 'host/local_input_monitor_unittest.cc', |
262 ], | 262 ], |
263 }], | 263 }], |
264 ['enable_remoting_host == 0', { | 264 ['enable_remoting_host == 0', { |
265 'dependencies!': [ | 265 'dependencies!': [ |
266 'remoting_host', | 266 'remoting_host', |
267 'remoting_host_setup_base', | 267 'remoting_host_setup_base', |
268 'remoting_it2me_host_static', | |
269 'remoting_native_messaging_base', | 268 'remoting_native_messaging_base', |
270 ], | 269 ], |
271 'sources/': [ | 270 'sources/': [ |
272 ['exclude', '^codec/'], | 271 ['exclude', '^codec/'], |
273 ['exclude', '^host/'], | 272 ['exclude', '^host/'], |
274 ['exclude', '^base/resources_unittest\\.cc$'], | 273 ['exclude', '^base/resources_unittest\\.cc$'], |
275 ] | 274 ] |
276 }], | 275 }], |
| 276 ['enable_it2me_host == 0', { |
| 277 'dependencies!': [ |
| 278 'remoting_it2me_host_static', |
| 279 ], |
| 280 'sources/': [ |
| 281 ['exclude', '^host/it2me/'], |
| 282 ] |
| 283 }], |
277 [ 'OS == "linux" and use_allocator!="none"', { | 284 [ 'OS == "linux" and use_allocator!="none"', { |
278 'dependencies': [ | 285 'dependencies': [ |
279 '../base/allocator/allocator.gyp:allocator', | 286 '../base/allocator/allocator.gyp:allocator', |
280 ], | 287 ], |
281 }], | 288 }], |
282 ], # end of 'conditions' | 289 ], # end of 'conditions' |
283 }, # end of target 'remoting_unittests' | 290 }, # end of target 'remoting_unittests' |
284 { | 291 { |
285 'target_name': 'remoting_browser_test_resources', | 292 'target_name': 'remoting_browser_test_resources', |
286 'type': 'none', | 293 'type': 'none', |
287 'copies': [ | 294 'copies': [ |
288 { | 295 { |
289 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', | 296 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', |
290 'files': [ | 297 'files': [ |
291 '<@(remoting_webapp_js_test_common_files)', | 298 '<@(remoting_webapp_js_test_common_files)', |
292 '<@(remoting_webapp_js_browser_test_files)', | 299 '<@(remoting_webapp_js_browser_test_files)', |
293 ], | 300 ], |
294 }, | 301 }, |
295 ], # end of copies | 302 ], #end of copies |
296 }, # end of target 'remoting_browser_test_resources' | 303 }, # end of target 'remoting_browser_test_resources' |
297 { | 304 { |
298 'target_name': 'remoting_webapp_unittest', | 305 'target_name': 'remoting_webapp_unittest', |
299 'type': 'none', | 306 'type': 'none', |
300 'variables': { | 307 'variables': { |
301 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', | 308 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', |
302 'webapp_js_files': [ | 309 'webapp_js_files': [ |
303 '<@(remoting_webapp_shared_main_html_js_files)', | 310 '<@(remoting_webapp_shared_main_html_js_files)', |
304 '<@(remoting_webapp_js_wcs_sandbox_files)', | 311 '<@(remoting_webapp_js_wcs_sandbox_files)', |
305 '<@(remoting_webapp_background_js_files)', | 312 '<@(remoting_webapp_background_js_files)', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 # arguments. Therefore, the excludejs flag must be set before the | 366 # arguments. Therefore, the excludejs flag must be set before the |
360 # instrumentedjs flag or else GYP will ignore the files in the | 367 # instrumentedjs flag or else GYP will ignore the files in the |
361 # exclude list. | 368 # exclude list. |
362 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', | 369 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', |
363 '--js', '<@(remoting_webapp_unittest_js_files)', | 370 '--js', '<@(remoting_webapp_unittest_js_files)', |
364 '<@(remoting_webapp_js_test_common_files)', | 371 '<@(remoting_webapp_js_test_common_files)', |
365 '--instrument-js', '<@(webapp_js_files)', | 372 '--instrument-js', '<@(webapp_js_files)', |
366 ], | 373 ], |
367 }, | 374 }, |
368 ], | 375 ], |
369 }, # end of target 'remoting_webapp_unittest' | 376 }, # end of target 'remoting_webapp_js_unittest' |
370 ], # end of targets | 377 ], # end of targets |
371 | 378 |
372 'conditions': [ | 379 'conditions': [ |
373 ['enable_remoting_host==1', { | 380 ['enable_remoting_host==1', { |
374 'targets': [ | 381 'targets': [ |
375 # Remoting performance tests | 382 # Remoting performance tests |
376 { | 383 { |
377 'target_name': 'remoting_perftests', | 384 'target_name': 'remoting_perftests', |
378 'type': '<(gtest_target_type)', | 385 'type': '<(gtest_target_type)', |
379 'dependencies': [ | 386 'dependencies': [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 'dependencies': [ | 422 'dependencies': [ |
416 '../base/allocator/allocator.gyp:allocator', | 423 '../base/allocator/allocator.gyp:allocator', |
417 ], | 424 ], |
418 }], | 425 }], |
419 ], # end of 'conditions' | 426 ], # end of 'conditions' |
420 }, # end of target 'remoting_perftests' | 427 }, # end of target 'remoting_perftests' |
421 ] | 428 ] |
422 }] | 429 }] |
423 ] | 430 ] |
424 } | 431 } |
OLD | NEW |