summaryrefslogtreecommitdiffstats
path: root/components/DEPS
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 18:41:55 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 18:41:55 +0000
commit0833f12ede3ce8e9f97cdc3f6828ef6249113955 (patch)
tree58ec296fcbce9e680fcfea3a57612ea89a8f798c /components/DEPS
parent0a8718b1af7471311e614c69f97c66d03c9beead (diff)
downloadchromium_src-0833f12ede3ce8e9f97cdc3f6828ef6249113955.zip
chromium_src-0833f12ede3ce8e9f97cdc3f6828ef6249113955.tar.gz
chromium_src-0833f12ede3ce8e9f97cdc3f6828ef6249113955.tar.bz2
Make components explicitly declare dependencies on other components.
BUG=314560 Review URL: https://codereview.chromium.org/62333016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/DEPS')
-rw-r--r--components/DEPS5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/DEPS b/components/DEPS
index f863524..9a3d245 100644
--- a/components/DEPS
+++ b/components/DEPS
@@ -1,6 +1,11 @@
include_rules = [
# Do not add chrome/ as an allowed include.
+ # Individual components must explicitly declare their dependencies
+ # on other components. Cycles in the dependency graph within
+ # components/ are not allowed.
+ "-components",
+
# Components should only depend on the public Content API, and on
# layers below the Content Module. They must not depend on the
# implementation of the Content Module.