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

Unified Diff: gpu/config/BUILD.gn

Issue 1800343002: Enable GN check for gpu and rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/config/gpu_info_collector_linux.cc » ('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 951731984edd3988d7011d35243bd7832bf51ac1..3ca9edff16800f32e3349c70a220acbd83d50886 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -7,7 +7,7 @@ import("//build/config/ui.gni")
declare_args() {
# Use the PCI lib to collect GPU information on Linux.
- use_libpci = !is_chromecast
+ use_libpci = is_linux && !is_chromecast && (use_x11 || use_ozone)
}
group("config") {
@@ -95,8 +95,6 @@ source_set("config_sources") {
}
if (use_libpci) {
defines = [ "USE_LIBPCI=1" ]
- }
- if (is_linux && use_libpci && (use_x11 || use_ozone)) {
deps += [ "//build/linux:libpci" ]
}
if (is_linux && use_x11) {
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/config/gpu_info_collector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698