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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 'destination': '<(output_dir)/sinonjs', | 320 'destination': '<(output_dir)/sinonjs', |
321 'files': [ | 321 'files': [ |
322 '../third_party/sinonjs/src/sinon.js', | 322 '../third_party/sinonjs/src/sinon.js', |
323 '../third_party/sinonjs/src/sinon-qunit.js', | 323 '../third_party/sinonjs/src/sinon-qunit.js', |
324 ], | 324 ], |
325 }, | 325 }, |
326 { | 326 { |
327 'destination': '<(output_dir)', | 327 'destination': '<(output_dir)', |
328 'files': [ | 328 'files': [ |
329 '<@(webapp_js_files)', | 329 '<@(webapp_js_files)', |
330 '<@(remoting_webapp_unittest_cases)', | 330 '<@(remoting_webapp_unittest_js_files)', |
331 '<@(remoting_webapp_unittest_additional_files)' | 331 '<@(remoting_webapp_unittest_additional_files)' |
332 ], | 332 ], |
333 }, | 333 }, |
334 ], | 334 ], |
335 'actions': [ | 335 'actions': [ |
336 { | 336 { |
337 'action_name': 'Build Remoting Webapp unittest.html', | 337 'action_name': 'Build Remoting Webapp unittest.html', |
338 'inputs': [ | 338 'inputs': [ |
339 'webapp/build-html.py', | 339 'webapp/build-html.py', |
340 '<(remoting_webapp_unittest_template_main)', | 340 '<(remoting_webapp_unittest_template_main)', |
341 '<@(webapp_js_files)', | 341 '<@(webapp_js_files)', |
342 '<@(remoting_webapp_unittest_cases)' | 342 '<@(remoting_webapp_unittest_js_files)' |
343 ], | 343 ], |
344 'outputs': [ | 344 'outputs': [ |
345 '<(output_dir)/unittest.html', | 345 '<(output_dir)/unittest.html', |
346 ], | 346 ], |
347 'action': [ | 347 'action': [ |
348 'python', 'webapp/build-html.py', | 348 'python', 'webapp/build-html.py', |
349 '<@(_outputs)', | 349 '<@(_outputs)', |
350 '<(remoting_webapp_unittest_template_main)', | 350 '<(remoting_webapp_unittest_template_main)', |
351 # GYP automatically removes subsequent duplicated command line | 351 # GYP automatically removes subsequent duplicated command line |
352 # arguments. Therefore, the excludejs flag must be set before the | 352 # arguments. Therefore, the excludejs flag must be set before the |
353 # instrumentedjs flag or else GYP will ignore the files in the | 353 # instrumentedjs flag or else GYP will ignore the files in the |
354 # exclude list. | 354 # exclude list. |
355 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', | 355 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', |
356 '--js', '<@(remoting_webapp_unittest_cases)', | 356 '--js', '<@(remoting_webapp_unittest_js_files)', |
357 '--instrument-js', '<@(webapp_js_files)', | 357 '--instrument-js', '<@(webapp_js_files)', |
358 ], | 358 ], |
359 }, | 359 }, |
360 ], | 360 ], |
361 }, # end of target 'remoting_webapp_js_unittest' | 361 }, # end of target 'remoting_webapp_js_unittest' |
362 ], # end of targets | 362 ], # end of targets |
363 | 363 |
364 'conditions': [ | 364 'conditions': [ |
365 ['enable_remoting_host==1', { | 365 ['enable_remoting_host==1', { |
366 'targets': [ | 366 'targets': [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 'dependencies': [ | 407 'dependencies': [ |
408 '../base/allocator/allocator.gyp:allocator', | 408 '../base/allocator/allocator.gyp:allocator', |
409 ], | 409 ], |
410 }], | 410 }], |
411 ], # end of 'conditions' | 411 ], # end of 'conditions' |
412 }, # end of target 'remoting_perftests' | 412 }, # end of target 'remoting_perftests' |
413 ] | 413 ] |
414 }] | 414 }] |
415 ] | 415 ] |
416 } | 416 } |
OLD | NEW |