| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//mojo/public/mojo_application.gni") | |
| 6 import("//mojo/public/mojo_application_manifest.gni") | |
| 7 import("//testing/test.gni") | |
| 8 | |
| 9 group("catalog") { | |
| 10 testonly = true | |
| 11 deps = [ | |
| 12 ":lib", | |
| 13 ] | |
| 14 } | |
| 15 | |
| 16 source_set("lib") { | |
| 17 sources = [ | |
| 18 "catalog.cc", | |
| 19 "catalog.h", | |
| 20 "entry.cc", | |
| 21 "entry.h", | |
| 22 "factory.cc", | |
| 23 "factory.h", | |
| 24 "manifest_provider.h", | |
| 25 "store.cc", | |
| 26 "store.h", | |
| 27 "types.h", | |
| 28 ] | |
| 29 | |
| 30 deps = [ | |
| 31 "//base", | |
| 32 "//mojo/common:url_type_converters", | |
| 33 "//mojo/services/catalog/public/interfaces", | |
| 34 "//mojo/util:filename_util", | |
| 35 "//services/shell/public/cpp", | |
| 36 ] | |
| 37 | |
| 38 data_deps = [ | |
| 39 ":manifest", | |
| 40 ] | |
| 41 } | |
| 42 | |
| 43 mojo_application_manifest("manifest") { | |
| 44 application_name = "catalog" | |
| 45 source = "manifest.json" | |
| 46 } | |
| 47 | |
| 48 source_set("unittests") { | |
| 49 testonly = true | |
| 50 sources = [ | |
| 51 "entry_unittest.cc", | |
| 52 ] | |
| 53 deps = [ | |
| 54 ":lib", | |
| 55 "//base", | |
| 56 "//services/shell/public/cpp", | |
| 57 "//testing/gtest", | |
| 58 ] | |
| 59 } | |
| OLD | NEW |