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

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

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/keyboard/BUILD.gn ('k') | mojo/examples/nesting_app/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/media_viewer/BUILD.gn
diff --git a/mojo/examples/media_viewer/BUILD.gn b/mojo/examples/media_viewer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d73ca0f5c981ece529d2a87b2e6395375212a816
--- /dev/null
+++ b/mojo/examples/media_viewer/BUILD.gn
@@ -0,0 +1,41 @@
+# 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/public/tools/bindings/mojom.gni")
+import("//mojo/system.gni")
+
+if (use_aura) {
+
+# GYP version: mojo/mojo_examples.gypi:mojo_media_viewer
+shared_library("media_viewer") {
+ output_name = "mojo_media_viewer"
+
+ sources = [
+ "media_viewer.cc"
+ ]
+
+ deps = [
+ ":bindings",
+ "//base",
+ "//mojo/application",
+ "//mojo/services/public/cpp/input_events",
+ "//mojo/services/public/cpp/view_manager",
+ "//mojo/services/public/interfaces/navigation",
+ "//mojo/services/public/interfaces/view_manager",
+ "//mojo/views",
+ "//skia",
+ "//ui/gfx/geometry",
+ "//ui/views",
+ ] + mojo_system_for_shared_library
+}
+
+} # use_aura
+
+# GYP version: mojo/mojo_examples.gypi:mojo_media_viewer_bindings
+mojom("bindings") {
+ sources = [
+ "media_viewer.mojom",
+ ]
+}
« no previous file with comments | « mojo/examples/keyboard/BUILD.gn ('k') | mojo/examples/nesting_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698