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

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

Issue 1945893002: Split generated libraries out of //build/linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Use the PCI lib to collect GPU information on Linux. 10 # Use the PCI lib to collect GPU information on Linux.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 if (is_chrome_branded && is_official_build) { 92 if (is_chrome_branded && is_official_build) {
93 sources += [ 93 sources += [
94 "//third_party/amd/AmdCfxPxExt.h", 94 "//third_party/amd/AmdCfxPxExt.h",
95 "//third_party/amd/amd_videocard_info_win.cc", 95 "//third_party/amd/amd_videocard_info_win.cc",
96 ] 96 ]
97 } 97 }
98 } 98 }
99 if (use_libpci) { 99 if (use_libpci) {
100 defines = [ "USE_LIBPCI=1" ] 100 defines = [ "USE_LIBPCI=1" ]
101 deps += [ "//build/linux:libpci" ] 101 deps += [ "//build/linux/libpci" ]
102 } 102 }
103 if (is_linux && use_x11) { 103 if (is_linux && use_x11) {
104 configs += [ 104 configs += [
105 "//build/config/linux:x11", 105 "//build/config/linux:x11",
106 "//build/config/linux:xext", 106 "//build/config/linux:xext",
107 ] 107 ]
108 deps += [ 108 deps += [
109 "//third_party/libXNVCtrl", 109 "//third_party/libXNVCtrl",
110 "//ui/gfx/x", 110 "//ui/gfx/x",
111 ] 111 ]
112 } else { 112 } else {
113 sources -= [ "gpu_info_collector_x11.cc" ] 113 sources -= [ "gpu_info_collector_x11.cc" ]
114 } 114 }
115 if (!use_ozone) { 115 if (!use_ozone) {
116 sources -= [ "gpu_info_collector_ozone.cc" ] 116 sources -= [ "gpu_info_collector_ozone.cc" ]
117 } 117 }
118 } 118 }
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