Commit 05ada90e authored by Joe Mason's avatar Joe Mason Committed by Commit Bot

Stop //chrome/chrome_cleaner include_rules inheriting from //chrome

chrome_cleaner is built into a separate executable from chrome, so many
of chrome's include_rules shouldn't apply to it.

Also moves several common dirs to chrome_cleaner's main DEPS file so they're
allowed in the whole chrome_cleaner project. The remaining includes that are
only allowed in some subdirs are:

* components/crx_file (only used in the component that unpacks CRX's)
* mojo/core/embedder (only used in IPC setup, and by some tests - mojo/public is allowed everywhere)
* net/traffic_annotation (only used in networking code)
* third_party/crashpad (only used in the crash reporter)
* third_party/zlib (only used in the unpacker component and zip_archiver)

R=proberge

Bug: 967728
Change-Id: I96dc59014ebb9be0e0483a190e000f42902b49da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1749249Reviewed-by: default avatarproberge <proberge@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Joe Mason <joenotcharles@google.com>
Cr-Commit-Position: refs/heads/master@{#686468}
parent 29d3361f
# chrome_cleaner is built into a separate executable and should not inherit
# rules from chromium.
noparent = True
include_rules = [ include_rules = [
"+base",
"+components/chrome_cleaner", "+components/chrome_cleaner",
"+crypto",
"+mojo/public",
"+sandbox/win/src", "+sandbox/win/src",
"+testing",
"+third_party/protobuf/src/google/protobuf", "+third_party/protobuf/src/google/protobuf",
"+url",
] ]
include_rules = [
"+components/chrome_cleaner",
]
include_rules = [
"+components/chrome_cleaner",
]
include_rules = [
"+mojo/public",
]
include_rules = [ include_rules = [
"+mojo/core/embedder", "+mojo/core/embedder",
"+mojo/public/cpp",
] ]
include_rules = [ include_rules = [
"+net/traffic_annotation", "+net/traffic_annotation",
"+url",
] ]
include_rules = [ include_rules = [
# Allow the typemaps to access their dependencies.
'+mojo/public/cpp/bindings',
'+mojo/public/cpp/base',
'+mojo/public/cpp/system/platform_handle.h',
# Allow unit tests to set up a mojo embedder. # Allow unit tests to set up a mojo embedder.
'+mojo/core/embedder', '+mojo/core/embedder',
] ]
include_rules = [
"+components/chrome_cleaner/public/constants",
]
include_rules = [
"+mojo/public/cpp",
]
include_rules = [
"+mojo/public",
]
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