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/c/system:for_shared_library", | |
28 "//mojo/public/cpp/system", | 27 "//mojo/public/cpp/system", |
29 "//mojo/services/public/interfaces/geometry", | 28 "//mojo/services/public/interfaces/geometry", |
30 "//mojo/services/public/interfaces/native_viewport", | 29 "//mojo/services/public/interfaces/native_viewport", |
31 "//mojo/services/public/cpp/view_manager", | 30 "//mojo/services/public/cpp/view_manager", |
32 ] | 31 ] |
33 | 32 |
34 datadeps = [ ":init" ] | 33 datadeps = [ ":init" ] |
35 } | 34 } |
36 | 35 |
37 mojo_native_application("init") { | 36 mojo_native_application("init") { |
38 output_name = "aura_demo_init" | 37 output_name = "aura_demo_init" |
39 | 38 |
40 sources = [ | 39 sources = [ |
41 "view_manager_init.cc", | 40 "view_manager_init.cc", |
42 ] | 41 ] |
43 | 42 |
44 deps = [ | 43 deps = [ |
45 "//base", | 44 "//base", |
46 "//mojo/application", | 45 "//mojo/application", |
47 "//mojo/public/c/system:for_shared_library", | |
48 "//mojo/public/interfaces/application", | 46 "//mojo/public/interfaces/application", |
49 "//mojo/services/public/cpp/view_manager", | 47 "//mojo/services/public/cpp/view_manager", |
50 "//mojo/services/public/interfaces/view_manager", | 48 "//mojo/services/public/interfaces/view_manager", |
51 ] | 49 ] |
52 } | 50 } |
OLD | NEW |