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

Issue 638793002: base: Fix gn check errors on base/allocator. (Closed)

Created:
6 years, 2 months ago by tfarina
Modified:
5 years, 11 months ago
Reviewers:
jamesr, brettw
CC:
chromium-reviews, wfh+watch_chromium.org, erikwright+watch_chromium.org, dmikurube+memory_chromium.org, jamesr, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

base: Fix gn check errors on base/allocator. Fix a bunch of errors like: ERROR at //third_party/tcmalloc/chromium/src/base/abort.cc:7:11: Include not allowed. ^---------------- It is not in any dependency of //base/allocator:tcmalloc The include file is in the target(s): //base:base which should somehow be reachable from //base/allocator:tcmalloc After this, //base/* is `gn check` clean. BUG=None TEST=out/Debug/gn check out_gn/Debug //base/* R=brettw@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/allocator/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
tfarina
Is this fine? ptal.
6 years, 2 months ago (2014-10-08 02:09:42 UTC) #1
brettw
I guess so. lgtm but I'm not a base owner any more.
6 years, 2 months ago (2014-10-08 04:51:13 UTC) #2
jamesr
This doesn't look right - I think the header checker is getting confused about the ...
6 years, 2 months ago (2014-10-08 20:07:42 UTC) #4
tfarina
On 2014/10/08 20:07:42, jamesr wrote: > This doesn't look right - I think the header ...
6 years, 2 months ago (2014-10-09 02:22:25 UTC) #5
tfarina
6 years, 2 months ago (2014-10-09 02:27:19 UTC) #6
On 2014/10/09 02:22:25, tfarina wrote:
> On 2014/10/08 20:07:42, jamesr wrote:
> > This doesn't look right - I think the header checker is getting confused
about
> > the relative include paths used by third_party/tcmalloc/chromium/src/base or
> > we're setting the wrong include paths.  That code is not intended to use the
> > basictypes.h from chromium's base/ directory

Yeah, I have to agree with that. I don't like the solution either, hence I
didn't did it together with the other gn check patch I did for patch.

So, we have third_party/tcmalloc/chromium/src, but that is built by
base/allocator? Do you know the motivation?

I think I won't land this ;)

Would be feasible/possible to change tcmalloc includes to
third_party/tcmalloc/chromium/src/base/basictypes.h, for example?

Powered by Google App Engine
This is Rietveld 408576698