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

Side by Side Diff: base/base.gyp

Issue 11879023: base: Add a couple Pref unit tests to base_unittests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move json_pref_store_unittest.cc back to unit_tests - ios_dbg_simulator is not happy with it Created 7 years, 11 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 | chrome/chrome_tests_unit.gypi » ('j') | chrome/chrome_tests_unit.gypi » ('J')
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 'prefs/public/pref_change_registrar.cc', 347 'prefs/public/pref_change_registrar.cc',
348 'prefs/public/pref_change_registrar.h', 348 'prefs/public/pref_change_registrar.h',
349 'prefs/public/pref_member.cc', 349 'prefs/public/pref_member.cc',
350 'prefs/public/pref_member.h', 350 'prefs/public/pref_member.h',
351 'prefs/public/pref_service_base.h', 351 'prefs/public/pref_service_base.h',
352 'prefs/value_map_pref_store.cc', 352 'prefs/value_map_pref_store.cc',
353 'prefs/value_map_pref_store.h', 353 'prefs/value_map_pref_store.h',
354 ], 354 ],
355 }, 355 },
356 { 356 {
357 'target_name': 'base_prefs_test_support',
358 'type': 'static_library',
359 'dependencies': [
360 'base',
361 'base_prefs',
362 '../testing/gmock.gyp:gmock',
363 ],
364 'sources': [
365 'prefs/pref_store_observer_mock.cc',
366 'prefs/pref_store_observer_mock.h',
367 'prefs/testing_pref_store.cc',
368 'prefs/testing_pref_store.h',
369 ],
370 },
371 {
357 # This is the subset of files from base that should not be used with a 372 # This is the subset of files from base that should not be used with a
358 # dynamic library. Note that this library cannot depend on base because 373 # dynamic library. Note that this library cannot depend on base because
359 # base depends on base_static. 374 # base depends on base_static.
360 'target_name': 'base_static', 375 'target_name': 'base_static',
361 'type': 'static_library', 376 'type': 'static_library',
362 'variables': { 377 'variables': {
363 'enable_wexit_time_destructors': 1, 378 'enable_wexit_time_destructors': 1,
364 'optimize': 'max', 379 'optimize': 'max',
365 }, 380 },
366 'toolsets': ['host', 'target'], 381 'toolsets': ['host', 'target'],
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 'metrics/sparse_histogram_unittest.cc', 527 'metrics/sparse_histogram_unittest.cc',
513 'metrics/stats_table_unittest.cc', 528 'metrics/stats_table_unittest.cc',
514 'metrics/statistics_recorder_unittest.cc', 529 'metrics/statistics_recorder_unittest.cc',
515 'observer_list_unittest.cc', 530 'observer_list_unittest.cc',
516 'os_compat_android_unittest.cc', 531 'os_compat_android_unittest.cc',
517 'path_service_unittest.cc', 532 'path_service_unittest.cc',
518 'pickle_unittest.cc', 533 'pickle_unittest.cc',
519 'platform_file_unittest.cc', 534 'platform_file_unittest.cc',
520 'posix/file_descriptor_shuffle_unittest.cc', 535 'posix/file_descriptor_shuffle_unittest.cc',
521 'pr_time_unittest.cc', 536 'pr_time_unittest.cc',
537 'prefs/overlay_user_pref_store_unittest.cc',
538 'prefs/pref_value_map_unittest.cc',
522 'process_util_unittest.cc', 539 'process_util_unittest.cc',
523 'process_util_unittest_ios.cc', 540 'process_util_unittest_ios.cc',
524 'process_util_unittest_mac.h', 541 'process_util_unittest_mac.h',
525 'process_util_unittest_mac.mm', 542 'process_util_unittest_mac.mm',
526 'profiler/tracked_time_unittest.cc', 543 'profiler/tracked_time_unittest.cc',
527 'rand_util_unittest.cc', 544 'rand_util_unittest.cc',
528 'scoped_native_library_unittest.cc', 545 'scoped_native_library_unittest.cc',
529 'scoped_observer.h', 546 'scoped_observer.h',
530 'sequence_checker_unittest.cc', 547 'sequence_checker_unittest.cc',
531 'sequence_checker_impl_unittest.cc', 548 'sequence_checker_impl_unittest.cc',
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 'win/scoped_process_information_unittest.cc', 611 'win/scoped_process_information_unittest.cc',
595 'win/shortcut_unittest.cc', 612 'win/shortcut_unittest.cc',
596 'win/startup_information_unittest.cc', 613 'win/startup_information_unittest.cc',
597 'win/scoped_variant_unittest.cc', 614 'win/scoped_variant_unittest.cc',
598 'win/win_util_unittest.cc', 615 'win/win_util_unittest.cc',
599 'win/wrapped_window_proc_unittest.cc', 616 'win/wrapped_window_proc_unittest.cc',
600 ], 617 ],
601 'dependencies': [ 618 'dependencies': [
602 'base', 619 'base',
603 'base_i18n', 620 'base_i18n',
621 'base_prefs_test_support',
604 'base_static', 622 'base_static',
605 'run_all_unittests', 623 'run_all_unittests',
606 'test_support_base', 624 'test_support_base',
607 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 625 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
608 '../testing/gmock.gyp:gmock', 626 '../testing/gmock.gyp:gmock',
609 '../testing/gtest.gyp:gtest', 627 '../testing/gtest.gyp:gtest',
610 '../third_party/icu/icu.gyp:icui18n', 628 '../third_party/icu/icu.gyp:icui18n',
611 '../third_party/icu/icu.gyp:icuuc', 629 '../third_party/icu/icu.gyp:icuuc',
612 ], 630 ],
613 'includes': ['../build/nocompile.gypi'], 631 'includes': ['../build/nocompile.gypi'],
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 'base_unittests.isolate', 1156 'base_unittests.isolate',
1139 ], 1157 ],
1140 'sources': [ 1158 'sources': [
1141 'base_unittests.isolate', 1159 'base_unittests.isolate',
1142 ], 1160 ],
1143 }, 1161 },
1144 ], 1162 ],
1145 }], 1163 }],
1146 ], 1164 ],
1147 } 1165 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | chrome/chrome_tests_unit.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698