Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: third_party/WebKit/Source/platform/weborigin/DEPS

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/weborigin/DEPS
diff --git a/third_party/WebKit/Source/platform/weborigin/DEPS b/third_party/WebKit/Source/platform/weborigin/DEPS
index 41871a218f92a7a3cba167d6d33ca18fe81790e2..0521df73aeb91cbfe2e549aec48a6694d5648691 100644
--- a/third_party/WebKit/Source/platform/weborigin/DEPS
+++ b/third_party/WebKit/Source/platform/weborigin/DEPS
@@ -2,4 +2,18 @@ include_rules = [
# net/ includes should be allowed only in a limited set of directories,
# so we have separate DEPS from platform's one.
"+net/base",
+
+ # weborigin sits below platform in the layer tree, so can't include headers
+ # from it. The exception is RuntimeEnabledFeatures which is its own
+ # component.
+ "-platform",
+ "-public/platform",
+ "+platform/weborigin",
+ "+platform/RuntimeEnabledFeatures.h",
]
+
+specific_include_rules = {
+ ".*Test\.cpp": [
+ "+platform",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/BUILD.gn ('k') | third_party/WebKit/Source/platform/weborigin/KURL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698