Tighten up DEPS include rules.
authorTom Sepez <tsepez@chromium.org>
Tue, 14 Jul 2015 23:17:53 +0000 (16:17 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 14 Jul 2015 23:17:53 +0000 (16:17 -0700)
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
core/src/fxcodec/DEPS [new file with mode: 0644]
fpdfsdk/DEPS [new file with mode: 0644]
samples/DEPS [new file with mode: 0644]
testing/DEPS [new file with mode: 0644]

diff --git a/DEPS b/DEPS
index 9283bf5..8f96330 100644 (file)
--- 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 (file)
index 0000000..48eaa04
--- /dev/null
@@ -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 (file)
index 0000000..3e78563
--- /dev/null
@@ -0,0 +1,4 @@
+include_rules = [
+  '+core/include',
+  '+javascript',
+]
diff --git a/samples/DEPS b/samples/DEPS
new file mode 100644 (file)
index 0000000..cf2a702
--- /dev/null
@@ -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 (file)
index 0000000..c7267d3
--- /dev/null
@@ -0,0 +1,4 @@
+include_rules = [
+  '+core/include',
+  '+fpdfsdk/include',
+]
\ No newline at end of file