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

Unified Diff: mojo/public/mojo.gni

Issue 1300463002: Upload/Download dart_snapshotter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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..bb06cdbfd4737dd80f9249dadc0fe8be88dda77d 100644
--- a/mojo/public/mojo.gni
+++ b/mojo/public/mojo.gni
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/module_args/dart.gni")
import("//build/module_args/mojo.gni")
# If using the prebuilt shell, gate its usage by the platforms for which it is
@@ -12,6 +13,16 @@ 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 = true
+} else {
+ assert(defined(dart_snapshotter_bin))
+}
+
# 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