diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-14 16:17:53 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-14 16:17:53 -0700 |
commit | 0c96176e6fb4ef37194e7bbff1b04e482e19df89 (patch) | |
tree | 668bc193b8dd4a207ab6fd586030d40ebabab5ef | |
parent | d1b0a8d9dc71c67b4ce67f148cebc01d66d1d983 (diff) | |
download | pdfium-0c96176e6fb4ef37194e7bbff1b04e482e19df89.tar.xz |
Tighten up DEPS include rules.
Allows the following command to return only legitimate
warnings:
buildtools/checkdeps/checkdeps.py --resolve-dotdot
The remaining warnings consist of:
- fx_parser_filters.cpp, due to inclusion of
third_party/zlib_v128/zlib.h, showing the lack
of a header and some prototypes in that .cpp file.
- third_party/*, due to inclusion of fx_system.h and
the like, indicating adulterated libraries that should
be restored to their pristine state.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1233583004 .
-rw-r--r-- | DEPS | 3 | ||||
-rw-r--r-- | core/src/fxcodec/DEPS | 6 | ||||
-rw-r--r-- | fpdfsdk/DEPS | 4 | ||||
-rw-r--r-- | samples/DEPS | 4 | ||||
-rw-r--r-- | testing/DEPS | 4 |
5 files changed, 19 insertions, 2 deletions
@@ -31,11 +31,10 @@ deps_os = { } include_rules = [ - '+core/include', - '+fpdfsdk/include', '+public', '+testing', '+third_party/base', + '+v8', ] hooks = [ diff --git a/core/src/fxcodec/DEPS b/core/src/fxcodec/DEPS new file mode 100644 index 0000000000..48eaa048e0 --- /dev/null +++ b/core/src/fxcodec/DEPS @@ -0,0 +1,6 @@ +include_rules = [ + '+third_party/lcms2-2.6', + '+third_party/libjpeg', + '+third_party/libopenjpeg20', + '+third_party/zlib_v128', +]
\ No newline at end of file diff --git a/fpdfsdk/DEPS b/fpdfsdk/DEPS new file mode 100644 index 0000000000..3e7856369b --- /dev/null +++ b/fpdfsdk/DEPS @@ -0,0 +1,4 @@ +include_rules = [ + '+core/include', + '+javascript', +] diff --git a/samples/DEPS b/samples/DEPS new file mode 100644 index 0000000000..cf2a702a7e --- /dev/null +++ b/samples/DEPS @@ -0,0 +1,4 @@ +include_rules = [ + '+fx_lpng', + '+third_party/zlib_v128', +]
\ No newline at end of file diff --git a/testing/DEPS b/testing/DEPS new file mode 100644 index 0000000000..c7267d3b70 --- /dev/null +++ b/testing/DEPS @@ -0,0 +1,4 @@ +include_rules = [ + '+core/include', + '+fpdfsdk/include', +]
\ No newline at end of file |