summaryrefslogtreecommitdiffstats
path: root/extensions/DEPS
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/DEPS')
-rw-r--r--extensions/DEPS11
1 files changed, 10 insertions, 1 deletions
diff --git a/extensions/DEPS b/extensions/DEPS
index d2bbec8..21a0ba6 100644
--- a/extensions/DEPS
+++ b/extensions/DEPS
@@ -13,7 +13,16 @@ include_rules = [
"+grit/extensions_resources.h",
"+mojo/public",
"+testing",
- "+ui",
+
+ # Minimal UI dependencies. There are two good rules for UI dependencies here:
+ #
+ # 1) UI components should only be added as they are needed, and
+ # 2) if //content doesn't allow it, //extensions probably won't allow it.
+ # (see for example ui/views)
+ "-ui",
+ "+ui/base",
+ "+ui/gfx",
+ "+ui/events",
# NOTE: Please do not add includes without talking to the app shell team;
# see OWNERS for this directory.