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