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

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

Issue 1061953002: Work on Windows GN component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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') | gpu/ipc/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 declare_args() { 7 declare_args() {
8 # Use the PCI lib to collect GPU information on Linux. 8 # Use the PCI lib to collect GPU information on Linux.
9 use_libpci = true 9 use_libpci = true
10 } 10 }
11 11
12 source_set("config") { 12 group("config") {
13 if (is_component_build) {
14 public_deps = [
15 "//gpu",
16 ]
17 } else {
18 public_deps = [
19 ":config_sources",
20 ]
21 }
22 }
23
24 source_set("config_sources") {
25 visibility = [ "//gpu/*" ]
26
13 sources = [ 27 sources = [
14 "dx_diag_node.cc", 28 "dx_diag_node.cc",
15 "dx_diag_node.h", 29 "dx_diag_node.h",
16 "gpu_blacklist.cc", 30 "gpu_blacklist.cc",
17 "gpu_blacklist.h", 31 "gpu_blacklist.h",
18 "gpu_control_list.cc", 32 "gpu_control_list.cc",
19 "gpu_control_list.h", 33 "gpu_control_list.h",
20 "gpu_control_list_jsons.h", 34 "gpu_control_list_jsons.h",
21 "gpu_driver_bug_list.cc", 35 "gpu_driver_bug_list.cc",
22 "gpu_driver_bug_list.h", 36 "gpu_driver_bug_list.h",
(...skipping 22 matching lines...) Expand all
45 ] 59 ]
46 60
47 configs += [ 61 configs += [
48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
49 "//build/config/compiler:no_size_t_to_int_warning", 63 "//build/config/compiler:no_size_t_to_int_warning",
50 "//gpu:gpu_implementation", 64 "//gpu:gpu_implementation",
51 ] 65 ]
52 66
53 deps = [ 67 deps = [
54 "//base", 68 "//base",
55 "//gpu/command_buffer/service", 69 "//gpu/command_buffer/service:service_sources",
56 "//third_party/re2", 70 "//third_party/re2",
57 "//ui/gl", 71 "//ui/gl",
58 ] 72 ]
59 73
60 # Prefer mesa GL headers to system headers, which cause problems on Win. 74 # Prefer mesa GL headers to system headers, which cause problems on Win.
61 include_dirs = [ "//third_party/mesa/src/include" ] 75 include_dirs = [ "//third_party/mesa/src/include" ]
62 76
63 if (is_win) { 77 if (is_win) {
64 deps += [ "//third_party/libxml" ] 78 deps += [ "//third_party/libxml" ]
65 libs = [ 79 libs = [
(...skipping 23 matching lines...) Expand all
89 "//third_party/libXNVCtrl", 103 "//third_party/libXNVCtrl",
90 "//ui/gfx/x", 104 "//ui/gfx/x",
91 ] 105 ]
92 } else { 106 } else {
93 sources -= [ "gpu_info_collector_x11.cc" ] 107 sources -= [ "gpu_info_collector_x11.cc" ]
94 } 108 }
95 if (!use_ozone) { 109 if (!use_ozone) {
96 sources -= [ "gpu_info_collector_ozone.cc" ] 110 sources -= [ "gpu_info_collector_ozone.cc" ]
97 } 111 }
98 } 112 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698