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/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.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 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("constants") { |
| 17 sources = [ |
| 18 "store.cc", |
| 19 "store.h", |
| 20 ] |
| 21 } |
| 22 |
16 source_set("lib") { | 23 source_set("lib") { |
17 sources = [ | 24 sources = [ |
18 "catalog.cc", | 25 "catalog.cc", |
19 "catalog.h", | 26 "catalog.h", |
20 "constants.cc", | 27 "constants.cc", |
21 "constants.h", | 28 "constants.h", |
22 "entry.cc", | 29 "entry.cc", |
23 "entry.h", | 30 "entry.h", |
24 "entry_cache.cc", | 31 "entry_cache.cc", |
25 "entry_cache.h", | 32 "entry_cache.h", |
26 "instance.cc", | 33 "instance.cc", |
27 "instance.h", | 34 "instance.h", |
28 "manifest_provider.h", | 35 "manifest_provider.h", |
29 "store.cc", | |
30 "store.h", | |
31 ] | 36 ] |
32 | 37 |
33 deps = [ | 38 deps = [ |
| 39 ":constants", |
34 "//base", | 40 "//base", |
35 "//components/filesystem:lib", | 41 "//components/filesystem:lib", |
| 42 "//services/catalog/public/cpp", |
36 "//services/catalog/public/interfaces", | 43 "//services/catalog/public/interfaces", |
37 "//services/service_manager/public/cpp", | 44 "//services/service_manager/public/cpp", |
38 ] | 45 ] |
39 | 46 |
40 public_deps = [ | 47 public_deps = [ |
41 # directory.mojom.h is #included by catalog.h | 48 # directory.mojom.h is #included by catalog.h |
42 "//components/filesystem/public/interfaces", | 49 "//components/filesystem/public/interfaces", |
43 ] | 50 ] |
44 } | 51 } |
45 | 52 |
(...skipping 10 matching lines...) Expand all Loading... |
56 data = [ | 63 data = [ |
57 "//services/catalog/data/", | 64 "//services/catalog/data/", |
58 ] | 65 ] |
59 deps = [ | 66 deps = [ |
60 ":lib", | 67 ":lib", |
61 "//base", | 68 "//base", |
62 "//services/service_manager/public/cpp", | 69 "//services/service_manager/public/cpp", |
63 "//testing/gtest", | 70 "//testing/gtest", |
64 ] | 71 ] |
65 } | 72 } |
OLD | NEW |