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

Issue 341533006: Make gn wrapper use the one in buildtools rather than tools/gn/bin. (Closed)

Created:
6 years, 6 months ago by brettw
Modified:
6 years, 3 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Make gn wrapper use the one in buildtools rather than tools/gn/bin. This updates some infrastructure to make it easy to get at the platform-specific build tools directories. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=279132

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -24 lines) Patch
M gclient_utils.py View 1 1 chunk +31 lines, -0 lines 0 comments Download
M gn.py View 1 1 chunk +7 lines, -24 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
brettw
Note that this can't be checked in until I enable actually pulling buildtools binaries in ...
6 years, 6 months ago (2014-06-18 00:43:19 UTC) #1
M-A Ruel
What about backward compatibility? E.g. checking out an older tree. https://codereview.chromium.org/341533006/diff/1/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/341533006/diff/1/gclient_utils.py#newcode653 ...
6 years, 6 months ago (2014-06-18 00:55:36 UTC) #2
brettw
On 2014/06/18 00:55:36, M-A Ruel wrote: > What about backward compatibility? E.g. checking out an ...
6 years, 6 months ago (2014-06-18 05:41:05 UTC) #3
brettw
https://codereview.chromium.org/341533006/diff/1/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/341533006/diff/1/gclient_utils.py#newcode653 gclient_utils.py:653: def GetBuildtoolsPath(): I think some more stuff will be ...
6 years, 6 months ago (2014-06-18 05:41:18 UTC) #4
brettw
On 2014/06/18 05:41:18, brettw wrote: > https://codereview.chromium.org/341533006/diff/1/gclient_utils.py > File gclient_utils.py (right): > > https://codereview.chromium.org/341533006/diff/1/gclient_utils.py#newcode653 > ...
6 years, 6 months ago (2014-06-18 17:20:53 UTC) #5
M-A Ruel
On 2014/06/18 17:20:53, brettw wrote: > On 2014/06/18 05:41:18, brettw wrote: > > https://codereview.chromium.org/341533006/diff/1/gclient_utils.py > ...
6 years, 6 months ago (2014-06-18 17:25:17 UTC) #6
brettw
iannucci: ping
6 years, 6 months ago (2014-06-19 22:45:58 UTC) #7
iannucci
lgtm, though I think having mac64 and win64 would be great (and erroring out if ...
6 years, 6 months ago (2014-06-20 22:24:22 UTC) #8
brettw
https://chromiumcodereview.appspot.com/341533006/diff/1/gclient_utils.py File gclient_utils.py (right): https://chromiumcodereview.appspot.com/341533006/diff/1/gclient_utils.py#newcode673 gclient_utils.py:673: subdir = 'mac' That doesn't really make sense. The ...
6 years, 6 months ago (2014-06-20 23:43:37 UTC) #9
iannucci
On 2014/06/20 23:43:37, brettw wrote: > https://chromiumcodereview.appspot.com/341533006/diff/1/gclient_utils.py > File gclient_utils.py (right): > > https://chromiumcodereview.appspot.com/341533006/diff/1/gclient_utils.py#newcode673 > ...
6 years, 6 months ago (2014-06-20 23:46:48 UTC) #10
brettw
The CQ bit was checked by brettw@chromium.org
6 years, 6 months ago (2014-06-23 17:21:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/341533006/1
6 years, 6 months ago (2014-06-23 17:22:39 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 17:24:43 UTC) #13
commit-bot: I haz the power
Presubmit check for 341533006-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 6 months ago (2014-06-23 17:24:43 UTC) #14
brettw
The CQ bit was checked by brettw@chromium.org
6 years, 6 months ago (2014-06-23 17:27:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/341533006/20001
6 years, 6 months ago (2014-06-23 17:28:45 UTC) #16
commit-bot: I haz the power
Change committed as 279132
6 years, 6 months ago (2014-06-23 17:30:35 UTC) #17
kjellander (google.com)
On 2014/06/23 17:30:35, I haz the power (commit-bot) wrote: > Change committed as 279132 This ...
6 years, 6 months ago (2014-06-26 12:28:53 UTC) #18
brettw
On 2014/06/26 12:28:53, kjellander (DO NOT USE THIS) wrote: > On 2014/06/23 17:30:35, I haz ...
6 years, 6 months ago (2014-06-26 17:11:57 UTC) #19
kjellander_chromium
On 2014/06/26 17:11:57, brettw wrote: > On 2014/06/26 12:28:53, kjellander (DO NOT USE THIS) wrote: ...
6 years, 6 months ago (2014-06-26 19:36:26 UTC) #20
brettw
On 2014/06/26 19:36:26, kjellander wrote: > On 2014/06/26 17:11:57, brettw wrote: > > On 2014/06/26 ...
6 years, 5 months ago (2014-06-30 17:43:49 UTC) #21
Dirk Pranke
this is a hassle, but maybe you can parse the .gclient and figure out the ...
6 years, 5 months ago (2014-06-30 21:27:51 UTC) #22
iannucci
On 2014/06/30 21:27:51, Dirk Pranke wrote: > this is a hassle, but maybe you can ...
6 years, 5 months ago (2014-06-30 21:34:15 UTC) #23
iannucci
On 2014/06/30 21:34:15, iannucci wrote: > On 2014/06/30 21:27:51, Dirk Pranke wrote: > > this ...
6 years, 5 months ago (2014-06-30 21:34:52 UTC) #24
cjhopman
On 2014/06/30 21:34:52, iannucci wrote: > On 2014/06/30 21:34:15, iannucci wrote: > > On 2014/06/30 ...
6 years, 3 months ago (2014-09-19 21:49:51 UTC) #25
cjhopman
On 2014/09/19 21:49:51, cjhopman wrote: > On 2014/06/30 21:34:52, iannucci wrote: > > On 2014/06/30 ...
6 years, 3 months ago (2014-09-19 21:50:06 UTC) #26
cjhopman
6 years, 3 months ago (2014-09-19 21:51:46 UTC) #27
Message was sent while issue was closed.
On 2014/09/19 21:50:06, cjhopman wrote:
> On 2014/09/19 21:49:51, cjhopman wrote:
> > On 2014/06/30 21:34:52, iannucci wrote:
> > > On 2014/06/30 21:34:15, iannucci wrote:
> > > > On 2014/06/30 21:27:51, Dirk Pranke wrote:
> > > > > this is a hassle, but maybe you can parse the .gclient and figure out
> the
> > > dir
> > > > > name of the first solution, which presumably is either 'src' or
'trunk'
> ?
> > > > 
> > > > The other thing we should consider is to turn on 'use_relative_paths' in
> the
> > > > chromium DEPS file. There are still a lot of places which assume 'src',
> but
> > > this
> > > > is a big one (and in general, I think it's a poor assumption which leads
> to
> > > > problems like this one).
> > > 
> > > Oh. Nevermind. That won't help.
> > > 
> > > We should do that anyway though :)
> > 
> > Ugh, this broke android internal builds too and I'm definitely subscribed to
> > gn-dev (though I obviously don't sync depot_tools very often).
> 
> That is, gn builds with android internal checkouts.

and it was actually the fix in https://codereview.chromium.org/538393002 that
broke android

Powered by Google App Engine
This is Rietveld 408576698