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

Unified Diff: mojo/examples/compositor_app/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/browser/BUILD.gn ('k') | mojo/examples/content_handler_demo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/compositor_app/BUILD.gn
diff --git a/mojo/examples/sample_app/BUILD.gn b/mojo/examples/compositor_app/BUILD.gn
similarity index 51%
copy from mojo/examples/sample_app/BUILD.gn
copy to mojo/examples/compositor_app/BUILD.gn
index 39491f3279b622f03a6830ebc05b9b5afb069212..ff08513e99e75a42cbf3ca01a7456caafe4c01a4 100644
--- a/mojo/examples/sample_app/BUILD.gn
+++ b/mojo/examples/compositor_app/BUILD.gn
@@ -4,23 +4,25 @@
import("//mojo/system.gni")
-# GYP version: mojo/mojo_examples.gypi:mojo_sample_app
-shared_library("sample_app") {
- output_name = "mojo_sample_app"
+# GYP version mojo/mojo_examples.gypi:mojo_compositor_app
+shared_library("compositor_app") {
+ output_name = "mojo_compositor_app"
+
+ sources = [
+ "compositor_app.cc",
+ "compositor_host.cc",
+ "compositor_host.h",
+ ]
deps = [
- "//mojo/public/cpp/application:standalone",
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/utility",
+ "//base",
+ "//cc",
+ "//mojo/application",
+ "//mojo/cc",
+ "//mojo/common",
+ "//mojo/services/public/cpp/geometry",
"//mojo/services/public/interfaces/geometry",
+ "//mojo/services/public/interfaces/gpu",
"//mojo/services/public/interfaces/native_viewport",
] + 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"
- ]
}
« no previous file with comments | « mojo/examples/browser/BUILD.gn ('k') | mojo/examples/content_handler_demo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698