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

Side by Side Diff: base/base.gyp

Issue 159791: Move test_file_util out of libbase. Test code should not be mixed with production code. (Closed)
Patch Set: Created 11 years, 4 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 | chrome/chrome.gyp » ('j') | chrome/chrome.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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/common.gypi', 10 '../build/common.gypi',
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 'sys_info_win.cc', 290 'sys_info_win.cc',
291 'sys_string_conversions.h', 291 'sys_string_conversions.h',
292 'sys_string_conversions_linux.cc', 292 'sys_string_conversions_linux.cc',
293 'sys_string_conversions_mac.mm', 293 'sys_string_conversions_mac.mm',
294 'sys_string_conversions_win.cc', 294 'sys_string_conversions_win.cc',
295 'system_monitor.cc', 295 'system_monitor.cc',
296 'system_monitor.h', 296 'system_monitor.h',
297 'system_monitor_posix.cc', 297 'system_monitor_posix.cc',
298 'system_monitor_win.cc', 298 'system_monitor_win.cc',
299 'task.h', 299 'task.h',
300 'test_file_util.h',
301 'test_file_util_linux.cc',
302 'test_file_util_mac.cc',
303 'test_file_util_posix.cc',
304 'test_file_util_win.cc',
305 'thread.cc', 300 'thread.cc',
306 'thread.h', 301 'thread.h',
307 'thread_collision_warner.cc', 302 'thread_collision_warner.cc',
308 'thread_collision_warner.h', 303 'thread_collision_warner.h',
309 'thread_local.h', 304 'thread_local.h',
310 'thread_local_posix.cc', 305 'thread_local_posix.cc',
311 'thread_local_storage.h', 306 'thread_local_storage.h',
312 'thread_local_storage_posix.cc', 307 'thread_local_storage_posix.cc',
313 'thread_local_storage_win.cc', 308 'thread_local_storage_win.cc',
314 'thread_local_win.cc', 309 'thread_local_win.cc',
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 'wmi_util_unittest.cc', 687 'wmi_util_unittest.cc',
693 ], 688 ],
694 }], 689 }],
695 ], 690 ],
696 }, 691 },
697 { 692 {
698 'target_name': 'test_support_base', 693 'target_name': 'test_support_base',
699 'type': '<(library)', 694 'type': '<(library)',
700 'dependencies': [ 695 'dependencies': [
701 'base', 696 'base',
697 ],
698 'sources': [
699 'test_file_util.h',
700 'test_file_util_linux.cc',
701 'test_file_util_mac.cc',
702 'test_file_util_posix.cc',
703 'test_file_util_win.cc',
704 ],
705 'conditions': [
706 [ 'OS == "linux"', {
707 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'],
708 ['exclude', '\\.mm?$' ] ],
709 'conditions': [
710 [ 'chromeos==1', {
711 'sources/': [ ['include', '_chromeos\\.cc$'] ]
712 },
713 ],
714 ],
715 },
716 ],
717 [ 'OS == "mac"', {
718 'sources/': [ ['exclude', '_(linux|win|chromeos)\\.cc$'] ],
719 },
720 ],
721 [ 'OS == "win"', {
722 'sources/': [ ['exclude', '_(linux|mac|posix|chromeos)\\.cc$'],
723 ['exclude', '\\.mm?$' ] ],
724 },
725 ],
726 ],
727 },
728 {
729 'target_name': 'test_support_perf',
730 'type': '<(library)',
731 'dependencies': [
732 'base',
702 '../testing/gtest.gyp:gtest', 733 '../testing/gtest.gyp:gtest',
703 ], 734 ],
704 'sources': [ 735 'sources': [
705 'perftimer.cc', 736 'perftimer.cc',
706 'run_all_perftests.cc', 737 'run_all_perftests.cc',
707 ], 738 ],
708 'direct_dependent_settings': { 739 'direct_dependent_settings': {
709 'defines': [ 740 'defines': [
710 'PERF_TEST', 741 'PERF_TEST',
711 ], 742 ],
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 '<@(_outputs)', 825 '<@(_outputs)',
795 ], 826 ],
796 'message': 'Generating version information', 827 'message': 'Generating version information',
797 }, 828 },
798 ], 829 ],
799 }, 830 },
800 ], 831 ],
801 }], 832 }],
802 ], 833 ],
803 } 834 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | chrome/chrome.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698