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

Issue 2848943003: [infra] Assembles the SDK using GN rather than create_sdk.py (Closed)

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

Description

[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

Patch Set 1 #

Patch Set 2 : Add option for a stripped down SDK #

Patch Set 3 : Fixes for Mac #

Patch Set 4 : Don't use list_files.py #

Patch Set 5 : Pass splat of list instead of tuple #

Patch Set 6 : Cleanup #

Patch Set 7 : Fixes for Fuchsia #

Patch Set 8 : Add missing file #

Patch Set 9 : Remove create_sdk.py #

Patch Set 10 : Add GN arg. Match up with the github issue #

Patch Set 11 : Merge and Format #

Patch Set 12 : Fix small GN error #

Total comments: 1

Patch Set 13 : Refactor, add comments, add visibility checks #

Patch Set 14 : Fix for Windows #

Total comments: 2

Patch Set 15 : Rebase, address comment #

Patch Set 16 : Fix Windows issue #

Patch Set 17 : Format #

Patch Set 18 : Fix for non-Windows #

Patch Set 19 : Add commnet, add 7zip exclude #

Patch Set 20 : Move copy_dev_compiler_tools out of the default full SDK build #

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

Messages

Total messages: 10 (5 generated)
zra
3 years, 7 months ago (2017-05-10 20:53:00 UTC) #4
zra
This is ready for review. https://codereview.chromium.org/2848943003/diff/200001/BUILD.gn File BUILD.gn (left): https://codereview.chromium.org/2848943003/diff/200001/BUILD.gn#oldcode129 BUILD.gn:129: if (dart_build_fuchsia_test_image) { This ...
3 years, 7 months ago (2017-05-11 18:12:35 UTC) #6
Bill Hesse
LGTM. Maybe this could be passed by a GN expert on the Chromium team, to ...
3 years, 7 months ago (2017-05-17 10:41:10 UTC) #7
zra
These rules are essentially just copying files, so I doubt we'll learn any helpful tricks ...
3 years, 7 months ago (2017-05-20 21:53:04 UTC) #8
zra
3 years, 7 months ago (2017-05-21 06:30:14 UTC) #10
Message was sent while issue was closed.
Committed patchset #20 (id:360001) manually as
81e428fd39032fb23997c04c6681f8e5fcda9105 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698