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

Unified Diff: sky/sdk/example/BUILD.gn

Issue 1211253004: Add MineDigger.apk that works offline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: one more examples Created 5 years, 6 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 | « sky/sdk/BUILD.gn ('k') | sky/sdk/example/mine_digger/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/BUILD.gn
diff --git a/examples/tiny/BUILD.gn b/sky/sdk/example/BUILD.gn
similarity index 57%
copy from examples/tiny/BUILD.gn
copy to sky/sdk/example/BUILD.gn
index 0a2c73a502ad066b538dedc49ae1bc42de41bc46..d8769a62a31ad6d7b69f78d0d81fc94fd9e5b080 100644
--- a/examples/tiny/BUILD.gn
+++ b/sky/sdk/example/BUILD.gn
@@ -2,10 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//mojo/public/mojo_application.gni")
+group("example") {
+ testonly = true
-mojo_native_application("tiny") {
- sources = [
- "tiny.c",
- ]
+ deps = []
+
+ if (is_android) {
+ deps += [ "//sky/sdk/example/mine_digger" ]
+ }
}
« no previous file with comments | « sky/sdk/BUILD.gn ('k') | sky/sdk/example/mine_digger/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698