| 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', |
| 268 'remoting_native_messaging_base', | 269 'remoting_native_messaging_base', |
| 269 ], | 270 ], |
| 270 'sources/': [ | 271 'sources/': [ |
| 271 ['exclude', '^codec/'], | 272 ['exclude', '^codec/'], |
| 272 ['exclude', '^host/'], | 273 ['exclude', '^host/'], |
| 273 ['exclude', '^base/resources_unittest\\.cc$'], | 274 ['exclude', '^base/resources_unittest\\.cc$'], |
| 274 ] | 275 ] |
| 275 }], | 276 }], |
| 276 ['enable_it2me_host == 0', { | |
| 277 'dependencies!': [ | |
| 278 'remoting_it2me_host_static', | |
| 279 ], | |
| 280 'sources/': [ | |
| 281 ['exclude', '^host/it2me/'], | |
| 282 ] | |
| 283 }], | |
| 284 [ 'OS == "linux" and use_allocator!="none"', { | 277 [ 'OS == "linux" and use_allocator!="none"', { |
| 285 'dependencies': [ | 278 'dependencies': [ |
| 286 '../base/allocator/allocator.gyp:allocator', | 279 '../base/allocator/allocator.gyp:allocator', |
| 287 ], | 280 ], |
| 288 }], | 281 }], |
| 289 ], # end of 'conditions' | 282 ], # end of 'conditions' |
| 290 }, # end of target 'remoting_unittests' | 283 }, # end of target 'remoting_unittests' |
| 291 { | 284 { |
| 292 'target_name': 'remoting_browser_test_resources', | 285 'target_name': 'remoting_browser_test_resources', |
| 293 'type': 'none', | 286 'type': 'none', |
| 294 'copies': [ | 287 'copies': [ |
| 295 { | 288 { |
| 296 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', | 289 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', |
| 297 'files': [ | 290 'files': [ |
| 298 '<@(remoting_webapp_js_test_common_files)', | 291 '<@(remoting_webapp_js_test_common_files)', |
| 299 '<@(remoting_webapp_js_browser_test_files)', | 292 '<@(remoting_webapp_js_browser_test_files)', |
| 300 ], | 293 ], |
| 301 }, | 294 }, |
| 302 ], #end of copies | 295 ], # end of copies |
| 303 }, # end of target 'remoting_browser_test_resources' | 296 }, # end of target 'remoting_browser_test_resources' |
| 304 { | 297 { |
| 305 'target_name': 'remoting_webapp_unittest', | 298 'target_name': 'remoting_webapp_unittest', |
| 306 'type': 'none', | 299 'type': 'none', |
| 307 'variables': { | 300 'variables': { |
| 308 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', | 301 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', |
| 309 'webapp_js_files': [ | 302 'webapp_js_files': [ |
| 310 '<@(remoting_webapp_shared_main_html_js_files)', | 303 '<@(remoting_webapp_shared_main_html_js_files)', |
| 311 '<@(remoting_webapp_js_wcs_sandbox_files)', | 304 '<@(remoting_webapp_js_wcs_sandbox_files)', |
| 312 '<@(remoting_webapp_background_js_files)', | 305 '<@(remoting_webapp_background_js_files)', |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 # arguments. Therefore, the excludejs flag must be set before the | 359 # arguments. Therefore, the excludejs flag must be set before the |
| 367 # instrumentedjs flag or else GYP will ignore the files in the | 360 # instrumentedjs flag or else GYP will ignore the files in the |
| 368 # exclude list. | 361 # exclude list. |
| 369 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', | 362 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', |
| 370 '--js', '<@(remoting_webapp_unittest_js_files)', | 363 '--js', '<@(remoting_webapp_unittest_js_files)', |
| 371 '<@(remoting_webapp_js_test_common_files)', | 364 '<@(remoting_webapp_js_test_common_files)', |
| 372 '--instrument-js', '<@(webapp_js_files)', | 365 '--instrument-js', '<@(webapp_js_files)', |
| 373 ], | 366 ], |
| 374 }, | 367 }, |
| 375 ], | 368 ], |
| 376 }, # end of target 'remoting_webapp_js_unittest' | 369 }, # end of target 'remoting_webapp_unittest' |
| 377 ], # end of targets | 370 ], # end of targets |
| 378 | 371 |
| 379 'conditions': [ | 372 'conditions': [ |
| 380 ['enable_remoting_host==1', { | 373 ['enable_remoting_host==1', { |
| 381 'targets': [ | 374 'targets': [ |
| 382 # Remoting performance tests | 375 # Remoting performance tests |
| 383 { | 376 { |
| 384 'target_name': 'remoting_perftests', | 377 'target_name': 'remoting_perftests', |
| 385 'type': '<(gtest_target_type)', | 378 'type': '<(gtest_target_type)', |
| 386 'dependencies': [ | 379 'dependencies': [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 'dependencies': [ | 415 'dependencies': [ |
| 423 '../base/allocator/allocator.gyp:allocator', | 416 '../base/allocator/allocator.gyp:allocator', |
| 424 ], | 417 ], |
| 425 }], | 418 }], |
| 426 ], # end of 'conditions' | 419 ], # end of 'conditions' |
| 427 }, # end of target 'remoting_perftests' | 420 }, # end of target 'remoting_perftests' |
| 428 ] | 421 ] |
| 429 }] | 422 }] |
| 430 ] | 423 ] |
| 431 } | 424 } |
| OLD | NEW |