Index: services/preferences/BUILD.gn |
diff --git a/services/preferences/BUILD.gn b/services/preferences/BUILD.gn |
index 58a2d4ae1ced20fdc57c76f449e189d30b3a8f1e..d2fa8b636b946acdccc301d826913dc55355c6c3 100644 |
--- a/services/preferences/BUILD.gn |
+++ b/services/preferences/BUILD.gn |
@@ -15,3 +15,33 @@ service_manifest("manifest") { |
name = "preferences2" |
source = "manifest.json" |
} |
+ |
+source_set("preferences") { |
+ public_deps = [ |
+ "//services/preferences/public/interfaces", |
+ ] |
+ deps = [ |
+ "//components/prefs", |
+ "//components/user_prefs/tracked:user_prefs_tracked", |
+ ] |
+ sources = [ |
+ "user_prefs.cc", |
+ "user_prefs.h", |
+ "user_prefs_factory.cc", |
+ "user_prefs_factory.h", |
+ ] |
+} |
+ |
+source_set("test_support") { |
+ testonly = true |
+ deps = [ |
+ ":preferences", |
+ "//services/preferences/public/cpp", |
+ "//services/preferences/public/interfaces", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ ] |
+ sources = [ |
+ "user_prefs_unittest.cc", |
+ ] |
+} |