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("//mojo/system.gni") | 6 import("//mojo/system.gni") |
6 | 7 |
7 # GYP version: mojo/mojo_examples.gypi:mojo_sample_app | 8 assert(use_aura) |
8 shared_library("sample_app") { | 9 |
9 output_name = "mojo_sample_app" | 10 # GYP version: mojo/mojo_examples.gypi:mojo_demo_launcher |
| 11 shared_library("demo_launcher") { |
| 12 output_name = "mojo_demo_launcher" |
| 13 |
| 14 sources = [ |
| 15 "demo_launcher.cc", |
| 16 ] |
10 | 17 |
11 deps = [ | 18 deps = [ |
12 "//mojo/public/cpp/application:standalone", | 19 "//base", |
| 20 "//skia", |
| 21 "//ui/gfx", |
| 22 "//ui/gfx/geometry", |
| 23 "//ui/gl", |
| 24 "//mojo/application", |
13 "//mojo/public/cpp/bindings", | 25 "//mojo/public/cpp/bindings", |
14 "//mojo/public/cpp/utility", | 26 "//mojo/public/cpp/utility", |
15 "//mojo/services/public/interfaces/geometry", | 27 "//mojo/services/public/interfaces/geometry", |
16 "//mojo/services/public/interfaces/native_viewport", | 28 "//mojo/services/public/interfaces/view_manager", |
17 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library | 29 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
18 | |
19 sources = [ | |
20 "gles2_client_impl.cc", | |
21 "gles2_client_impl.h", | |
22 "sample_app.cc", | |
23 "spinning_cube.cc", | |
24 "spinning_cube.h" | |
25 ] | |
26 } | 30 } |
OLD | NEW |