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

Unified Diff: services/preferences/BUILD.gn

Issue 2743563003: Pref service: add persistent pref store frontend and backend. (Closed)
Patch Set: rebase Created 3 years, 9 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 | services/preferences/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/preferences/BUILD.gn
diff --git a/services/preferences/BUILD.gn b/services/preferences/BUILD.gn
index 58a2d4ae1ced20fdc57c76f449e189d30b3a8f1e..07105a5677afda24e27519a3ab81de25402d7a23 100644
--- a/services/preferences/BUILD.gn
+++ b/services/preferences/BUILD.gn
@@ -3,11 +3,12 @@
# found in the LICENSE file.
import("//services/service_manager/public/service_manifest.gni")
+import("//testing/test.gni")
group("tests") {
testonly = true
deps = [
- "//services/preferences/public/cpp/tests",
+ ":preferences_unittests",
]
}
@@ -15,3 +16,35 @@ service_manifest("manifest") {
name = "preferences2"
source = "manifest.json"
}
+
+source_set("preferences") {
+ public_deps = [
+ "//services/preferences/public/interfaces",
+ ]
+ deps = [
+ "//components/prefs",
+ ]
+ sources = [
+ "persistent_pref_store_impl.cc",
+ "persistent_pref_store_impl.h",
+ ]
+}
+
+test("preferences_unittests") {
+ deps = [
+ ":preferences",
+ "//base",
+ "//base/test:test_support",
+ "//components/prefs:test_support",
+ "//mojo/edk/test:run_all_unittests",
+ "//mojo/public/cpp/bindings:bindings",
+ "//services/preferences/public/cpp",
+ "//services/preferences/public/cpp/tests",
+ "//services/preferences/public/interfaces",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ sources = [
+ "persistent_pref_store_impl_unittest.cc",
+ ]
+}
« no previous file with comments | « no previous file | services/preferences/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698