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

Unified Diff: gpu/config/BUILD.gn

Issue 2751103008: gpu: Add a util method to set crash-keys from a GPUInfo. (Closed)
Patch Set: comment Created 3 years, 9 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
« no previous file with comments | « components/nacl/broker/BUILD.gn ('k') | gpu/config/gpu_crash_keys.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « components/nacl/broker/BUILD.gn ('k') | gpu/config/gpu_crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698