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

Unified Diff: content/common/BUILD.gn

Issue 1542013005: Add a new driver bug workaround SANDBOX_START_EARLY Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and remove gyp support Created 4 years, 2 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: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 62b1a8f3793efa9d0c6d17ee2239fbda6a40dedf..4bac5feda0d2e6cb14def66b71dd796a245ffb6f 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -502,6 +502,9 @@ source_set("common") {
if (use_seccomp_bpf) {
defines += [ "USE_SECCOMP_BPF" ]
+ if (is_linux && (!is_chromeos || target_cpu != "arm")) {
+ configs += [ "//build/config/linux/dri" ]
+ }
} else {
if (is_linux) {
sources -= [

Powered by Google App Engine
This is Rietveld 408576698