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 | 7 |
8 mojo_native_application("mus_demo") { | 8 mojo_native_application("mus_demo") { |
9 sources = [ | 9 sources = [ |
10 "main.cc", | 10 "main.cc", |
11 "mus_demo.cc", | 11 "mus_demo.cc", |
12 "mus_demo.h", | 12 "mus_demo.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//components/bitmap_uploader", | 17 "//components/bitmap_uploader", |
18 "//components/mus/public/cpp", | 18 "//components/mus/public/cpp", |
19 "//components/mus/public/interfaces", | 19 "//components/mus/public/interfaces", |
20 "//mojo/public/cpp/bindings", | 20 "//mojo/public/cpp/bindings", |
21 "//mojo/shell/public/cpp", | 21 "//services/shell/public/cpp", |
22 "//mojo/shell/public/cpp:sources", | 22 "//services/shell/public/cpp:sources", |
23 "//skia", | 23 "//skia", |
24 "//ui/gfx/geometry", | 24 "//ui/gfx/geometry", |
25 ] | 25 ] |
26 | 26 |
27 data_deps = [ | 27 data_deps = [ |
28 ":manifest", | 28 ":manifest", |
29 "//components/mus", | 29 "//components/mus", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 mojo_application_manifest("manifest") { | 33 mojo_application_manifest("manifest") { |
34 application_name = "mus_demo" | 34 application_name = "mus_demo" |
35 source = "manifest.json" | 35 source = "manifest.json" |
36 } | 36 } |
37 | 37 |
38 group("demo") { | 38 group("demo") { |
39 deps = [ | 39 deps = [ |
40 ":mus_demo", | 40 ":mus_demo", |
41 ] | 41 ] |
42 } | 42 } |
OLD | NEW |