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

Unified Diff: gpu/config/BUILD.gn

Issue 692543002: Provide a way to disable libpci dependency. (Closed) Base URL: git://nuxepg2.fr.nds.com/CHROM/chromium-src.git@master
Patch Set: Add use_libpci definition into ui.gni (included in gpu/config/BUILD.gn) Created 6 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: gpu/config/BUILD.gn
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn
index 4dab028213cc494d3f17b87774241356e7951aa8..c9a9295d69af3947db811cd4d6e4f52a68fbe4e5 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -62,7 +62,10 @@ source_set("config") {
]
}
}
- if (is_linux && (use_x11 || use_ozone)) {
+ if(use_libpci) {
brettw 2014/10/30 17:00:50 space before (
+ defines += [ "USE_LIBPCI=1" ]
+ }
+ if (is_linux && use_libpci && (use_x11 || use_ozone)) {
deps += [
"//build/config/linux:libpci",
]

Powered by Google App Engine
This is Rietveld 408576698