Index: mojo/examples/demo_launcher/BUILD.gn |
diff --git a/mojo/examples/sample_app/BUILD.gn b/mojo/examples/demo_launcher/BUILD.gn |
similarity index 52% |
copy from mojo/examples/sample_app/BUILD.gn |
copy to mojo/examples/demo_launcher/BUILD.gn |
index 39491f3279b622f03a6830ebc05b9b5afb069212..ebf78f13c60ec6e206a9cf462cedf6f20bd2d176 100644 |
--- a/mojo/examples/sample_app/BUILD.gn |
+++ b/mojo/examples/demo_launcher/BUILD.gn |
@@ -2,25 +2,29 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
import("//mojo/system.gni") |
-# GYP version: mojo/mojo_examples.gypi:mojo_sample_app |
-shared_library("sample_app") { |
- output_name = "mojo_sample_app" |
+assert(use_aura) |
+ |
+# GYP version: mojo/mojo_examples.gypi:mojo_demo_launcher |
+shared_library("demo_launcher") { |
+ output_name = "mojo_demo_launcher" |
+ |
+ sources = [ |
+ "demo_launcher.cc", |
+ ] |
deps = [ |
- "//mojo/public/cpp/application:standalone", |
+ "//base", |
+ "//skia", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ "//ui/gl", |
+ "//mojo/application", |
"//mojo/public/cpp/bindings", |
"//mojo/public/cpp/utility", |
"//mojo/services/public/interfaces/geometry", |
- "//mojo/services/public/interfaces/native_viewport", |
+ "//mojo/services/public/interfaces/view_manager", |
] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
- |
- sources = [ |
- "gles2_client_impl.cc", |
- "gles2_client_impl.h", |
- "sample_app.cc", |
- "spinning_cube.cc", |
- "spinning_cube.h" |
- ] |
} |