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

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

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment and rebase 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 | « gin/BUILD.gn ('k') | gpu/ipc/service/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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "setupapi.lib", 89 "setupapi.lib",
90 ] 90 ]
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 (is_mac) {
100 libs = [
101 "IOKit.framework",
102 "CoreFoundation.framework",
103 ]
104 }
99 if (use_libpci) { 105 if (use_libpci) {
100 defines = [ "USE_LIBPCI=1" ] 106 defines = [ "USE_LIBPCI=1" ]
101 deps += [ "//build/linux/libpci" ] 107 deps += [ "//build/linux/libpci" ]
102 } 108 }
103 if (is_linux && use_x11) { 109 if (is_linux && use_x11) {
104 configs += [ 110 configs += [
105 "//build/config/linux:x11", 111 "//build/config/linux:x11",
106 "//build/config/linux:xext", 112 "//build/config/linux:xext",
107 ] 113 ]
108 deps += [ 114 deps += [
109 "//third_party/libXNVCtrl", 115 "//third_party/libXNVCtrl",
110 "//ui/gfx/x", 116 "//ui/gfx/x",
111 ] 117 ]
112 } else { 118 } else {
113 sources -= [ "gpu_info_collector_x11.cc" ] 119 sources -= [ "gpu_info_collector_x11.cc" ]
114 } 120 }
115 if (!use_ozone) { 121 if (!use_ozone) {
116 sources -= [ "gpu_info_collector_ozone.cc" ] 122 sources -= [ "gpu_info_collector_ozone.cc" ]
117 } 123 }
118 } 124 }
OLDNEW
« no previous file with comments | « gin/BUILD.gn ('k') | gpu/ipc/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698