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

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

Issue 1314163005: Move loader stub libraries out of //build/config/linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix libbrl references 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 unified diff | Download patch
« no previous file with comments | « device/udev_linux/BUILD.gn ('k') | net/BUILD.gn » ('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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # Use the PCI lib to collect GPU information on Linux. 9 # Use the PCI lib to collect GPU information on Linux.
10 use_libpci = true 10 use_libpci = true
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 sources += [ 87 sources += [
88 "//third_party/amd/AmdCfxPxExt.h", 88 "//third_party/amd/AmdCfxPxExt.h",
89 "//third_party/amd/amd_videocard_info_win.cc", 89 "//third_party/amd/amd_videocard_info_win.cc",
90 ] 90 ]
91 } 91 }
92 } 92 }
93 if (use_libpci) { 93 if (use_libpci) {
94 defines = [ "USE_LIBPCI=1" ] 94 defines = [ "USE_LIBPCI=1" ]
95 } 95 }
96 if (is_linux && use_libpci && (use_x11 || use_ozone)) { 96 if (is_linux && use_libpci && (use_x11 || use_ozone)) {
97 deps += [ "//build/config/linux:libpci" ] 97 deps += [ "//build/linux:libpci" ]
98 } 98 }
99 if (is_linux && use_x11) { 99 if (is_linux && use_x11) {
100 configs += [ 100 configs += [
101 "//build/config/linux:x11", 101 "//build/config/linux:x11",
102 "//build/config/linux:xext", 102 "//build/config/linux:xext",
103 ] 103 ]
104 deps += [ 104 deps += [
105 "//third_party/libXNVCtrl", 105 "//third_party/libXNVCtrl",
106 "//ui/gfx/x", 106 "//ui/gfx/x",
107 ] 107 ]
108 } else { 108 } else {
109 sources -= [ "gpu_info_collector_x11.cc" ] 109 sources -= [ "gpu_info_collector_x11.cc" ]
110 } 110 }
111 if (!use_ozone) { 111 if (!use_ozone) {
112 sources -= [ "gpu_info_collector_ozone.cc" ] 112 sources -= [ "gpu_info_collector_ozone.cc" ]
113 } 113 }
114 } 114 }
OLDNEW
« no previous file with comments | « device/udev_linux/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698