OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//services/service_manager/public/service_manifest.gni") | 5 import("//services/service_manager/public/service_manifest.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 group("tests") { | 8 group("tests") { |
9 testonly = true | 9 testonly = true |
10 deps = [ | 10 deps = [ |
11 ":preferences_unittests", | 11 ":preferences_unittests", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 service_manifest("manifest") { | 15 service_manifest("manifest") { |
16 name = "preferences2" | 16 name = "preferences2" |
17 source = "manifest.json" | 17 source = "manifest.json" |
18 } | 18 } |
19 | 19 |
20 source_set("preferences") { | 20 source_set("preferences") { |
21 public_deps = [ | 21 public_deps = [ |
22 "//services/preferences/public/interfaces", | 22 "//services/preferences/public/interfaces", |
23 ] | 23 ] |
24 deps = [ | 24 deps = [ |
25 "//components/prefs", | 25 "//components/prefs", |
26 ] | 26 ] |
27 sources = [ | 27 sources = [ |
| 28 "persistent_pref_store_factory.cc", |
| 29 "persistent_pref_store_factory.h", |
28 "persistent_pref_store_impl.cc", | 30 "persistent_pref_store_impl.cc", |
29 "persistent_pref_store_impl.h", | 31 "persistent_pref_store_impl.h", |
30 ] | 32 ] |
31 } | 33 } |
32 | 34 |
33 test("preferences_unittests") { | 35 test("preferences_unittests") { |
34 deps = [ | 36 deps = [ |
35 ":preferences", | 37 ":preferences", |
36 "//base", | 38 "//base", |
37 "//base/test:test_support", | 39 "//base/test:test_support", |
38 "//components/prefs:test_support", | 40 "//components/prefs:test_support", |
39 "//mojo/edk/test:run_all_unittests", | 41 "//mojo/edk/test:run_all_unittests", |
40 "//mojo/public/cpp/bindings:bindings", | 42 "//mojo/public/cpp/bindings:bindings", |
41 "//services/preferences/public/cpp", | 43 "//services/preferences/public/cpp", |
42 "//services/preferences/public/cpp/tests", | 44 "//services/preferences/public/cpp/tests", |
43 "//services/preferences/public/interfaces", | 45 "//services/preferences/public/interfaces", |
44 "//testing/gmock", | 46 "//testing/gmock", |
45 "//testing/gtest", | 47 "//testing/gtest", |
46 ] | 48 ] |
47 sources = [ | 49 sources = [ |
48 "persistent_pref_store_impl_unittest.cc", | 50 "persistent_pref_store_impl_unittest.cc", |
49 ] | 51 ] |
50 } | 52 } |
OLD | NEW |