summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-08 22:07:48 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-08 22:07:48 +0000
commit568d3f5d7b4d5aecc0ab0dc2f858a8c78b082e6a (patch)
treed9720f7eebd8a9fcf5a6b300d4425141c7b4841d
parentc40671f2093ca48862fb1212226c8ccb95d0adc9 (diff)
downloadchromium_src-568d3f5d7b4d5aecc0ab0dc2f858a8c78b082e6a.zip
chromium_src-568d3f5d7b4d5aecc0ab0dc2f858a8c78b082e6a.tar.gz
chromium_src-568d3f5d7b4d5aecc0ab0dc2f858a8c78b082e6a.tar.bz2
Add deps files and rules for the checkdeps script.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@600 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS10
-rw-r--r--base/DEPS3
-rw-r--r--base/debug_on_start.cc1
-rw-r--r--base/gfx/DEPS3
-rw-r--r--breakpad/DEPS1
-rw-r--r--chrome/DEPS14
-rw-r--r--chrome/app/DEPS6
-rw-r--r--chrome/browser/DEPS19
-rw-r--r--chrome/common/DEPS8
-rw-r--r--chrome/installer/DEPS4
-rw-r--r--chrome/renderer/DEPS4
-rw-r--r--chrome/test/DEPS4
-rw-r--r--chrome/test/perf/DEPS3
-rw-r--r--net/DEPS3
-rw-r--r--skia/DEPS2
-rw-r--r--third_party/DEPS1
-rw-r--r--webkit/build/JavaScriptCore/DEPS2
-rw-r--r--webkit/default_plugin/DEPS3
-rw-r--r--webkit/glue/DEPS3
-rw-r--r--webkit/glue/plugins/DEPS3
20 files changed, 97 insertions, 0 deletions
diff --git a/DEPS b/DEPS
index 4e3e26c..64ad090 100644
--- a/DEPS
+++ b/DEPS
@@ -20,3 +20,13 @@ deps = {
"src/webkit/data/layout_tests/LayoutTests":
"http://svn.webkit.org/repository/webkit/branches/Safari-3-1-branch/LayoutTests@31256",
}
+
+include_rules = [
+ # Everybody can use some things.
+ "+base",
+ "+build",
+
+ # For now, we allow ICU to be included by specifying "unicode/...", although
+ # this should probably change.
+ "+unicode"
+]
diff --git a/base/DEPS b/base/DEPS
new file mode 100644
index 0000000..45dc3e2
--- /dev/null
+++ b/base/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+third_party/zlib",
+]
diff --git a/base/debug_on_start.cc b/base/debug_on_start.cc
index 7ae6cd1..2600bf7 100644
--- a/base/debug_on_start.cc
+++ b/base/debug_on_start.cc
@@ -26,6 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
#include <windows.h>
#include "base/debug_on_start.h"
diff --git a/base/gfx/DEPS b/base/gfx/DEPS
new file mode 100644
index 0000000..9ba5a37
--- /dev/null
+++ b/base/gfx/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+skia"
+]
diff --git a/breakpad/DEPS b/breakpad/DEPS
new file mode 100644
index 0000000..d6e89fe
--- /dev/null
+++ b/breakpad/DEPS
@@ -0,0 +1 @@
+skip_subtree_includes = True
diff --git a/chrome/DEPS b/chrome/DEPS
new file mode 100644
index 0000000..618d1b3
--- /dev/null
+++ b/chrome/DEPS
@@ -0,0 +1,14 @@
+include_rules = [
+ "+net",
+
+ # The subdirectories in chrome/ will manually allow their own include
+ # directories in chrome/ so we disallow all of them.
+ "-chrome",
+ "+chrome/common",
+ "+chrome/test",
+
+ # Don't allow inclusion of these other libs we shouldn't be calling directly.
+ "-v8",
+ "-webkit",
+ "-tools",
+]
diff --git a/chrome/app/DEPS b/chrome/app/DEPS
new file mode 100644
index 0000000..caa6945
--- /dev/null
+++ b/chrome/app/DEPS
@@ -0,0 +1,6 @@
+include_rules = [
+ "+breakpad",
+ "+chrome/browser",
+ "+sandbox",
+ "+tools/memory_watcher",
+]
diff --git a/chrome/browser/DEPS b/chrome/browser/DEPS
new file mode 100644
index 0000000..525425e
--- /dev/null
+++ b/chrome/browser/DEPS
@@ -0,0 +1,19 @@
+include_rules = [
+ "+chrome/installer",
+ "+chrome/tools",
+ "+chrome/tools/profiles", # For history unit tests.
+ "+chrome/views",
+ "+webkit/activex_shim",
+ "+webkit/default_plugin",
+ "+webkit/glue", # Defines some types that are marshalled over IPC.
+
+ # Other libraries.
+ "+chrome/third_party/hunspell",
+ "+chrome/third_party/sqlite",
+ "+libxml", # For search engine definition parsing.
+ "+v8/public", # Browser uses V8 to get the version and run the debugger.
+
+ # FIXME: this should probably not be here, we need to find a better
+ # structure for these includes.
+ "+chrome/renderer",
+]
diff --git a/chrome/common/DEPS b/chrome/common/DEPS
new file mode 100644
index 0000000..bd0159c
--- /dev/null
+++ b/chrome/common/DEPS
@@ -0,0 +1,8 @@
+include_rules = [
+ "+chrome/plugin", # For checking whether we're a plugin process.
+
+ # Other libraries.
+ "+third_party/bzip2",
+ "+third_party/npapi",
+]
+
diff --git a/chrome/installer/DEPS b/chrome/installer/DEPS
new file mode 100644
index 0000000..530b46c
--- /dev/null
+++ b/chrome/installer/DEPS
@@ -0,0 +1,4 @@
+include_rules = [
+ "+third_party/bspatch",
+ "+third_party/lzma_sdk",
+]
diff --git a/chrome/renderer/DEPS b/chrome/renderer/DEPS
new file mode 100644
index 0000000..3632832
--- /dev/null
+++ b/chrome/renderer/DEPS
@@ -0,0 +1,4 @@
+include_rules = [
+ "+webkit/port", # For certain drawing, would be nice to not have.
+]
+
diff --git a/chrome/test/DEPS b/chrome/test/DEPS
new file mode 100644
index 0000000..20e075d
--- /dev/null
+++ b/chrome/test/DEPS
@@ -0,0 +1,4 @@
+include_rules = [
+ # The test directory can do whatever it wants in chrome.
+ "+chrome",
+]
diff --git a/chrome/test/perf/DEPS b/chrome/test/perf/DEPS
new file mode 100644
index 0000000..c35ddd5
--- /dev/null
+++ b/chrome/test/perf/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+webkit/third_party/WebCore/platform", # For URL parsing perf test.
+]
diff --git a/net/DEPS b/net/DEPS
new file mode 100644
index 0000000..b098819
--- /dev/null
+++ b/net/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+third_party/modp_b64",
+]
diff --git a/skia/DEPS b/skia/DEPS
new file mode 100644
index 0000000..5a51ebd
--- /dev/null
+++ b/skia/DEPS
@@ -0,0 +1,2 @@
+# Don't check include rules for Skia.
+skip_subtree_includes = True
diff --git a/third_party/DEPS b/third_party/DEPS
new file mode 100644
index 0000000..d6e89fe
--- /dev/null
+++ b/third_party/DEPS
@@ -0,0 +1 @@
+skip_subtree_includes = True
diff --git a/webkit/build/JavaScriptCore/DEPS b/webkit/build/JavaScriptCore/DEPS
new file mode 100644
index 0000000..8ae4cb5
--- /dev/null
+++ b/webkit/build/JavaScriptCore/DEPS
@@ -0,0 +1,2 @@
+# Don't check the includes here, since we include various WebKit things.
+skip_subtree_includes = True
diff --git a/webkit/default_plugin/DEPS b/webkit/default_plugin/DEPS
new file mode 100644
index 0000000..c753860
--- /dev/null
+++ b/webkit/default_plugin/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+third_party/libxml",
+]
diff --git a/webkit/glue/DEPS b/webkit/glue/DEPS
new file mode 100644
index 0000000..2a9131d
--- /dev/null
+++ b/webkit/glue/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+webkit/tools/test_shell", # Needed for test shell tests.
+]
diff --git a/webkit/glue/plugins/DEPS b/webkit/glue/plugins/DEPS
new file mode 100644
index 0000000..b1b4f45
--- /dev/null
+++ b/webkit/glue/plugins/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+third_party/mozilla/include",
+]