OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//services/shell/public/cpp/service.gni") |
7 import("//mojo/public/mojo_application_manifest.gni") | 7 import("//services/shell/public/service_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
11 mojo_native_application("views_examples") { | 11 service("views_examples") { |
12 testonly = true | 12 testonly = true |
13 | 13 |
14 sources = [ | 14 sources = [ |
15 "main.cc", | 15 "main.cc", |
16 "views_examples_application_delegate.cc", | 16 "views_examples_application_delegate.cc", |
17 "views_examples_application_delegate.h", | 17 "views_examples_application_delegate.h", |
18 ] | 18 ] |
19 | 19 |
20 deps = [ | 20 deps = [ |
21 "//base", | 21 "//base", |
(...skipping 13 matching lines...) Expand all Loading... |
35 ] | 35 ] |
36 | 36 |
37 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 37 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
38 | 38 |
39 data_deps = [ | 39 data_deps = [ |
40 ":manifest", | 40 ":manifest", |
41 "//services/ui", | 41 "//services/ui", |
42 ] | 42 ] |
43 } | 43 } |
44 | 44 |
45 mojo_application_manifest("manifest") { | 45 service_manifest("manifest") { |
46 application_name = "views_examples" | 46 name = "views_examples" |
47 source = "manifest.json" | 47 source = "manifest.json" |
48 } | 48 } |
OLD | NEW |