Index: mojo/examples/sample_app/BUILD.gn |
diff --git a/mojo/examples/sample_app/BUILD.gn b/mojo/examples/sample_app/BUILD.gn |
index 39491f3279b622f03a6830ebc05b9b5afb069212..2f6a602a183c4d27bd2582096ba2203c6ec9aa3e 100644 |
--- a/mojo/examples/sample_app/BUILD.gn |
+++ b/mojo/examples/sample_app/BUILD.gn |
@@ -8,19 +8,29 @@ import("//mojo/system.gni") |
shared_library("sample_app") { |
output_name = "mojo_sample_app" |
+ sources = [ |
+ "gles2_client_impl.cc", |
+ "gles2_client_impl.h", |
+ "sample_app.cc", |
+ ] |
+ |
deps = [ |
+ ":spinning_cube", |
"//mojo/public/cpp/application:standalone", |
"//mojo/public/cpp/bindings", |
"//mojo/public/cpp/utility", |
"//mojo/services/public/interfaces/geometry", |
"//mojo/services/public/interfaces/native_viewport", |
] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
+} |
+source_set("spinning_cube") { |
sources = [ |
- "gles2_client_impl.cc", |
- "gles2_client_impl.h", |
- "sample_app.cc", |
"spinning_cube.cc", |
"spinning_cube.h" |
] |
+ |
+ deps = [ |
+ "//base", |
+ ] + mojo_gles2_for_shared_library |
} |