Chromium Code Reviews| Index: mojo/public/tools/BUILD.gn |
| diff --git a/mojo/public/tools/BUILD.gn b/mojo/public/tools/BUILD.gn |
| index 2368ae99aaa477163fb7b918030b377213830137..6959c8a006f4ee0a18ac5d699dc52a1f80cfd43b 100644 |
| --- a/mojo/public/tools/BUILD.gn |
| +++ b/mojo/public/tools/BUILD.gn |
| @@ -28,6 +28,25 @@ if (mojo_use_prebuilt_mojo_shell) { |
| } |
| } |
| +if (mojo_use_prebuilt_dart_snapshotter) { |
| + copy("copy_dart_snapshotter") { |
| + sources = [ |
| + "prebuilt/dart_snapshotter/linux-x64/dart_snapshotter", |
|
jamesr
2015/08/14 22:55:02
this doesn't look like the right binary to use whe
zra
2015/08/17 15:06:16
I didn't see a Mac builder for Mojo. Is there one?
jamesr
2015/08/17 17:29:39
There is not, but developing from a Mac host is su
zra
2015/08/17 21:59:18
I've modified here and the upload_binaries.py scri
|
| + ] |
| + if (is_android) { |
|
jamesr
2015/08/14 22:55:01
do you want to test for "is_android" here or "am i
zra
2015/08/17 15:06:16
Right now in this CL, the snapshotter is invoked d
jamesr
2015/08/17 17:29:39
I think at a minimum you shouldn't need to invoke
zra
2015/08/17 21:59:18
Done.
|
| + toolchain_name = get_label_info(host_toolchain, "name") |
| + outputs = [ |
| + "$root_out_dir/$toolchain_name/dart_snapshotter", |
|
jamesr
2015/08/14 22:55:01
hm, doesn't root_out_dir already contain the curre
zra
2015/08/17 15:06:16
If the current toolchain is the target toolchain,
|
| + ] |
| + } else { |
| + assert(is_linux) |
| + outputs = [ |
| + "$root_out_dir/dart_snapshotter", |
| + ] |
| + } |
| + } |
| +} |
| + |
| if (mojo_use_prebuilt_network_service) { |
| copy("copy_network_service") { |
| filename = "network_service.mojo" |