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

Issue 1540953003: Move base GN subprojects into base. (Closed)

Created:
5 years ago by brettw
Modified:
4 years, 8 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, gavinp+memory_chromium.org, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move base GN subprojects into base. These were all subprojects to keep the build files closer to the source, as is GN style. However, because there is no API separation, this was messy and required whitelisting circular header includes. We need to make base a static library in a non-component build for code stripping purposes, and this change requires that the type of each of these subprojects be either a source set in a component build, or a static library in a static build. Not doing this conditional typing was the reason https://codereview.chromium.org/1528233002/ was reverted. Because of these problems, it's better to just have base be a big target like it is in GYP. We can remove the weird whitelisting for the header checker, and not have to add conditional target types for every one for the static library issue. This makes the debugging flags a public dep of base, and removes chrome/ui's dependency on it, just depending on base instead. The output name of chrome_browser_ui was removed since the target is a source set and the name can collide. TBR=dpranke@chromium.org Committed: https://crrev.com/c44e20582891a9c7e587f4143c490d99ea3eac73 Cr-Commit-Position: refs/heads/master@{#366480}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -585 lines) Patch
M base/BUILD.gn View 26 chunks +387 lines, -42 lines 0 comments Download
D base/debug/BUILD.gn View 1 chunk +0 lines, -87 lines 0 comments Download
D base/json/BUILD.gn View 1 chunk +0 lines, -39 lines 0 comments Download
D base/memory/BUILD.gn View 1 chunk +0 lines, -85 lines 0 comments Download
D base/metrics/BUILD.gn View 1 chunk +0 lines, -53 lines 0 comments Download
D base/process/BUILD.gn View 1 chunk +0 lines, -127 lines 0 comments Download
D base/trace_event/BUILD.gn View 1 chunk +0 lines, -148 lines 0 comments Download
M base/trace_event/etw_manifest/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 2 chunks +1 line, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1540953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1540953003/1
5 years ago (2015-12-21 22:06:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1540953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1540953003/1
5 years ago (2015-12-21 22:29:27 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-21 22:52:16 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c44e20582891a9c7e587f4143c490d99ea3eac73 Cr-Commit-Position: refs/heads/master@{#366480}
5 years ago (2015-12-21 22:53:16 UTC) #12
Nico
this means i have to do silly build.gn stamps like in https://codereview.chromium.org/1900223003/ every now and ...
4 years, 8 months ago (2016-04-22 19:51:40 UTC) #14
brettw
On 2016/04/22 19:51:40, Nico wrote: > this means i have to do silly build.gn stamps ...
4 years, 8 months ago (2016-04-22 20:45:57 UTC) #15
Dirk Pranke
On 2016/04/22 20:45:57, brettw wrote: > On 2016/04/22 19:51:40, Nico wrote: > > this means ...
4 years, 8 months ago (2016-04-22 23:23:34 UTC) #16
brettw
On 2016/04/22 23:23:34, Dirk Pranke wrote: > On 2016/04/22 20:45:57, brettw wrote: > > On ...
4 years, 8 months ago (2016-04-24 23:20:01 UTC) #17
Dirk Pranke
On 2016/04/24 23:20:01, brettw wrote: > On 2016/04/22 23:23:34, Dirk Pranke wrote: > > On ...
4 years, 8 months ago (2016-04-24 23:35:08 UTC) #18
Dirk Pranke
4 years, 8 months ago (2016-04-24 23:36:33 UTC) #19
Message was sent while issue was closed.
As an aside, 'complete_static_lib' doesn't show up as a flag in the help for
static_library ...

Powered by Google App Engine
This is Rietveld 408576698