summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/DEPS11
-rw-r--r--extensions/components/native_app_window/DEPS3
-rw-r--r--extensions/shell/browser/DEPS8
-rw-r--r--extensions/test/DEPS1
4 files changed, 20 insertions, 3 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.
diff --git a/extensions/components/native_app_window/DEPS b/extensions/components/native_app_window/DEPS
index aa37418..a3755f9 100644
--- a/extensions/components/native_app_window/DEPS
+++ b/extensions/components/native_app_window/DEPS
@@ -1,4 +1,7 @@
include_rules = [
"+content/public/browser",
"+third_party/skia/include/core/SkRegion.h",
+
+ "+ui/aura",
+ "+ui/views",
]
diff --git a/extensions/shell/browser/DEPS b/extensions/shell/browser/DEPS
index b692a0a..3cb86f2 100644
--- a/extensions/shell/browser/DEPS
+++ b/extensions/shell/browser/DEPS
@@ -28,8 +28,12 @@ include_rules = [
"+storage/browser/quota",
"+sync/api",
- # Disallow views to keep the binary size down.
- "-ui/views",
+ # Additional UI dependencies for app_shell. Note that no particular UI toolkit
+ # is supported; only Aura and some necessary bits to set up display surfaces.
+ "+ui/aura",
+ "+ui/chromeos",
+ "+ui/display",
+ "+ui/wm",
"+third_party/cros_system_api",
diff --git a/extensions/test/DEPS b/extensions/test/DEPS
index 925491d..27ef4ea 100644
--- a/extensions/test/DEPS
+++ b/extensions/test/DEPS
@@ -1,4 +1,5 @@
include_rules = [
"+content/public",
"+mojo/edk/embedder",
+ "+ui/gl",
]