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
diff --git a/components/DEPS b/components/DEPS
index f863524..9a3d2459 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.