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

Unified Diff: gpu/config/BUILD.gn

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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
« no previous file with comments | « examples/BUILD.gn ('k') | mojo/BUILD.gn » ('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 562254c34ef28def75bc1aeebc26fbae6352d9ca..67044e8216489aeb17049a275e5d11cc6d176d89 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -6,7 +6,7 @@ import("//build/config/ui.gni")
declare_args() {
# Use the PCI lib to collect GPU information on Linux.
- use_libpci = true
+ use_libpci = is_linux && !use_ozone
}
source_set("config") {
@@ -78,7 +78,7 @@ source_set("config") {
if (use_libpci) {
defines = [ "USE_LIBPCI=1" ]
}
- if (is_linux && use_libpci && (use_x11 || use_ozone)) {
+ if (is_linux && use_libpci) {
deps += [ "//build/config/linux:libpci" ]
}
if (is_linux && use_x11) {
« no previous file with comments | « examples/BUILD.gn ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698