Index: gpu/config/BUILD.gn |
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn |
index 6debe2edbc50d62634476d7e063d6443b74da663..7f0f2ebec95c84879ad5dbaf439bf8647e19afee 100644 |
--- a/gpu/config/BUILD.gn |
+++ b/gpu/config/BUILD.gn |
@@ -18,6 +18,16 @@ group("config") { |
} |
} |
+# This needs to be a small target, because it links into both chrome.exe and |
+# chrome.dll targets. If this target grows, that will lead to a size regression. |
+# See https://crbug.com/703622 |
+source_set("crash_keys") { |
+ sources = [ |
+ "gpu_crash_keys.cc", |
+ "gpu_crash_keys.h", |
+ ] |
+} |
+ |
source_set("config_sources") { |
# External code should depend on this via //gpu/config above rather than |
# depending on this directly or the component build will break. |
@@ -69,6 +79,7 @@ source_set("config_sources") { |
] |
deps = [ |
+ ":crash_keys", |
"//base", |
"//third_party/re2", |
"//ui/gl", |