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

Issue 721903002: Cleanup public includes directory. (Closed)

Created:
6 years, 1 month ago by djsollen
Modified:
6 years, 1 month ago
Reviewers:
bungeman-skia, reed, borenet, reed1
CC:
reviews_skia.org, tfarina
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Cleanup public includes directory. This CL updates various files in the includes directory to ensure that (1) they do not depend on headers in /src and (2) that they minimize their dependence on external headers. To ensure that we don't regress this behavior a new build target has been added to build a single cpp file that contains all* public includes and is compiled with only those directories in the include path. * The exception is those includes that depend on OS specific headers BUG=skia:2941 NOTRY=true Committed: https://skia.googlesource.com/skia/+/0b17d6cb343cb71a3f548a02f0952c3592fc8c87

Patch Set 1 #

Patch Set 2 : exclude chrome header #

Patch Set 3 : remove old include #

Patch Set 4 : fix mac builds #

Patch Set 5 : fix ios #

Total comments: 13

Patch Set 6 : lowecase regexi #

Patch Set 7 : comments and win fix #

Patch Set 8 : fixing windows AGAIN! #

Total comments: 1

Patch Set 9 : rebase #

Patch Set 10 : more angle bot issues #

Patch Set 11 : &^%%$# #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -264 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 5 6 7 8 9 10 2 chunks +70 lines, -0 lines 0 comments Download
M include/core/SkWriteBuffer.h View 2 chunks +1 line, -1 line 0 comments Download
D include/gpu/GrFontScaler.h View 1 chunk +0 lines, -86 lines 0 comments Download
D include/gpu/GrGlyph.h View 1 chunk +0 lines, -90 lines 0 comments Download
D include/views/android/AndroidKeyToSkKey.h View 1 chunk +0 lines, -35 lines 0 comments Download
D include/views/unix/XkeysToSkKeys.h View 1 chunk +0 lines, -38 lines 0 comments Download
D include/views/unix/keysym2ucs.h View 1 chunk +0 lines, -15 lines 0 comments Download
M include/xml/SkBML_WXMLParser.h View 1 chunk +1 line, -1 line 0 comments Download
A + platform_tools/android/app/jni/AndroidKeyToSkKey.h View 0 chunks +-1 lines, --1 lines 0 comments Download
M platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 chunk +1 line, -0 lines 0 comments Download
A + src/gpu/GrFontScaler.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/gpu/GrGlyph.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/views/unix/XkeysToSkKeys.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/views/unix/keysym2ucs.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/generate_includes_cpp.py View 1 2 3 4 5 6 7 8 9 1 chunk +73 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
djsollen
6 years, 1 month ago (2014-11-12 21:09:51 UTC) #2
djsollen
Adding Ben and Eric to look at the gyp and python changes respectively
6 years, 1 month ago (2014-11-13 14:03:19 UTC) #4
reed1
non-python lgtm
6 years, 1 month ago (2014-11-13 14:06:59 UTC) #6
tfarina
Could you include BUG=skia:2941 in the CL description?
6 years, 1 month ago (2014-11-13 14:56:25 UTC) #7
borenet
https://codereview.chromium.org/721903002/diff/80001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/721903002/diff/80001/gyp/tools.gyp#newcode681 gyp/tools.gyp:681: #'<@(paths_to_ignore)', I don't think this needs to be listed ...
6 years, 1 month ago (2014-11-13 15:13:35 UTC) #8
djsollen
https://codereview.chromium.org/721903002/diff/80001/tools/generate_includes_cpp.py File tools/generate_includes_cpp.py (right): https://codereview.chromium.org/721903002/diff/80001/tools/generate_includes_cpp.py#newcode12 tools/generate_includes_cpp.py:12: On 2014/11/13 15:13:34, borenet wrote: > Nit: 2 lines ...
6 years, 1 month ago (2014-11-13 15:45:27 UTC) #9
borenet
Python and GYP lgtm
6 years, 1 month ago (2014-11-13 15:49:11 UTC) #10
bungeman-skia
lgtm with nit https://codereview.chromium.org/721903002/diff/140001/tools/generate_includes_cpp.py File tools/generate_includes_cpp.py (right): https://codereview.chromium.org/721903002/diff/140001/tools/generate_includes_cpp.py#newcode13 tools/generate_includes_cpp.py:13: import posixpath p should come before ...
6 years, 1 month ago (2014-11-13 18:13:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721903002/200001
6 years, 1 month ago (2014-11-13 20:32:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/676)
6 years, 1 month ago (2014-11-13 20:49:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721903002/200001
6 years, 1 month ago (2014-11-13 20:52:03 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-13 20:52:39 UTC) #18
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/0b17d6cb343cb71a3f548a02f0952c3592fc8c87

Powered by Google App Engine
This is Rietveld 408576698