|
[infra] Assembles the SDK using GN rather than create_sdk.py
This has a few advantages:
- We can track dependencies more precisely
- ninja can assemble things in parallel as they're ready rather than
sequentially all at once.
- It is easier to customize SDKs depending on target platform, e.g.
Fuchsia.
This CL also has a number of cleanups:
- Defining is_fuchsia and is_fuchsia host so we don't always have to check
- Piping through toolchain overrides in more places
- Fixing bugs in copy_tree.py, not using list_files.py, which is broken on Windows
related #29558
R=whesse@google.com
Committed: https://github.com/dart-lang/sdk/commit/81e428fd39032fb23997c04c6681f8e5fcda9105
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+902 lines, -772 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
|
5 chunks |
+75 lines, -77 lines |
0 comments
|
Download
|
|
M |
build/config/BUILDCONFIG.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
build/config/win/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
build/copy_tree.gni
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/toolchain/gcc_toolchain.gni
|
View
|
1
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
build/toolchain/linux/BUILD.gn
|
View
|
1
|
7 chunks |
+39 lines, -18 lines |
0 comments
|
Download
|
|
M |
build/toolchain/mac/BUILD.gn
|
View
|
1
2
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
build/toolchain/win/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/observatory/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
2 chunks |
+667 lines, -324 lines |
0 comments
|
Download
|
|
D |
tools/create_sdk.py
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -327 lines |
0 comments
|
Download
|
|
M |
tools/gn.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|