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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 6af880b3b15aa08014becb82177beb9f4fa0588e..28d6fa6aae032158848f76b629a171ab520dbfcd 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/buildflag_header.gni")
import("//build/config/features.gni")
+import("//build/config/jumbo.gni")
import("//build/config/ui.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
@@ -246,7 +247,7 @@ config("blink_platform_pch") {
}
}
-component("platform") {
+jumbo_component("platform") {
visibility = [] # Allow re-assignment of list.
visibility = [
"//components/pdf/common:interfaces_blink",
@@ -1474,6 +1475,17 @@ component("platform") {
get_target_outputs(":instrumentation_probes") +
get_target_outputs(":runtime_enabled_features")
+ if (is_win && is_component_build) {
+ # https://crbug.com/764823 - Mixing certain //url/ headers and
+ # using url::RawCanonOutputT<char> in one translation unit breaks
+ # the Windows component build. These files use RawCanonOutput.
+ jumbo_excluded_sources = [
+ "LinkHash.cpp",
+ "weborigin/KURL.cpp",
+ "weborigin/OriginAccessEntry.cpp",
+ "weborigin/SecurityOrigin.cpp",
+ ]
+ }
configs += [
":blink_platform_pch",
":blink_platform_config",
@@ -1641,7 +1653,7 @@ component("platform") {
}
}
-static_library("test_support") {
+jumbo_static_library("test_support") {
visibility += [ "//third_party/WebKit/*" ]
testonly = true
@@ -1725,7 +1737,7 @@ static_library("test_support") {
}
}
-test("blink_platform_unittests") {
+jumbo_test("blink_platform_unittests") {
visibility = [] # Allow re-assignment of list.
visibility = [ "*" ]
@@ -1911,6 +1923,24 @@ test("blink_platform_unittests") {
sources += [ "testing/RunAllTests.cpp" ]
+ jumbo_excluded_sources = [
+ # Too many TestClass1 and TestClass2
+ "PODFreeListArenaTest.cpp",
+
+ # Too many TestDisplayItem
+ "graphics/paint/PaintControllerTest.cpp",
+
+ # Too many InsertionAndDeletionTest
+ "PODIntervalTreeTest.cpp",
+
+ # Too many EXPECT_RECT_EQ
+ "graphics/paint/GeometryMapperTest.cpp",
+ ]
+ if (!is_mac) {
+ # Too many MockScrollableArea
+ jumbo_excluded_sources += [ "scroll/ScrollAnimatorTest.cpp" ]
+ }
+
configs += [
":blink_platform_pch",
"//third_party/WebKit/Source/platform/wtf:wtf_config",
@@ -2013,7 +2043,7 @@ group("blink_platform_unittests_data") {
}
if (current_cpu == "arm") {
- source_set("blink_arm_neon") {
+ jumbo_source_set("blink_arm_neon") {
sources = blink_platform_neon_files
# The *NEON.cpp files fail to compile when -mthumb is passed. Force
# them to build in ARM mode.
@@ -2029,20 +2059,20 @@ if (current_cpu == "arm") {
}
if (current_cpu == "mipsel" || current_cpu == "mips64el") {
- source_set("blink_mips_msa") {
+ jumbo_source_set("blink_mips_msa") {
sources = blink_platform_msa_files
}
}
if (current_cpu == "x86" || current_cpu == "x64") {
- source_set("blink_x86_sse") {
+ jumbo_source_set("blink_x86_sse") {
sources = blink_platform_sse_files
}
}
# This source set is used for fuzzers that need an environment similar to unit
# tests.
-source_set("blink_fuzzer_test_support") {
+jumbo_source_set("blink_fuzzer_test_support") {
testonly = true
visibility = [] # Allow re-assignment of list.
visibility = [ "*" ]
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/platform/scheduler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698