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/catalog/public/tools/catalog.gni") | 5 import("//services/catalog/public/tools/catalog.gni") |
6 import("//services/service_manager/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 service_manifest("manifest") { | 9 service_manifest("manifest") { |
10 name = "preferences" | 10 name = "preferences" |
(...skipping 26 matching lines...) Expand all Loading... |
37 deps = [ | 37 deps = [ |
38 ":preferences", | 38 ":preferences", |
39 "//base", | 39 "//base", |
40 "//base/test:test_support", | 40 "//base/test:test_support", |
41 "//components/prefs:test_support", | 41 "//components/prefs:test_support", |
42 "//mojo/public/cpp/bindings:bindings", | 42 "//mojo/public/cpp/bindings:bindings", |
43 "//services/preferences/public/cpp", | 43 "//services/preferences/public/cpp", |
44 "//services/preferences/public/cpp:service_main", | 44 "//services/preferences/public/cpp:service_main", |
45 "//services/preferences/public/cpp/tests", | 45 "//services/preferences/public/cpp/tests", |
46 "//services/preferences/public/interfaces", | 46 "//services/preferences/public/interfaces", |
| 47 "//services/preferences/tracked:unit_tests", |
47 "//services/service_manager/public/cpp", | 48 "//services/service_manager/public/cpp", |
48 "//testing/gmock", | 49 "//testing/gmock", |
49 "//testing/gtest", | 50 "//testing/gtest", |
50 ] | 51 ] |
51 sources = [ | 52 sources = [ |
52 "persistent_pref_store_impl_unittest.cc", | 53 "persistent_pref_store_impl_unittest.cc", |
53 ] | 54 ] |
54 if (!is_ios) { | 55 if (!is_ios) { |
55 sources += [ "pref_service_factory_unittest.cc" ] | 56 sources += [ "pref_service_factory_unittest.cc" ] |
56 deps += [ "//services/service_manager/public/cpp:service_test_support" ] | 57 deps += [ "//services/service_manager/public/cpp:service_test_support" ] |
57 } | 58 } |
58 } | 59 } |
59 | 60 |
60 service_manifest("unittest_manifest") { | 61 service_manifest("unittest_manifest") { |
61 name = "prefs_unittests" | 62 name = "prefs_unittests" |
62 source = "unittest_manifest.json" | 63 source = "unittest_manifest.json" |
63 packaged_services = [ ":manifest" ] | 64 packaged_services = [ ":manifest" ] |
64 } | 65 } |
65 | 66 |
66 catalog("tests_catalog") { | 67 catalog("tests_catalog") { |
67 testonly = true | 68 testonly = true |
68 embedded_services = [ ":unittest_manifest" ] | 69 embedded_services = [ ":unittest_manifest" ] |
69 } | 70 } |
OLD | NEW |