From 0c96176e6fb4ef37194e7bbff1b04e482e19df89 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 14 Jul 2015 16:17:53 -0700 Subject: 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 . --- DEPS | 3 +-- core/src/fxcodec/DEPS | 6 ++++++ fpdfsdk/DEPS | 4 ++++ samples/DEPS | 4 ++++ testing/DEPS | 4 ++++ 5 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 core/src/fxcodec/DEPS create mode 100644 fpdfsdk/DEPS create mode 100644 samples/DEPS create mode 100644 testing/DEPS diff --git a/DEPS b/DEPS index 9283bf5114..8f96330581 100644 --- a/DEPS +++ b/DEPS @@ -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 -- cgit v1.2.3