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

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: Add unit test, fix absolute path 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 'test/test_timeouts.h', 433 'test/test_timeouts.h',
434 'test/thread_test_helper.cc', 434 'test/thread_test_helper.cc',
435 'test/thread_test_helper.h', 435 'test/thread_test_helper.h',
436 'test/trace_event_analyzer.cc', 436 'test/trace_event_analyzer.cc',
437 'test/trace_event_analyzer.h', 437 'test/trace_event_analyzer.h',
438 'test/values_test_util.cc', 438 'test/values_test_util.cc',
439 'test/values_test_util.h', 439 'test/values_test_util.h',
440 ], 440 ],
441 }, 441 },
442 { 442 {
443 'target_name': 'base_unittests_run',
444 'type': 'none',
445 'dependencies': [
446 'base_unittests',
447 ],
448 'actions': [
449 {
450 'action_name': 'isolate',
451 'inputs': [
452 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
453 'data/file_util_unittest/',
Mark Mentovai 2012/03/06 22:05:02 Specifying a directory as an input is undefined. W
M-A Ruel 2012/03/06 22:19:51 For now, I don't list each files in the test data
454 ],
455 'conditions': [
456 ['OS != "mac" and OS != "win"', {
457 'inputs': [
458 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
459 ],
460 }],
461 ['OS == "win"', {
462 'inputs': [
463 'data/file_version_info_unittest/FileVersionInfoTest1.dll',
464 'data/file_version_info_unittest/FileVersionInfoTest2.dll',
465 ],
466 }],
467 ],
468 'outputs': [
469 '<(PRODUCT_DIR)/base_unittests.results',
470 ],
471 'action': [
472 'python',
473 '<(DEPTH)/tools/isolate/isolate.py',
474 '--mode=<(tests_run)',
475 '--root', '<(DEPTH)',
476 '--result', '<@(_outputs)',
477 '<@(_inputs)',
478 ],
479 },
480 ],
481 },
482 {
443 'target_name': 'test_support_perf', 483 'target_name': 'test_support_perf',
444 'type': 'static_library', 484 'type': 'static_library',
445 'dependencies': [ 485 'dependencies': [
446 'base', 486 'base',
447 '../testing/gtest.gyp:gtest', 487 '../testing/gtest.gyp:gtest',
448 ], 488 ],
449 'sources': [ 489 'sources': [
450 'perftimer.cc', 490 'perftimer.cc',
451 'test/run_all_perftests.cc', 491 'test/run_all_perftests.cc',
452 ], 492 ],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 # treated as weak imports in dependents, who still must 583 # treated as weak imports in dependents, who still must
544 # #include closure_blocks_leopard_compat.h to get weak imports. 584 # #include closure_blocks_leopard_compat.h to get weak imports.
545 'type': 'none', 585 'type': 'none',
546 }], 586 }],
547 ], 587 ],
548 }, 588 },
549 ], 589 ],
550 }], 590 }],
551 ], 591 ],
552 } 592 }
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