Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: mojo/examples/surfaces_app/BUILD.gn

Issue 485523004: GN: Mojo wget, sample_app, surfaces app and component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/sample_app/BUILD.gn ('k') | mojo/examples/wget/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/surfaces_app/BUILD.gn
diff --git a/mojo/examples/surfaces_app/BUILD.gn b/mojo/examples/surfaces_app/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..38ddc2a9a722a67b1f2dc3949957938a66f04e61
--- /dev/null
+++ b/mojo/examples/surfaces_app/BUILD.gn
@@ -0,0 +1,96 @@
+# 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("//mojo/public/tools/bindings/mojom.gni")
+import("//mojo/system.gni")
+
+group("surfaces_app") {
+ deps = [
+ ":child_app",
+ ":parent_app",
+ ]
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app
+shared_library("parent_app") {
+ output_name = "mojo_surfaces_app"
+
+ deps = [
+ ":bindings",
+ ":util",
+ "//base",
+ "//cc",
+ "//cc/surfaces",
+ "//skia",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//mojo/common",
+ "//mojo/public/cpp/application:chromium",
+ "//mojo/public/cpp/application:main_chromium",
+ "//mojo/environment:chromium",
+ "//mojo/services/public/interfaces/geometry",
+ "//mojo/services/public/cpp/geometry",
+ "//mojo/services/public/interfaces/surfaces",
+ "//mojo/services/public/cpp/surfaces",
+ ] + mojo_system_for_shared_library
+
+ sources = [
+ "embedder.cc",
+ "embedder.h",
+ "surfaces_app.cc",
+ ]
+}
+
+
+# GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app
+shared_library("child_app") {
+ output_name = "mojo_surfaces_child_app"
+
+ deps = [
+ ":bindings",
+ ":util",
+ "//base",
+ "//cc",
+ "//cc/surfaces",
+ "//skia",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//mojo/common",
+ "//mojo/public/cpp/application:chromium",
+ "//mojo/public/cpp/application:main_chromium",
+ "//mojo/environment:chromium",
+ "//mojo/services/public/interfaces/geometry",
+ "//mojo/services/public/cpp/geometry",
+ "//mojo/services/public/interfaces/surfaces",
+ "//mojo/services/public/cpp/surfaces",
+ ] + mojo_system_for_shared_library
+
+ sources = [
+ "child_app.cc",
+ "child_impl.cc",
+ "child_impl.h",
+ ]
+}
+
+source_set("util") {
+ deps = [
+ "//cc",
+ "//skia",
+ ]
+
+ sources = [
+ "surfaces_util.cc",
+ "surfaces_util.h",
+ ]
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings
+mojom("bindings") {
+ deps = [
+ "//mojo/services/public/interfaces/geometry",
+ "//mojo/services/public/interfaces/surfaces",
+ ]
+
+ sources = [ "child.mojom" ]
+}
« no previous file with comments | « mojo/examples/sample_app/BUILD.gn ('k') | mojo/examples/wget/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698