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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | chrome/chrome_tests_unit.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 08cf7f4dcf2aa251fb14a16e0e128aef642cdcde..7ac446ee578d422ad85287301051f43027d1f981 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -354,6 +354,21 @@
],
},
{
+ 'target_name': 'base_prefs_test_support',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'base',
+ 'base_prefs',
+ '../testing/gmock.gyp:gmock',
+ ],
+ 'sources': [
+ 'prefs/pref_store_observer_mock.cc',
+ 'prefs/pref_store_observer_mock.h',
+ 'prefs/testing_pref_store.cc',
+ 'prefs/testing_pref_store.h',
+ ],
+ },
+ {
# This is the subset of files from base that should not be used with a
# dynamic library. Note that this library cannot depend on base because
# base depends on base_static.
@@ -519,6 +534,8 @@
'platform_file_unittest.cc',
'posix/file_descriptor_shuffle_unittest.cc',
'pr_time_unittest.cc',
+ 'prefs/overlay_user_pref_store_unittest.cc',
+ 'prefs/pref_value_map_unittest.cc',
'process_util_unittest.cc',
'process_util_unittest_ios.cc',
'process_util_unittest_mac.h',
@@ -601,6 +618,7 @@
'dependencies': [
'base',
'base_i18n',
+ 'base_prefs_test_support',
'base_static',
'run_all_unittests',
'test_support_base',
« 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