summaryrefslogtreecommitdiffstats
path: root/components/DEPS
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-27 11:44:00 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-27 11:44:00 +0000
commit5ec3ed8f21662b76ca763937f312e1964f1e3cb3 (patch)
treed327aea78a19f54b72594a42574909e9d1dcd9e8 /components/DEPS
parenta97de84b92fc37b731ae28d70c19141ff2abf81c (diff)
downloadchromium_src-5ec3ed8f21662b76ca763937f312e1964f1e3cb3.zip
chromium_src-5ec3ed8f21662b76ca763937f312e1964f1e3cb3.tar.gz
chromium_src-5ec3ed8f21662b76ca763937f312e1964f1e3cb3.tar.bz2
Establish src/components/ directory.
TBR=ben@chromium.org BUG=138280 Review URL: https://chromiumcodereview.appspot.com/11648012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/DEPS')
-rw-r--r--components/DEPS17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/DEPS b/components/DEPS
new file mode 100644
index 0000000..eb8bee4
--- /dev/null
+++ b/components/DEPS
@@ -0,0 +1,17 @@
+include_rules = [
+ # Do not add chrome/ as an allowed include. Components MUST NOT
+ # depend on anything under src/chrome.
+ "-chrome",
+
+ # 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.
+ #
+ # Subdirectories of e.g. src/components/component_name should add
+ # the additional parts of the Content API that they need,
+ # e.g. components/component_name/browser/DEPS would add a
+ # "+content/public/browser" rule.
+ "-content",
+ "+content/public/common",
+ "+content/public/test",
+]