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

Issue 2944103003: Introduce dart_host_toolchain arg, remove '--checked' option from patch_sdk.py (Closed)

Created:
3 years, 6 months ago by aam
Modified:
3 years, 6 months ago
Reviewers:
zra, rmacnak, siva
CC:
reviews_dartlang.org, zra
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce dart_host_toolchain argument for generate_patch_sdk.gni. This allows for Flutter build to make sure that host_toolchain used for patched_sdk generation word size matches target platform. Flutter Dart in product configuration doesn't allow --checked option. So remove '--checked' from invocation. R=rmacnak@google.com BUG:https://github.com/flutter/flutter/issues/10841 Committed: https://github.com/dart-lang/sdk/commit/8cd713bed3bc739e6008dd101acca659b90b5ef9

Patch Set 1 #

Patch Set 2 : Update comment #

Total comments: 1

Patch Set 3 : Revert changes to generate_patch_sdk.gni since they break cross-platform builds. Remove --checked f… #

Patch Set 4 : Introduce dart_host_toolchain arg #

Total comments: 4

Patch Set 5 : Take care of compiled_action #

Total comments: 1

Patch Set 6 : Update observatory and kernel-service to use dart_host_toolchain #

Patch Set 7 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -10 lines) Patch
M build/compiled_action.gni View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
A build/dart_host_toolchain.gni View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/observatory/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M tools/patch_sdk.py View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M utils/generate_patch_sdk.gni View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
M utils/kernel-service/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (7 generated)
aam
Please take a look when you have a second. This is needed to get ball ...
3 years, 6 months ago (2017-06-20 03:44:02 UTC) #3
rmacnak
https://codereview.chromium.org/2944103003/diff/20001/tools/patch_sdk.py File tools/patch_sdk.py (right): https://codereview.chromium.org/2944103003/diff/20001/tools/patch_sdk.py#newcode51 tools/patch_sdk.py:51: # '--checked' is not recognized by Dart executable built ...
3 years, 6 months ago (2017-06-20 20:40:50 UTC) #4
aam
On 2017/06/20 20:40:50, rmacnak wrote: > https://codereview.chromium.org/2944103003/diff/20001/tools/patch_sdk.py > File tools/patch_sdk.py (right): > > https://codereview.chromium.org/2944103003/diff/20001/tools/patch_sdk.py#newcode51 > ...
3 years, 6 months ago (2017-06-21 01:04:57 UTC) #5
aam
On 2017/06/21 01:04:57, aam wrote: > On 2017/06/20 20:40:50, rmacnak wrote: > > https://codereview.chromium.org/2944103003/diff/20001/tools/patch_sdk.py > ...
3 years, 6 months ago (2017-06-21 18:14:39 UTC) #8
rmacnak
https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni File utils/generate_patch_sdk.gni (right): https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni#newcode10 utils/generate_patch_sdk.gni:10: dart_host_toolchain = host_toolchain Can we use this for the ...
3 years, 6 months ago (2017-06-21 21:15:34 UTC) #9
aam
https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni File utils/generate_patch_sdk.gni (right): https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni#newcode10 utils/generate_patch_sdk.gni:10: dart_host_toolchain = host_toolchain On 2017/06/21 21:15:34, rmacnak wrote: > ...
3 years, 6 months ago (2017-06-21 21:39:18 UTC) #10
siva
https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py File tools/patch_sdk.py (right): https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py#newcode51 tools/patch_sdk.py:51: subprocess.check_call([options.dart_executable, dart_file] + args) Why do we drop the ...
3 years, 6 months ago (2017-06-22 01:15:14 UTC) #12
aam
On 2017/06/22 01:15:14, siva wrote: > https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py > File tools/patch_sdk.py (right): > > https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py#newcode51 > ...
3 years, 6 months ago (2017-06-22 04:17:25 UTC) #13
aam
On 2017/06/22 04:17:25, aam wrote: > On 2017/06/22 01:15:14, siva wrote: > > https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py > ...
3 years, 6 months ago (2017-06-22 04:19:09 UTC) #14
aam
On 2017/06/22 04:17:25, aam wrote: > On 2017/06/22 01:15:14, siva wrote: > > https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py > ...
3 years, 6 months ago (2017-06-22 04:19:10 UTC) #15
aam
On 2017/06/22 04:17:25, aam wrote: > On 2017/06/22 01:15:14, siva wrote: > > https://codereview.chromium.org/2944103003/diff/60001/tools/patch_sdk.py > ...
3 years, 6 months ago (2017-06-22 04:19:11 UTC) #16
aam
https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni File utils/generate_patch_sdk.gni (right): https://codereview.chromium.org/2944103003/diff/60001/utils/generate_patch_sdk.gni#newcode10 utils/generate_patch_sdk.gni:10: dart_host_toolchain = host_toolchain On 2017/06/21 21:15:34, rmacnak wrote: > ...
3 years, 6 months ago (2017-06-22 04:34:07 UTC) #17
rmacnak
lgtm
3 years, 6 months ago (2017-06-22 17:10:18 UTC) #18
zra
Should dart_host_toolchain replace all uses of host_toolchain? It is confusing to use host_toolchain in some ...
3 years, 6 months ago (2017-06-22 17:15:47 UTC) #20
zra
https://codereview.chromium.org/2944103003/diff/80001/build/dart_host_toolchain.gni File build/dart_host_toolchain.gni (right): https://codereview.chromium.org/2944103003/diff/80001/build/dart_host_toolchain.gni#newcode6 build/dart_host_toolchain.gni:6: dart_host_toolchain = host_toolchain Please add comments here explaining what ...
3 years, 6 months ago (2017-06-22 17:16:39 UTC) #21
aam
On 2017/06/22 17:16:39, zra wrote: > https://codereview.chromium.org/2944103003/diff/80001/build/dart_host_toolchain.gni > File build/dart_host_toolchain.gni (right): > > https://codereview.chromium.org/2944103003/diff/80001/build/dart_host_toolchain.gni#newcode6 > ...
3 years, 6 months ago (2017-06-22 17:52:09 UTC) #22
aam
On 2017/06/22 17:52:09, aam wrote: > On 2017/06/22 17:16:39, zra wrote: > > > https://codereview.chromium.org/2944103003/diff/80001/build/dart_host_toolchain.gni ...
3 years, 6 months ago (2017-06-22 17:52:26 UTC) #23
aam
On 2017/06/22 17:15:47, zra wrote: > Should dart_host_toolchain replace all uses of host_toolchain? It is ...
3 years, 6 months ago (2017-06-22 17:52:40 UTC) #24
aam
Committed patchset #7 (id:120001) manually as 8cd713bed3bc739e6008dd101acca659b90b5ef9 (presubmit successful).
3 years, 6 months ago (2017-06-22 19:41:37 UTC) #26
zra
3 years, 6 months ago (2017-06-22 19:42:44 UTC) #27
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698