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

Issue 1424443002: Make compat export include_dirs to all dependents (Closed)

Created:
5 years, 2 months ago by scottmg
Modified:
5 years, 2 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Make compat export include_dirs to all dependents At the moment, when I try to build a .cc that includes third_party/crashpad/crashpad/client/<something>.h in Chromium, I get compile errors about ssize_t in util/file/file_io.h. One possible solution is to push the include dir exports out to everything (which is what's in this CL). I think this will probably work, but I'm not sure if it's a great idea. I'm a little nervous about using the fake #include_next more broadly (i.e. exposing it to Chromium), so maybe we should instead say that client cannot use compat. I added the dependency here: https://codereview.chromium.org/875043004/ which was maybe a mistake. In practice it only seems to be for ssize_t usage in util headers, so file_io.h could just have it's own typedef for that. R=mark@chromium.org BUG=chromium:546288, crashpad:1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M compat/compat.gyp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
scottmg
5 years, 2 months ago (2015-10-22 19:49:53 UTC) #3
Mark Mentovai
I think that this leaks too much. I’ve rarely seen any good use of all_dependent_settings.
5 years, 2 months ago (2015-10-22 20:27:32 UTC) #5
scottmg
5 years, 2 months ago (2015-10-22 20:55:16 UTC) #6
On 2015/10/22 20:27:32, Mark Mentovai wrote:
> I think that this leaks too much.
> 
> I’ve rarely seen any good use of all_dependent_settings.

Agreed, closing.

Powered by Google App Engine
This is Rietveld 408576698