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/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/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 group("catalog") { | 9 group("catalog") { |
10 testonly = true | 10 testonly = true |
11 deps = [ | 11 deps = [ |
12 ":lib", | 12 ":lib", |
13 ] | 13 ] |
14 } | 14 } |
15 | 15 |
16 source_set("lib") { | 16 source_set("lib") { |
(...skipping 11 matching lines...) Expand all Loading... |
28 "reader.h", | 28 "reader.h", |
29 "store.cc", | 29 "store.cc", |
30 "store.h", | 30 "store.h", |
31 "types.h", | 31 "types.h", |
32 ] | 32 ] |
33 | 33 |
34 deps = [ | 34 deps = [ |
35 "//base", | 35 "//base", |
36 "//components/filesystem:lib", | 36 "//components/filesystem:lib", |
37 "//services/catalog/public/interfaces", | 37 "//services/catalog/public/interfaces", |
38 "//services/shell/public/cpp", | 38 "//services/service_manager/public/cpp", |
39 ] | 39 ] |
40 | 40 |
41 public_deps = [ | 41 public_deps = [ |
42 # directory.mojom.h is #included by catalog.h | 42 # directory.mojom.h is #included by catalog.h |
43 "//components/filesystem/public/interfaces", | 43 "//components/filesystem/public/interfaces", |
44 ] | 44 ] |
45 | 45 |
46 data_deps = [ | 46 data_deps = [ |
47 ":manifest", | 47 ":manifest", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 service_manifest("manifest") { | 51 service_manifest("manifest") { |
52 name = "catalog" | 52 name = "catalog" |
53 source = "manifest.json" | 53 source = "manifest.json" |
54 } | 54 } |
55 | 55 |
56 source_set("unittests") { | 56 source_set("unittests") { |
57 testonly = true | 57 testonly = true |
58 sources = [ | 58 sources = [ |
59 "entry_unittest.cc", | 59 "entry_unittest.cc", |
60 ] | 60 ] |
61 data = [ | 61 data = [ |
62 "//services/catalog/data/", | 62 "//services/catalog/data/", |
63 ] | 63 ] |
64 deps = [ | 64 deps = [ |
65 ":lib", | 65 ":lib", |
66 "//base", | 66 "//base", |
67 "//services/shell/public/cpp", | 67 "//services/service_manager/public/cpp", |
68 "//testing/gtest", | 68 "//testing/gtest", |
69 ] | 69 ] |
70 } | 70 } |
OLD | NEW |