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

Issue 809583002: GN: add default target. (Closed)

Created:
6 years ago by Nick Bray (chromium)
Modified:
6 years ago
Reviewers:
jamesr
CC:
mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

GN: add default target. Previously, invoking ninja without specifying a target would cause it to try to build a number of unused and broken targets carried over from Chrome. This was worked around by building an explicit "root" target that contained only the targets needed by Mojo. The default (no target) build is now equivalent to "root". The "root" target still exists, but is now deprecated. BUG=https://code.google.com/p/chromium/issues/detail?id=401761 R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/e5ac34296f3aae1a632149708b1b5cfd6d6a30e4

Patch Set 1 #

Total comments: 1

Patch Set 2 : Deprecate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M BUILD.gn View 1 2 chunks +10 lines, -1 line 0 comments Download
M README.md View 1 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/tools/mojob.py View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (1 generated)
Nick Bray (chromium)
This will make Mojo's default build "just work." Should we remove the root target and ...
6 years ago (2014-12-16 00:07:20 UTC) #2
jamesr
Why? https://codereview.chromium.org/809583002/diff/1/DEPS File DEPS (right): https://codereview.chromium.org/809583002/diff/1/DEPS#newcode37 DEPS:37: 'buildtools_revision': '4995faa4a7ad968f1fa1917c26edd5cea295582f', this is not called out in ...
6 years ago (2014-12-16 00:09:41 UTC) #3
Nick Bray (chromium)
> Why? Why what? Currently Mojo's default build is broken and there's already been a ...
6 years ago (2014-12-16 00:31:29 UTC) #4
jamesr
The build I have generates a target named "default" that depends on the generated "all" ...
6 years ago (2014-12-16 00:41:35 UTC) #5
Nick Bray (chromium)
On 2014/12/16 00:41:35, jamesr wrote: > The build I have generates a target named "default" ...
6 years ago (2014-12-16 00:56:27 UTC) #6
jamesr
What does the new buildtools change about the target "default" relative to what's in my ...
6 years ago (2014-12-16 01:08:47 UTC) #7
jamesr
I found the gn patch. If you want to convert from //root to //default I ...
6 years ago (2014-12-16 01:38:26 UTC) #8
Nick Bray (chromium)
On 2014/12/16 01:08:47, jamesr wrote: > What does the new buildtools change about the target ...
6 years ago (2014-12-16 01:39:57 UTC) #9
jamesr
On 2014/12/16 01:38:26, jamesr wrote: > I found the gn patch. If you want to ...
6 years ago (2014-12-16 01:42:51 UTC) #10
Nick Bray (chromium)
PTAL Any other "root"s that need to be changed? Grep has too many false positives ...
6 years ago (2014-12-16 20:45:38 UTC) #11
jamesr
lgtm I think that's it - there might be other documentation floating around but we ...
6 years ago (2014-12-16 20:47:57 UTC) #12
Dirk Pranke
On 2014/12/16 20:47:57, jamesr wrote: > lgtm > > I think that's it - there ...
6 years ago (2014-12-16 21:01:14 UTC) #13
jamesr
On 2014/12/16 21:01:14, Dirk Pranke wrote: > Personally, I would not add the "root" wrapper ...
6 years ago (2014-12-16 21:05:58 UTC) #14
Nick Bray (chromium)
> Personally, I would not add the "root" wrapper target, and I'd wait to hear ...
6 years ago (2014-12-16 21:07:34 UTC) #15
Nick Bray (chromium)
6 years ago (2014-12-16 21:27:28 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e5ac34296f3aae1a632149708b1b5cfd6d6a30e4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698