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 # GN version: //remoting:test_support | 8 # GN version: //remoting:test_support |
9 'target_name': 'remoting_test_common', | 9 'target_name': 'remoting_test_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 'copies': [ | 328 'copies': [ |
329 { | 329 { |
330 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', | 330 'destination': '<(PRODUCT_DIR)/remoting/browser_test_resources', |
331 'files': [ | 331 'files': [ |
332 '<@(remoting_webapp_browsertest_all_js_files)', | 332 '<@(remoting_webapp_browsertest_all_js_files)', |
333 ], | 333 ], |
334 }, | 334 }, |
335 ], # end of copies | 335 ], # end of copies |
336 }, # end of target 'remoting_browser_test_resources' | 336 }, # end of target 'remoting_browser_test_resources' |
337 { | 337 { |
338 'target_name': 'remoting_webapp_unittest', | 338 'target_name': 'remoting_webapp_unittests', |
339 'type': 'none', | 339 'type': 'none', |
340 'variables': { | 340 'variables': { |
341 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', | 341 'output_dir': '<(PRODUCT_DIR)/remoting/unittests', |
342 'webapp_js_files': [ | 342 'webapp_js_files': [ |
343 '<@(remoting_webapp_shared_main_html_js_files)', | 343 '<@(remoting_webapp_shared_main_html_js_files)', |
344 '<@(remoting_webapp_wcs_sandbox_html_js_files)', | 344 '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
345 '<@(remoting_webapp_background_html_js_files)', | 345 '<@(remoting_webapp_background_html_js_files)', |
346 ] | 346 ] |
347 }, | 347 }, |
348 'copies': [ | 348 'copies': [ |
(...skipping 16 matching lines...) Expand all Loading... |
365 'destination': '<(output_dir)/sinonjs', | 365 'destination': '<(output_dir)/sinonjs', |
366 'files': [ | 366 'files': [ |
367 '../third_party/sinonjs/src/sinon.js', | 367 '../third_party/sinonjs/src/sinon.js', |
368 '../third_party/sinonjs/src/sinon-qunit.js', | 368 '../third_party/sinonjs/src/sinon-qunit.js', |
369 ], | 369 ], |
370 }, | 370 }, |
371 { | 371 { |
372 'destination': '<(output_dir)', | 372 'destination': '<(output_dir)', |
373 'files': [ | 373 'files': [ |
374 '<@(webapp_js_files)', | 374 '<@(webapp_js_files)', |
375 '<@(remoting_webapp_unittest_all_files)', | 375 '<@(remoting_webapp_unittests_all_files)', |
376 ], | 376 ], |
377 }, | 377 }, |
378 ], | 378 ], |
379 'actions': [ | 379 'actions': [ |
380 { | 380 { |
381 'action_name': 'Build Remoting Webapp unittest.html', | 381 'action_name': 'Build Remoting Webapp unittests.html', |
382 'inputs': [ | 382 'inputs': [ |
383 'webapp/build-html.py', | 383 'webapp/build-html.py', |
384 '<(remoting_webapp_unittest_template_main)', | 384 '<(remoting_webapp_unittests_template_main)', |
385 '<@(webapp_js_files)', | 385 '<@(webapp_js_files)', |
386 '<@(remoting_webapp_unittest_all_js_files)' | 386 '<@(remoting_webapp_unittests_all_js_files)' |
387 ], | 387 ], |
388 'outputs': [ | 388 'outputs': [ |
389 '<(output_dir)/unittest.html', | 389 '<(output_dir)/unittests.html', |
390 ], | 390 ], |
391 'action': [ | 391 'action': [ |
392 'python', 'webapp/build-html.py', | 392 'python', 'webapp/build-html.py', |
393 '<@(_outputs)', | 393 '<@(_outputs)', |
394 '<(remoting_webapp_unittest_template_main)', | 394 '<(remoting_webapp_unittests_template_main)', |
395 # GYP automatically removes subsequent duplicated command line | 395 # GYP automatically removes subsequent duplicated command line |
396 # arguments. Therefore, the excludejs flag must be set before the | 396 # arguments. Therefore, the excludejs flag must be set before the |
397 # instrumentedjs flag or else GYP will ignore the files in the | 397 # instrumentedjs flag or else GYP will ignore the files in the |
398 # exclude list. | 398 # exclude list. |
399 '--exclude-js', '<@(remoting_webapp_unittest_exclude_js_files)', | 399 '--exclude-js', '<@(remoting_webapp_unittests_exclude_js_files)', |
400 '--js', '<@(remoting_webapp_unittest_all_js_files)', | 400 '--js', '<@(remoting_webapp_unittests_all_js_files)', |
401 '--instrument-js', '<@(webapp_js_files)', | 401 '--instrument-js', '<@(webapp_js_files)', |
402 ], | 402 ], |
403 }, | 403 }, |
404 ], | 404 ], |
405 }, # end of target 'remoting_webapp_unittest' | 405 }, # end of target 'remoting_webapp_unittest' |
406 ], # end of targets | 406 ], # end of targets |
407 | 407 |
408 'conditions': [ | 408 'conditions': [ |
409 ['enable_remoting_host==1', { | 409 ['enable_remoting_host==1', { |
410 'targets': [ | 410 'targets': [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 'dependencies': [ | 451 'dependencies': [ |
452 '../base/allocator/allocator.gyp:allocator', | 452 '../base/allocator/allocator.gyp:allocator', |
453 ], | 453 ], |
454 }], | 454 }], |
455 ], # end of 'conditions' | 455 ], # end of 'conditions' |
456 }, # end of target 'remoting_perftests' | 456 }, # end of target 'remoting_perftests' |
457 ] | 457 ] |
458 }] | 458 }] |
459 ] | 459 ] |
460 } | 460 } |
OLD | NEW |