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

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

Issue 603143002: gn: Fix more build issues on Win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: += instead of = Created 6 years, 2 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 | « gpu/command_buffer/service/BUILD.gn ('k') | net/third_party/nss/ssl/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/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 30 matching lines...) Expand all
41 ] 41 ]
42 42
43 defines = [ "GPU_IMPLEMENTATION" ] 43 defines = [ "GPU_IMPLEMENTATION" ]
44 44
45 deps = [ 45 deps = [
46 "//base", 46 "//base",
47 "//third_party/re2", 47 "//third_party/re2",
48 "//ui/gl", 48 "//ui/gl",
49 ] 49 ]
50 50
51 # Prefer mesa GL headers to system headers, which cause problems on Win.
52 include_dirs = [ "//third_party/mesa/src/include" ]
53
51 if (is_win) { 54 if (is_win) {
52 deps += [ "//third_party/libxml" ] 55 deps += [ "//third_party/libxml" ]
53 libs = [ "dxguid.lib", "setupapi.lib" ] 56 libs = [ "dxguid.lib", "setupapi.lib" ]
54 57
55 if (is_chrome_branded && is_official_build) { 58 if (is_chrome_branded && is_official_build) {
56 sources += [ 59 sources += [
57 "//third_party/amd/AmdCfxPxExt.h", 60 "//third_party/amd/AmdCfxPxExt.h",
58 "//third_party/amd/amd_videocard_info_win.cc", 61 "//third_party/amd/amd_videocard_info_win.cc",
59 ] 62 ]
60 } 63 }
(...skipping 12 matching lines...) Expand all
73 "//third_party/libXNVCtrl", 76 "//third_party/libXNVCtrl",
74 ] 77 ]
75 } else { 78 } else {
76 sources -= [ "gpu_info_collector_x11.cc" ] 79 sources -= [ "gpu_info_collector_x11.cc" ]
77 } 80 }
78 if (!use_ozone) { 81 if (!use_ozone) {
79 sources -= [ "gpu_info_collector_ozone.cc" ] 82 sources -= [ "gpu_info_collector_ozone.cc" ]
80 } 83 }
81 } 84 }
82 85
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | net/third_party/nss/ssl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698