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

Issue 2854583002: [infra] Roll clang to match the version used by Flutter (Closed)

Created:
3 years, 7 months ago by zra
Modified:
3 years, 7 months ago
Reviewers:
Bill Hesse, siva
CC:
reviews_dartlang.org, jamesr1
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[infra] Roll clang to match the version used by Flutter Flutter uses the same clang toolchain as Fuchsia. This CL puts Dart on that toolchain, as well. This roll should entail no changes to glibc version requirements on Linux. The Fuchsia buildtools distribute clang-format with the toolchain rather than separately, so this CL introduces forwarding scripts that are copied to the right place under //buildtools. This CL sets the default for the number of workers in //tools/gn.py to 1, as the newer GN version fails occasionally when run concurrently with other invocations. As Flutter does, this CL uses the clang toolchain to build for Android. Thus, it is now possible to build for Android on MacOS. This change is a prerequisite for assembling the SDK in GN rather than with a python script: https://codereview.chromium.org/2848943003/ and will be nicer for making prebuilt SDKs for Fuchsia. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/cc968ca45b8b1dbbccaf630ef5d903f7925d6d41

Patch Set 1 #

Patch Set 2 : Fixes for mac #

Patch Set 3 : Fixes for Windows #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -1802 lines) Patch
M DEPS View 7 chunks +16 lines, -121 lines 5 comments Download
M build/config/android/config.gni View 2 chunks +6 lines, -2 lines 0 comments Download
M build/config/compiler/BUILD.gn View 5 chunks +22 lines, -34 lines 0 comments Download
M build/toolchain/android/BUILD.gn View 1 chunk +10 lines, -1 line 0 comments Download
M build/toolchain/linux/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
A tools/android/VERSION_LINUX_NDK View 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/VERSION_LINUX_SDK View 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/VERSION_MACOSX_NDK View 1 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/VERSION_MACOSX_SDK View 1 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/download_android_tools.py View 1 chunk +104 lines, -0 lines 0 comments Download
M tools/build.py View 1 1 chunk +1 line, -1 line 0 comments Download
A tools/buildtools/linux64/clang-format View 1 chunk +20 lines, -0 lines 0 comments Download
A tools/buildtools/mac/clang-format View 1 chunk +20 lines, -0 lines 0 comments Download
A tools/buildtools/update.py View 1 2 1 chunk +88 lines, -0 lines 2 comments Download
A tools/buildtools/win/clang-format.exe.sha1 View 1 chunk +2 lines, -0 lines 0 comments Download
D tools/clang/scripts/update.py View 1 chunk +0 lines, -909 lines 0 comments Download
D tools/clang/scripts/update.sh View 1 chunk +0 lines, -724 lines 0 comments Download
M tools/gn.py View 1 3 chunks +4 lines, -5 lines 0 comments Download
M tools/ninja.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
zra
3 years, 7 months ago (2017-05-01 15:06:50 UTC) #4
zra
ping
3 years, 7 months ago (2017-05-03 14:49:35 UTC) #5
Bill Hesse
LGTM, with comments. (I see that GN is now downloaded by the new scripts, and ...
3 years, 7 months ago (2017-05-03 16:05:34 UTC) #6
Bill Hesse
https://codereview.chromium.org/2854583002/diff/30001/DEPS File DEPS (left): https://codereview.chromium.org/2854583002/diff/30001/DEPS#oldcode369 DEPS:369: 'download_from_google_storage', On 2017/05/03 16:05:34, Bill Hesse wrote: > Is ...
3 years, 7 months ago (2017-05-03 16:06:48 UTC) #7
zra
https://codereview.chromium.org/2854583002/diff/30001/DEPS File DEPS (right): https://codereview.chromium.org/2854583002/diff/30001/DEPS#newcode484 DEPS:484: 'action': ['python', 'sdk/tools/android/download_android_tools.py'], On 2017/05/03 16:05:34, Bill Hesse wrote: ...
3 years, 7 months ago (2017-05-03 17:34:41 UTC) #8
zra
Committed patchset #3 (id:30001) manually as cc968ca45b8b1dbbccaf630ef5d903f7925d6d41 (presubmit successful).
3 years, 7 months ago (2017-05-03 21:51:05 UTC) #10
zra
On 2017/05/03 21:51:05, zra wrote: > Committed patchset #3 (id:30001) manually as > cc968ca45b8b1dbbccaf630ef5d903f7925d6d41 (presubmit ...
3 years, 7 months ago (2017-05-03 22:59:51 UTC) #11
jamesr1
What platforms + architectures do you want to target using this toolchain?
3 years, 7 months ago (2017-05-05 22:29:59 UTC) #12
zra
3 years, 7 months ago (2017-05-06 04:58:39 UTC) #13
Message was sent while issue was closed.
On 2017/05/05 22:29:59, jamesr1 wrote:
> What platforms + architectures do you want to target using this toolchain?

Linux x64 (and hopefully ia32 at some point), Mac x64 and ia32, Android arm and
arm64.

phosek and I discussed this change last week, but we can also talk more next
week if needed.

Powered by Google App Engine
This is Rietveld 408576698