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

Issue 1961473003: [Mac/GN] Set up the component build. (Closed)

Created:
4 years, 7 months ago by Robert Sesek
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke, brettw, Nico
CC:
chromium-reviews, posciak+watch_chromium.org, scheib+watch_chromium.org, ortuno+watch_chromium.org, dmazzoni+watch_chromium.org, kinuko+watch, tapted, cbentzel+watch_chromium.org, Matt Giuca, toyoshim+midi_chromium.org, aboxhall+watch_chromium.org, jam, je_julie, darin-cc_chromium.org, jochen+watch_chromium.org, blink-reviews, mlamouri+watch-content_chromium.org, tdresser+watch_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, timvolodine, feature-media-reviews_chromium.org, yuzo+watch_chromium.org, mcasas+watch+vc_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, sync-reviews_chromium.org, mlamouri+watch-test-runner_chromium.org, tfarina, nektar+watch_chromium.org, telemetry-reviews_chromium.org, dtseng+watch_chromium.org, noyau+watch_chromium.org, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac/GN] Set up the component build. This adds the required framework to libs[] wherever they are required (most of the changes in this CL). It also enables the component build optimization of creating a non-bundled dylib to roll up all the sources and dependencies. The framework then links that, which allows the build to not copy the bundled library if any sources change. This is based on the technique implemented https://codereview.chromium.org/11420019/. BUG=431177 R=thakis@chromium.org,brettw@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/02aa51cf444626f4781824c17178376c0459ad83 Cr-Commit-Position: refs/heads/master@{#392823}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Rebase #

Total comments: 3

Patch Set 4 : Comment and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -82 lines) Patch
M base/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/BUILD.gn View 1 2 7 chunks +66 lines, -46 lines 0 comments Download
M chrome/app_shim/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/bookmarks/browser/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M components/policy/core/common/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M components/test_runner/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M components/wifi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M crypto/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M device/battery/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M gin/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/config/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/ipc/service/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M media/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M media/base/mac/BUILD.gn View 1 2 chunks +11 lines, -4 lines 0 comments Download
M media/capture/BUILD.gn View 1 chunk +5 lines, -3 lines 0 comments Download
M media/gpu/BUILD.gn View 1 chunk +3 lines, -7 lines 0 comments Download
M media/midi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M net/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M printing/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M skia/BUILD.gn View 1 chunk +10 lines, -0 lines 0 comments Download
M sync/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/decklink/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/mozilla/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/perf/chrome_telemetry_build/BUILD.gn View 1 chunk +8 lines, -3 lines 0 comments Download
M ui/accelerated_widget_mac/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/accessibility/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/app_list/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M ui/base/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/BUILD.gn View 2 chunks +11 lines, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M ui/gl/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/native_theme/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/shell_dialogs/BUILD.gn View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/snapshot/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Robert Sesek
thakis: Please review. brettw/dpranke: I called out the hack I mentioned in the meeting. https://codereview.chromium.org/1961473003/diff/40001/build/toolchain/mac/BUILD.gn ...
4 years, 7 months ago (2016-05-06 19:17:36 UTC) #4
Dirk Pranke
this mostly lgtm , though I don't yet understand the rpath and install_name magic fully. ...
4 years, 7 months ago (2016-05-06 22:10:07 UTC) #6
Robert Sesek
On 2016/05/06 22:10:07, Dirk Pranke wrote: > this mostly lgtm , though I don't yet ...
4 years, 7 months ago (2016-05-06 22:20:49 UTC) #7
Dirk Pranke
lgtm. https://codereview.chromium.org/1961473003/diff/60001/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn File build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn (right): https://codereview.chromium.org/1961473003/diff/60001/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn#newcode51 build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn:51: # The handler is in Chromium.app/Contents/Versions/X/Chromium Framework.framework/Helpers/ I ...
4 years, 7 months ago (2016-05-06 22:30:18 UTC) #8
Robert Sesek
thakis: PTAL
4 years, 7 months ago (2016-05-09 19:38:31 UTC) #9
Nico
lgtm Feel free to throw a shoe (or similar) when I drag my feet -- ...
4 years, 7 months ago (2016-05-10 20:24:06 UTC) #11
Robert Sesek
On 2016/05/10 20:24:06, Nico wrote: > lgtm > > Feel free to throw a shoe ...
4 years, 7 months ago (2016-05-10 21:32:44 UTC) #12
Robert Sesek
brettw: looking for an OWNERS stamp
4 years, 7 months ago (2016-05-10 21:33:15 UTC) #13
brettw
lgtm
4 years, 7 months ago (2016-05-10 21:39:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961473003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961473003/120001
4 years, 7 months ago (2016-05-10 21:53:50 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/219389)
4 years, 7 months ago (2016-05-11 00:48:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961473003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961473003/120001
4 years, 7 months ago (2016-05-11 00:51:54 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 7 months ago (2016-05-11 02:14:09 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 02:15:08 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/02aa51cf444626f4781824c17178376c0459ad83
Cr-Commit-Position: refs/heads/master@{#392823}

Powered by Google App Engine
This is Rietveld 408576698