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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 "manifest_provider.h", | 26 "manifest_provider.h", |
27 "reader.cc", | 27 "reader.cc", |
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 "//services/catalog/public/interfaces", | 37 "//services/catalog/public/interfaces", |
37 "//services/shell/public/cpp", | 38 "//services/shell/public/cpp", |
38 ] | 39 ] |
39 | 40 |
| 41 public_deps = [ |
| 42 # directory.mojom.h is #included by catalog.h |
| 43 "//components/filesystem/public/interfaces", |
| 44 ] |
| 45 |
40 data_deps = [ | 46 data_deps = [ |
41 ":manifest", | 47 ":manifest", |
42 ] | 48 ] |
43 } | 49 } |
44 | 50 |
45 mojo_application_manifest("manifest") { | 51 mojo_application_manifest("manifest") { |
46 application_name = "catalog" | 52 application_name = "catalog" |
47 source = "manifest.json" | 53 source = "manifest.json" |
48 } | 54 } |
49 | 55 |
50 source_set("unittests") { | 56 source_set("unittests") { |
51 testonly = true | 57 testonly = true |
52 sources = [ | 58 sources = [ |
53 "entry_unittest.cc", | 59 "entry_unittest.cc", |
54 ] | 60 ] |
55 data = [ | 61 data = [ |
56 "//services/catalog/data/", | 62 "//services/catalog/data/", |
57 ] | 63 ] |
58 deps = [ | 64 deps = [ |
59 ":lib", | 65 ":lib", |
60 "//base", | 66 "//base", |
61 "//services/shell/public/cpp", | 67 "//services/shell/public/cpp", |
62 "//testing/gtest", | 68 "//testing/gtest", |
63 ] | 69 ] |
64 } | 70 } |
OLD | NEW |