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

Unified Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 1945473002: Break dependencies of browser -> blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android filter Created 4 years, 8 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/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 18761500ffda8a6715d0f6abb373b15a66940f06..2c0a995bce98a2f95ff6590f8c5e7e92be047866 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -26,11 +26,17 @@ component("blink_common") {
visibility = [] # Allow re-assignment of list.
visibility = [ "//third_party/WebKit/*" ]
sources = [
+ "../web/WebInputEvent.cpp",
"exported/FilePathConversion.cpp",
"exported/URLConversion.cpp",
"exported/WebCString.cpp",
"exported/WebString.cpp",
+ "exported/linux/WebFontRenderStyle.cpp",
]
+ if (is_android) {
+ set_sources_assignment_filter([])
+ sources += [ "exported/linux/WebFontRenderStyle.cpp" ]
+ }
defines = [
"BLINK_COMMON_IMPLEMENTATION=1",
@@ -48,6 +54,10 @@ component("blink_common") {
"//third_party/WebKit/Source/wtf",
"//url",
]
+
+ public_deps = [
+ "//skia",
+ ]
}
# FontFamilyNames action in make_platform_generated in
@@ -345,6 +355,7 @@ component("platform") {
"//v8",
]
deps = [
+ ":blink_common",
"//mojo/public/c/system:for_component",
"//mojo/public/cpp/bindings:callback",
"//mojo/public/cpp/bindings:wtf_support",
@@ -408,7 +419,6 @@ component("platform") {
# Add in some Linux files also shared with Android.
set_sources_assignment_filter([])
sources += [
- "exported/linux/WebFontRenderStyle.cpp",
"fonts/linux/FontPlatformDataLinux.cpp",
"fonts/linux/FontRenderStyle.h",
]

Powered by Google App Engine
This is Rietveld 408576698