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

Side by Side Diff: gpu/config/BUILD.gn

Issue 462433002: make it possible to disable the use of libpci on linux again (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded import Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/linux/system.gyp ('k') | gpu/gpu_config.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("config") { 7 source_set("config") {
8 sources = [ 8 sources = [
9 "dx_diag_node.cc", 9 "dx_diag_node.cc",
10 "dx_diag_node.h", 10 "dx_diag_node.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 deps += [ "//third_party/libxml" ] 52 deps += [ "//third_party/libxml" ]
53 libs = [ "dxguid.lib", "setupapi.lib" ] 53 libs = [ "dxguid.lib", "setupapi.lib" ]
54 54
55 if (is_chrome_branded && is_official_build) { 55 if (is_chrome_branded && is_official_build) {
56 sources += [ 56 sources += [
57 "//third_party/amd/AmdCfxPxExt.h", 57 "//third_party/amd/AmdCfxPxExt.h",
58 "//third_party/amd/amd_videocard_info_win.cc", 58 "//third_party/amd/amd_videocard_info_win.cc",
59 ] 59 ]
60 } 60 }
61 } 61 }
62 if (is_linux) { 62 if (is_linux && (use_x11 || use_ozone)) {
63 deps += [ 63 deps += [
64 "//build/config/linux:libpci", 64 "//build/config/linux:libpci",
65 ] 65 ]
66 } 66 }
67 if (is_linux && use_x11) { 67 if (is_linux && use_x11) {
68 configs += [ 68 configs += [
69 "//build/config/linux:x11", 69 "//build/config/linux:x11",
70 "//build/config/linux:xext", 70 "//build/config/linux:xext",
71 ] 71 ]
72 deps += [ 72 deps += [
73 "//third_party/libXNVCtrl", 73 "//third_party/libXNVCtrl",
74 ] 74 ]
75 } else { 75 } else {
76 sources -= [ "gpu_info_collector_x11.cc" ] 76 sources -= [ "gpu_info_collector_x11.cc" ]
77 } 77 }
78 if (!use_ozone) { 78 if (!use_ozone) {
79 sources -= [ "gpu_info_collector_ozone.cc" ] 79 sources -= [ "gpu_info_collector_ozone.cc" ]
80 } 80 }
81 } 81 }
82 82
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | gpu/gpu_config.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698