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

Issue 1300463002: Upload/Download dart_snapshotter (Closed)

Created:
5 years, 4 months ago by zra
Modified:
5 years, 4 months ago
Reviewers:
jamesr
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : Copy step only for host toolchain #

Patch Set 5 : Mac support #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : Use module_arg for snapshotter rule path #

Patch Set 8 : Depend on copy where needed #

Total comments: 12

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -18 lines) Patch
M build/module_args/mojo.gni View 6 1 chunk +4 lines, -0 lines 0 comments Download
M mojo/public/dart/rules.gni View 1 2 3 4 5 6 7 3 chunks +12 lines, -5 lines 0 comments Download
M mojo/public/mojo.gni View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M mojo/public/tools/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A + mojo/public/tools/download_dart_snapshotter.py View 1 2 3 4 5 chunks +13 lines, -13 lines 0 comments Download
M mojo/tools/mopy/paths.py View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
M mojo/tools/upload_binaries.py View 1 2 3 4 5 6 7 8 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
zra
5 years, 4 months ago (2015-08-14 22:47:22 UTC) #2
jamesr
https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn File mojo/public/tools/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn#newcode34 mojo/public/tools/BUILD.gn:34: "prebuilt/dart_snapshotter/linux-x64/dart_snapshotter", this doesn't look like the right binary to ...
5 years, 4 months ago (2015-08-14 22:55:02 UTC) #4
zra
Thought about this a bit more over the weekend. I think there might be a ...
5 years, 4 months ago (2015-08-17 15:06:16 UTC) #5
jamesr
https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn File mojo/public/tools/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn#newcode34 mojo/public/tools/BUILD.gn:34: "prebuilt/dart_snapshotter/linux-x64/dart_snapshotter", On 2015/08/17 at 15:06:16, zra wrote: > On ...
5 years, 4 months ago (2015-08-17 17:29:40 UTC) #6
jamesr
https://codereview.chromium.org/1300463002/diff/100001/mojo/public/dart/rules.gni File mojo/public/dart/rules.gni (right): https://codereview.chromium.org/1300463002/diff/100001/mojo/public/dart/rules.gni#newcode26 mojo/public/dart/rules.gni:26: rebase_path("mojo/dart/dart_snapshotter", ".", mojo_root) the sdk should not depend on ...
5 years, 4 months ago (2015-08-17 20:59:51 UTC) #7
zra
https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn File mojo/public/tools/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn#newcode34 mojo/public/tools/BUILD.gn:34: "prebuilt/dart_snapshotter/linux-x64/dart_snapshotter", On 2015/08/17 17:29:39, jamesr wrote: > On 2015/08/17 ...
5 years, 4 months ago (2015-08-17 21:59:18 UTC) #8
jamesr
On 2015/08/17 at 21:59:18, zra wrote: > https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn > File mojo/public/tools/BUILD.gn (right): > > https://codereview.chromium.org/1300463002/diff/40001/mojo/public/tools/BUILD.gn#newcode34 ...
5 years, 4 months ago (2015-08-17 22:03:02 UTC) #9
jamesr
https://codereview.chromium.org/1300463002/diff/140001/mojo/dart/BUILD.gn File mojo/dart/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/140001/mojo/dart/BUILD.gn#newcode5 mojo/dart/BUILD.gn:5: import("//mojo/public/mojo.gni") what's this needed for? https://codereview.chromium.org/1300463002/diff/140001/mojo/dart/BUILD.gn#newcode15 mojo/dart/BUILD.gn:15: if (!mojo_use_prebuilt_dart_snapshotter) ...
5 years, 4 months ago (2015-08-17 22:10:16 UTC) #10
zra
https://codereview.chromium.org/1300463002/diff/140001/mojo/dart/BUILD.gn File mojo/dart/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/140001/mojo/dart/BUILD.gn#newcode5 mojo/dart/BUILD.gn:5: import("//mojo/public/mojo.gni") On 2015/08/17 22:10:15, jamesr wrote: > what's this ...
5 years, 4 months ago (2015-08-17 22:51:28 UTC) #11
jamesr
lgtm https://codereview.chromium.org/1300463002/diff/180001/mojo/public/tools/BUILD.gn File mojo/public/tools/BUILD.gn (right): https://codereview.chromium.org/1300463002/diff/180001/mojo/public/tools/BUILD.gn#newcode36 mojo/public/tools/BUILD.gn:36: assert(host_os == "mac") i would do this } ...
5 years, 4 months ago (2015-08-17 23:08:49 UTC) #12
zra
Committed patchset #11 (id:200001) manually as 3dcf5823716c35e8c2c19a471ed7927685f98a6e (presubmit successful).
5 years, 4 months ago (2015-08-18 15:49:30 UTC) #13
zra
5 years, 4 months ago (2015-08-18 15:49:50 UTC) #14
Message was sent while issue was closed.
Thanks!

https://codereview.chromium.org/1300463002/diff/180001/mojo/public/tools/BUIL...
File mojo/public/tools/BUILD.gn (right):

https://codereview.chromium.org/1300463002/diff/180001/mojo/public/tools/BUIL...
mojo/public/tools/BUILD.gn:36: assert(host_os == "mac")
On 2015/08/17 23:08:49, jamesr wrote:
> i would do this
> 
> } else if (host_os == "mac") {
>   ..
> } else {
>   assert(false, "host_os not supported ...")
> }
> 
> so the message can be more informative

Done.

Powered by Google App Engine
This is Rietveld 408576698