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