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("//mojo/public/mojo_application.gni") |
7 | 7 |
8 assert(use_aura) | 8 assert(use_aura) |
9 | 9 |
10 mojo_native_application("aura_demo") { | 10 mojo_native_application("aura_demo") { |
11 sources = [ | 11 sources = [ |
12 "aura_demo.cc", | 12 "aura_demo.cc", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//cc", | 17 "//cc", |
18 "//ui/aura", | 18 "//ui/aura", |
19 "//ui/base", | 19 "//ui/base", |
20 "//ui/compositor", | 20 "//ui/compositor", |
21 "//ui/gfx", | 21 "//ui/gfx", |
22 "//ui/gfx/geometry", | 22 "//ui/gfx/geometry", |
23 "//mojo/application", | 23 "//mojo/application", |
24 "//mojo/common", | 24 "//mojo/common", |
25 "//mojo/converters/geometry", | 25 "//mojo/converters/geometry", |
26 "//mojo/aura", | 26 "//mojo/aura", |
27 "//mojo/public/cpp/system", | 27 "//mojo/public/cpp/system", |
28 "//mojo/services/public/interfaces/geometry", | 28 "//mojo/services/geometry/public/interfaces", |
29 "//mojo/services/public/interfaces/native_viewport", | 29 "//mojo/services/public/interfaces/native_viewport", |
30 "//mojo/services/view_manager/public/cpp", | 30 "//mojo/services/view_manager/public/cpp", |
31 ] | 31 ] |
32 | 32 |
33 datadeps = [ | 33 datadeps = [ |
34 ":init", | 34 ":init", |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 mojo_native_application("init") { | 38 mojo_native_application("init") { |
39 output_name = "aura_demo_init" | 39 output_name = "aura_demo_init" |
40 | 40 |
41 sources = [ | 41 sources = [ |
42 "view_manager_init.cc", | 42 "view_manager_init.cc", |
43 ] | 43 ] |
44 | 44 |
45 deps = [ | 45 deps = [ |
46 "//base", | 46 "//base", |
47 "//mojo/application", | 47 "//mojo/application", |
48 "//mojo/public/interfaces/application", | 48 "//mojo/public/interfaces/application", |
49 "//mojo/services/view_manager/public/cpp", | 49 "//mojo/services/view_manager/public/cpp", |
50 "//mojo/services/view_manager/public/interfaces", | 50 "//mojo/services/view_manager/public/interfaces", |
51 ] | 51 ] |
52 } | 52 } |
OLD | NEW |