Commit 59e3a98e authored by James Cook's avatar James Cook Committed by Commit Bot

cros: Restrict DEPS on ash in //chrome/browser/extensions

For go/mustash we're putting code in //ash into a separate process, so
code in //chrome/browser cannot call directly into it. Restrict DEPS in
//c/b/extensions to make that clearer.

Bug: 678705
Test: checkdeps
Change-Id: I22c707564930c3dce70f5c2576c3dfacc44c1d22
Reviewed-on: https://chromium-review.googlesource.com/747062Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512904}
parent 45a78cec
include_rules = [
# TODO(mash): Remove. http://crbug.com/678705
"+ash",
# Only public interfaces allowed. See //ash/README.md
"+ash/public/cpp",
"+components/chrome_apps",
"+components/crx_file",
"+components/strings/grit/components_strings.h",
......@@ -14,3 +13,21 @@ include_rules = [
# For access to testing command line switches.
"+ppapi/shared_impl",
]
specific_include_rules = {
"bookmark_app_helper\.cc": [
# TODO(mash): Remove. http://crbug.com/678705
"+ash/shell.h",
],
"display_info_provider_chromeos(|_unittest)\.cc": [
# TODO(mash): Remove. http://crbug.com/678705
"+ash/display",
"+ash/shell.h",
"+ash/test",
"+ash/touch",
"+ash/wm/tablet_mode/tablet_mode_controller.h",
],
"launch_util\.cc": [
# TODO(mash): Remove. http://crbug.com/678705
"+ash/shell.h",
],
}
include_rules = [
# TODO(mash): Remove. http://crbug.com/678705
"+ash/accelerators/accelerator_controller.h",
"+ash/shell.h",
]
include_rules = [
# TODO(mash): Remove. http://crbug.com/678705
"+ash/shell.h",
"+media/audio"
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment