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

Unified Diff: mojo/public/mojo.gni

Issue 1300463002: Upload/Download dart_snapshotter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Depend on copy where needed Created 5 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
Index: mojo/public/mojo.gni
diff --git a/mojo/public/mojo.gni b/mojo/public/mojo.gni
index 2e2581400188d3a02c78d4c8249869244ae03e84..f32383e7035ab5897910a6037a0a99d67e9a48c9 100644
--- a/mojo/public/mojo.gni
+++ b/mojo/public/mojo.gni
@@ -12,6 +12,14 @@ if (!defined(mojo_build_mojo_shell_from_source) ||
mojo_use_prebuilt_mojo_shell = is_linux || is_android
}
+# If using the prebuilt dart_snapshotter, gate its usage by the platforms for
+# which it is published.
+mojo_use_prebuilt_dart_snapshotter = false
+if (!defined(mojo_build_dart_snapshotter_from_source) ||
+ !mojo_build_dart_snapshotter_from_source) {
+ mojo_use_prebuilt_dart_snapshotter = host_os == "linux" || host_os == "mac"
jamesr 2015/08/17 22:10:16 what is a hypothetical developer on a different ho
zra 2015/08/17 22:51:27 Added assert that dart_snapshotter_bin is defined
+}
+
# If using the prebuilt network service, gate its usage by the platforms for
# which it is published.
mojo_use_prebuilt_network_service = false

Powered by Google App Engine
This is Rietveld 408576698