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