| 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 |
| 11 deps = [ | 11 deps = [ |
| 12 ":lib", | 12 ":lib", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 source_set("lib") { | 16 source_set("lib") { |
| 17 sources = [ | 17 sources = [ |
| 18 "builder.cc", | |
| 19 "builder.h", | |
| 20 "catalog.cc", | 18 "catalog.cc", |
| 21 "catalog.h", | 19 "catalog.h", |
| 22 "entry.cc", | 20 "entry.cc", |
| 23 "entry.h", | 21 "entry.h", |
| 24 "factory.cc", | 22 "factory.cc", |
| 25 "factory.h", | 23 "factory.h", |
| 26 "store.cc", | 24 "store.cc", |
| 27 "store.h", | 25 "store.h", |
| 28 ] | 26 ] |
| 29 | 27 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 41 } | 39 } |
| 42 | 40 |
| 43 mojo_application_manifest("manifest") { | 41 mojo_application_manifest("manifest") { |
| 44 application_name = "catalog" | 42 application_name = "catalog" |
| 45 source = "manifest.json" | 43 source = "manifest.json" |
| 46 } | 44 } |
| 47 | 45 |
| 48 source_set("unittests") { | 46 source_set("unittests") { |
| 49 testonly = true | 47 testonly = true |
| 50 sources = [ | 48 sources = [ |
| 51 "builder_unittest.cc", | 49 "entry_unittest.cc", |
| 52 ] | 50 ] |
| 53 deps = [ | 51 deps = [ |
| 54 ":lib", | 52 ":lib", |
| 55 "//base", | 53 "//base", |
| 56 "//mojo/shell/public/cpp", | 54 "//mojo/shell/public/cpp", |
| 57 "//testing/gtest", | 55 "//testing/gtest", |
| 58 ] | 56 ] |
| 59 } | 57 } |
| OLD | NEW |