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

Side by Side Diff: base/base.gyp

Issue 9513003: Add target base_unittests_run and tools/isolate/isolate.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove directory from 'inputs' Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 'test/test_timeouts.h', 435 'test/test_timeouts.h',
436 'test/thread_test_helper.cc', 436 'test/thread_test_helper.cc',
437 'test/thread_test_helper.h', 437 'test/thread_test_helper.h',
438 'test/trace_event_analyzer.cc', 438 'test/trace_event_analyzer.cc',
439 'test/trace_event_analyzer.h', 439 'test/trace_event_analyzer.h',
440 'test/values_test_util.cc', 440 'test/values_test_util.cc',
441 'test/values_test_util.h', 441 'test/values_test_util.h',
442 ], 442 ],
443 }, 443 },
444 { 444 {
445 'target_name': 'base_unittests_run',
446 'type': 'none',
447 'dependencies': [
448 'base_unittests',
449 ],
450 'actions': [
451 {
452 'action_name': 'isolate',
453 'inputs': [
454 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
455 ],
456 'conditions': [
457 ['OS != "mac" and OS != "win"', {
458 'inputs': [
459 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
460 ],
461 }],
462 ['OS == "win"', {
463 'inputs': [
464 'data/file_version_info_unittest/FileVersionInfoTest1.dll',
465 'data/file_version_info_unittest/FileVersionInfoTest2.dll',
466 ],
467 }],
468 ],
469 'outputs': [
470 '<(PRODUCT_DIR)/base_unittests.results',
471 ],
472 'action': [
473 'python',
474 '<(DEPTH)/tools/isolate/isolate.py',
475 '--mode=<(tests_run)',
476 '--root', '<(DEPTH)',
477 '--result', '<@(_outputs)',
478 '<@(_inputs)',
479 # Directories can't be tracked by build tools (make, msbuild, xcode,
480 # etc) so we just put it on the command line without specifying it
481 # as an input.
482 # TODO(maruel): Revisit the support for this at all and list each
483 # individual test files instead.
484 'data/file_util_unittest/',
485 ],
486 },
487 ],
488 },
489 {
445 'target_name': 'test_support_perf', 490 'target_name': 'test_support_perf',
446 'type': 'static_library', 491 'type': 'static_library',
447 'dependencies': [ 492 'dependencies': [
448 'base', 493 'base',
449 '../testing/gtest.gyp:gtest', 494 '../testing/gtest.gyp:gtest',
450 ], 495 ],
451 'sources': [ 496 'sources': [
452 'perftimer.cc', 497 'perftimer.cc',
453 'test/run_all_perftests.cc', 498 'test/run_all_perftests.cc',
454 ], 499 ],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 # treated as weak imports in dependents, who still must 590 # treated as weak imports in dependents, who still must
546 # #include closure_blocks_leopard_compat.h to get weak imports. 591 # #include closure_blocks_leopard_compat.h to get weak imports.
547 'type': 'none', 592 'type': 'none',
548 }], 593 }],
549 ], 594 ],
550 }, 595 },
551 ], 596 ],
552 }], 597 }],
553 ], 598 ],
554 } 599 }
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698