Commit af6e075d authored by scottmg@chromium.org's avatar scottmg@chromium.org

additions to DEPS to avoid third_party/WebKit in browser

To chrome/browser/DEPS and content/browser/DEPS to prevent more
third_party/WebKit includes.

R=jamesr@chromium.org, sky@chromium.org
BUG=237267

Review URL: https://codereview.chromium.org/17261033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207838 0039d316-1c4b-4281-b951-d872f2087c98
parent b45fcad6
...@@ -89,4 +89,35 @@ include_rules = [ ...@@ -89,4 +89,35 @@ include_rules = [
"+third_party/re2", "+third_party/re2",
"+third_party/sqlite", "+third_party/sqlite",
"+third_party/undoview", "+third_party/undoview",
# No inclusion of WebKit from the browser, other than strictly enum/POD,
# header-only types, and some selected common code.
"-third_party/WebKit",
"+third_party/WebKit/public/platform/WebCString.h",
"+third_party/WebKit/public/platform/WebRect.h",
"+third_party/WebKit/public/platform/WebReferrerPolicy.h",
"+third_party/WebKit/public/platform/WebScreenInfo.h",
"+third_party/WebKit/public/platform/WebString.h",
"+third_party/WebKit/public/platform/WebURL.h",
"+third_party/WebKit/public/web/WebAutofillClient.h",
"+third_party/WebKit/public/web/WebCache.h",
"+third_party/WebKit/public/web/WebContextMenuData.h",
"+third_party/WebKit/public/web/WebCursorInfo.h",
"+third_party/WebKit/public/web/WebDevToolsAgent.h",
"+third_party/WebKit/public/web/WebFindOptions.h",
"+third_party/WebKit/public/web/WebInputEvent.h",
"+third_party/WebKit/public/web/WebMediaPlayerAction.h",
"+third_party/WebKit/public/web/WebNotificationPresenter.h",
"+third_party/WebKit/public/web/WebPluginAction.h",
"+third_party/WebKit/public/web/WebScreenInfo.h",
"+third_party/WebKit/public/web/WebTextDirection.h",
# These should be burned down. http://crbug.com/237267
"!third_party/WebKit/public/platform/WebData.h",
"!third_party/WebKit/public/platform/WebHTTPBody.h",
"!third_party/WebKit/public/web/WebHistoryItem.h",
"!third_party/WebKit/public/web/WebKit.h",
"!third_party/WebKit/public/web/WebSecurityOrigin.h",
"!third_party/WebKit/public/web/WebSecurityPolicy.h",
"!third_party/WebKit/public/web/WebView.h",
] ]
...@@ -28,6 +28,48 @@ include_rules = [ ...@@ -28,6 +28,48 @@ include_rules = [
"-webkit/child", "-webkit/child",
"-webkit/renderer", "-webkit/renderer",
# No inclusion of WebKit from the browser, other than strictly enum/POD,
# header-only types, and some selected common code.
"-third_party/WebKit",
"+third_party/WebKit/public/platform/WebGamepads.h",
"+third_party/WebKit/public/platform/WebGraphicsContext3D.h",
"+third_party/WebKit/public/platform/WebIDBDatabase.h",
"+third_party/WebKit/public/platform/WebIDBDatabaseException.h",
"+third_party/WebKit/public/platform/WebIDBKeyPath.h",
"+third_party/WebKit/public/platform/WebReferrerPolicy.h",
"+third_party/WebKit/public/platform/WebScreenInfo.h",
"+third_party/WebKit/public/platform/WebString.h",
"+third_party/WebKit/public/web/WebCompositionUnderline.h",
"+third_party/WebKit/public/web/WebConsoleMessage.h",
"+third_party/WebKit/public/web/WebCursorInfo.h",
"+third_party/WebKit/public/web/WebDevToolsAgent.h",
"+third_party/WebKit/public/web/WebDragOperation.h",
"+third_party/WebKit/public/web/WebDragStatus.h",
"+third_party/WebKit/public/web/WebFindOptions.h",
"+third_party/WebKit/public/web/WebInputEvent.h",
"+third_party/WebKit/public/web/WebMediaPlayerAction.h",
"+third_party/WebKit/public/web/WebNotificationPresenter.h",
"+third_party/WebKit/public/web/WebPageSerializerClient.h",
"+third_party/WebKit/public/web/WebPluginAction.h",
"+third_party/WebKit/public/web/WebPopupType.h",
"+third_party/WebKit/public/web/WebScreenInfo.h",
"+third_party/WebKit/public/web/WebTextDirection.h",
# These should be burned down. http://crbug.com/237267
"!third_party/WebKit/public/platform/WebData.h",
"!third_party/WebKit/public/platform/WebIDBDatabaseError.h",
"!third_party/WebKit/public/platform/WebIDBKey.h",
"!third_party/WebKit/public/platform/WebURL.h",
"!third_party/WebKit/public/web/WebBindings.h",
"!third_party/WebKit/public/web/WebKit.h",
"!third_party/WebKit/public/web/WebSecurityOrigin.h",
"!third_party/WebKit/public/web/WebView.h",
"!third_party/WebKit/public/web/android/WebInputEventFactory.h",
"!third_party/WebKit/public/web/gtk/WebInputEventFactory.h",
"!third_party/WebKit/public/web/linux/WebFontInfo.h",
"!third_party/WebKit/public/web/mac/WebInputEventFactory.h",
"!third_party/WebKit/public/web/win/WebInputEventFactory.h",
# DO NOT ADD ANY CHROME OR COMPONENTS INCLUDES HERE!!! # DO NOT ADD ANY CHROME OR COMPONENTS INCLUDES HERE!!!
# See https://sites.google.com/a/chromium.org/dev/developers/content-module # See https://sites.google.com/a/chromium.org/dev/developers/content-module
# for more information. # for more information.
......
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