Chromium Code Reviews| Index: components/DEPS |
| diff --git a/components/DEPS b/components/DEPS |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..eb8bee4b0f2bd51d5ead64f9ce6724b22dadb42d |
| --- /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", |
|
jam
2012/12/19 17:12:58
nit: technically the two negative lines aren't nee
Jói
2012/12/20 15:16:32
Right, I just thought the file would be clearer fo
|
| + |
| + # 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", |
| +] |