Index: components/user_prefs.gypi |
diff --git a/components/user_prefs.gypi b/components/user_prefs.gypi |
index a5c62ac56942472100799015eea5601bfb74e8d8..8ecc87366a405046fcea67513c9ce8642b732ee8 100644 |
--- a/components/user_prefs.gypi |
+++ b/components/user_prefs.gypi |
@@ -5,6 +5,27 @@ |
{ |
'targets': [ |
{ |
+ 'target_name': 'pref_registry', |
+ 'type': '<(component)', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../base/base.gyp:base_prefs', |
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ '../ui/base/ui_base.gyp:ui_base', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'defines': [ |
+ 'PREF_REGISTRY_IMPLEMENTATION', |
+ ], |
+ 'sources': [ |
+ 'user_prefs/pref_registry_syncable.cc', |
+ 'user_prefs/pref_registry_syncable.h', |
+ 'user_prefs/pref_registry_export.h', |
+ ], |
+ }, |
+ { |
'target_name': 'user_prefs', |
'type': '<(component)', |
'dependencies': [ |
@@ -21,8 +42,6 @@ |
'USER_PREFS_IMPLEMENTATION', |
], |
'sources': [ |
- 'user_prefs/pref_registry_syncable.cc', |
- 'user_prefs/pref_registry_syncable.h', |
'user_prefs/user_prefs.cc', |
'user_prefs/user_prefs.h', |
'user_prefs/user_prefs_export.h', |