DescriptionMove 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 #
Dependent Patchsets: Messages
Total messages: 19 (9 generated)
|