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 1cedd42ed1329b060a975f0ecc8d68d0a84eeb67..3e0459765be33aee06d97ac9e0a48d0bfcd0b450 100644 |
--- a/third_party/WebKit/Source/platform/BUILD.gn |
+++ b/third_party/WebKit/Source/platform/BUILD.gn |
@@ -24,16 +24,8 @@ component("blink_common") { |
visibility = [] # Allow re-assignment of list. |
visibility = [ "//third_party/WebKit/*" ] |
sources = [ |
- "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", |
@@ -494,14 +486,17 @@ component("platform") { |
"credentialmanager/PlatformFederatedCredential.h", |
"credentialmanager/PlatformPasswordCredential.cpp", |
"credentialmanager/PlatformPasswordCredential.h", |
+ "exported/FilePathConversion.cpp", |
"exported/InterfaceRegistry.cpp", |
"exported/Platform.cpp", |
"exported/ServiceRegistry.cpp", |
+ "exported/URLConversion.cpp", |
"exported/WebActiveGestureAnimation.cpp", |
"exported/WebActiveGestureAnimation.h", |
"exported/WebAudioBus.cpp", |
"exported/WebAudioDevice.cpp", |
"exported/WebBlobData.cpp", |
+ "exported/WebCString.cpp", |
"exported/WebCache.cpp", |
"exported/WebCanvasCaptureHandler.cpp", |
"exported/WebCoalescedInputEvent.cpp", |
@@ -589,6 +584,7 @@ component("platform") { |
"exported/WebURLResponse.cpp", |
"exported/WrappedResourceRequest.h", |
"exported/WrappedResourceResponse.h", |
+ "exported/linux/WebFontRenderStyle.cpp", |
"feature_policy/FeaturePolicy.cpp", |
"feature_policy/FeaturePolicy.h", |
"fonts/AcceptLanguagesResolver.cpp", |
@@ -1405,6 +1401,11 @@ component("platform") { |
"weborigin/URLSecurityOriginMap.h", |
] |
+ if (is_android) { |
+ set_sources_assignment_filter([]) |
+ sources += [ "exported/linux/WebFontRenderStyle.cpp" ] |
+ } |
+ |
sources -= blink_platform_neon_files |
sources -= blink_platform_msa_files |
sources -= blink_platform_sse_files |