Index: mojo/examples/aura_demo/BUILD.gn |
diff --git a/mojo/examples/aura_demo/BUILD.gn b/mojo/examples/aura_demo/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..70ca8db2c957d2f001c35b279ca2470b1f88ca61 |
--- /dev/null |
+++ b/mojo/examples/aura_demo/BUILD.gn |
@@ -0,0 +1,50 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# 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") |
+ |
+assert(use_aura) |
+ |
+# GYP version mojo/mojo_examples.gypi:mojo_aura_demo |
+shared_library("mojo_aura_demo") { |
+ output_name = "mojo_aura_demo" |
+ |
+ sources = [ |
+ "aura_demo.cc" |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//cc", |
+ "//ui/aura", |
+ "//ui/base", |
+ "//ui/compositor", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ "//mojo/application", |
+ "//mojo/common", |
+ "//mojo/aura", |
+ "//mojo/services/public/interfaces/geometry", |
+ "//mojo/services/public/cpp/geometry", |
+ "//mojo/services/public/cpp/view_manager", |
+ ] + mojo_system_for_shared_library |
+ |
+ datadeps = [ ":init" ] |
+} |
+ |
+# GYP version mojo/mojo_examples.gypi:mojo_aura_demo_init |
+shared_library("init") { |
+ output_name = "mojo_aura_demo_init" |
+ |
+ sources = [ |
+ "view_manager_init.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//mojo/application", |
+ "//mojo/services/public/interfaces/view_manager", |
+ ] + mojo_system_for_shared_library |
+} |