summaryrefslogtreecommitdiffstats
path: root/chrome
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 /chrome
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
Diffstat (limited to 'chrome')
-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
8 files changed, 62 insertions, 0 deletions
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.
+]