|
[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.
Resubmitting this with the following fixes:
1. Rolls further forward to get past a GN bug
2. Fixes the Android build.
3. Style cleanups in gn.py
Committed: https://github.com/dart-lang/sdk/commit/726732dd6b02aa4f8117707071c54004a7c6e815
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+351 lines, -1856 lines) |
Patch |
|
M |
DEPS
|
View
|
|
7 chunks |
+16 lines, -121 lines |
0 comments
|
Download
|
|
M |
build/config/android/config.gni
|
View
|
|
3 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
|
M |
build/config/compiler/BUILD.gn
|
View
|
|
5 chunks |
+23 lines, -33 lines |
0 comments
|
Download
|
|
M |
build/toolchain/android/BUILD.gn
|
View
|
|
1 chunk |
+12 lines, -2 lines |
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
|
2 chunks |
+3 lines, -3 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 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
tools/android/VERSION_MACOSX_SDK
|
View
|
|
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 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
tools/buildtools/linux64/clang-format
|
View
|
|
1 chunk |
+20 lines, -0 lines |
2 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 chunk |
+88 lines, -0 lines |
0 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
|
21 chunks |
+44 lines, -47 lines |
0 comments
|
Download
|
|
M |
tools/ninja.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|