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

Unified Diff: mojo/public/tools/BUILD.gn

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/tools/BUILD.gn
diff --git a/mojo/public/tools/BUILD.gn b/mojo/public/tools/BUILD.gn
index 2368ae99aaa477163fb7b918030b377213830137..5c87198c40d0f2fbfe768f9cbf1c94596379ab25 100644
--- a/mojo/public/tools/BUILD.gn
+++ b/mojo/public/tools/BUILD.gn
@@ -28,6 +28,23 @@ if (mojo_use_prebuilt_mojo_shell) {
}
}
+if (mojo_use_prebuilt_dart_snapshotter) {
+ copy("copy_dart_snapshotter") {
+ if (host_os == "linux") {
+ platform = "linux-x64"
+ } else {
+ assert(host_os == "mac")
+ platform = "mac-x64"
+ }
+ sources = [
+ "prebuilt/dart_snapshotter/$platform/dart_snapshotter",
+ ]
+ outputs = [
+ "$root_out_dir/dart_snapshotter",
+ ]
+ }
+}
+
if (mojo_use_prebuilt_network_service) {
copy("copy_network_service") {
filename = "network_service.mojo"

Powered by Google App Engine
This is Rietveld 408576698