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

Side by Side Diff: base/base.gyp

Issue 10790008: Adds a way to specify test data files for unittests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use <(DEPTH). Created 8 years, 5 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
« no previous file with comments | « no previous file | base/base_paths_mac.mm » ('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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 # get a minimal target building. 574 # get a minimal target building.
575 ['exclude', '^memory/aligned_memory_unittest\\.cc$'], 575 ['exclude', '^memory/aligned_memory_unittest\\.cc$'],
576 ['exclude', '^shared_memory_unittest\\.cc$'], 576 ['exclude', '^shared_memory_unittest\\.cc$'],
577 ['exclude', '^sys_info_unittest\\.cc$'], 577 ['exclude', '^sys_info_unittest\\.cc$'],
578 ['exclude', '^system_monitor'], 578 ['exclude', '^system_monitor'],
579 # Unittests that don't pass. 579 # Unittests that don't pass.
580 ['exclude', '^message_loop_unittest\\.cc$'], 580 ['exclude', '^message_loop_unittest\\.cc$'],
581 ['exclude', '^synchronization/waitable_event_watcher_unittest\\.cc$' ], 581 ['exclude', '^synchronization/waitable_event_watcher_unittest\\.cc$' ],
582 ['exclude', '^timer_unittest\\.cc$'], 582 ['exclude', '^timer_unittest\\.cc$'],
583 ], 583 ],
584 'actions': [
585 {
586 'action_name': 'copy_test_data',
587 'variables': {
588 'test_data_files': [
589 'data/json/bom_feff.json',
590 'data/file_util_unittest',
591 ],
592 'test_data_prefix': 'base',
593 },
594 'includes': [ '../build/copy_test_data_ios.gypi' ],
595 },
596 ],
584 }], 597 }],
585 ['use_glib==1', { 598 ['use_glib==1', {
586 'sources!': [ 599 'sources!': [
587 'file_version_info_unittest.cc', 600 'file_version_info_unittest.cc',
588 ], 601 ],
589 'conditions': [ 602 'conditions': [
590 [ 'linux_use_tcmalloc==1', { 603 [ 'linux_use_tcmalloc==1', {
591 'dependencies': [ 604 'dependencies': [
592 'allocator/allocator.gyp:allocator', 605 'allocator/allocator.gyp:allocator',
593 ], 606 ],
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 'test_suite_name': 'base_unittests', 1084 'test_suite_name': 'base_unittests',
1072 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', 1085 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)',
1073 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], 1086 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',],
1074 }, 1087 },
1075 'includes': [ '../build/apk_test.gypi' ], 1088 'includes': [ '../build/apk_test.gypi' ],
1076 }, 1089 },
1077 ], 1090 ],
1078 }], 1091 }],
1079 ], 1092 ],
1080 } 1093 }
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698