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

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
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/BUILD.gn
diff --git a/mojo/public/tools/BUILD.gn b/mojo/public/tools/BUILD.gn
index 2368ae99aaa477163fb7b918030b377213830137..28a49258fafb1929279dc98876684bf2a8cf7f9e 100644
--- a/mojo/public/tools/BUILD.gn
+++ b/mojo/public/tools/BUILD.gn
@@ -28,6 +28,24 @@ if (mojo_use_prebuilt_mojo_shell) {
}
}
+if (mojo_use_prebuilt_dart_snapshotter) {
+ copy("copy_dart_snapshotter") {
+ if (host_os == "linux") {
+ platform = "linux-x64"
+ } else if (host_os == "mac") {
+ platform = "mac-x64"
+ } else {
+ assert(false, "$host_os not supported")
+ }
+ 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"
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698