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

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

Issue 2751103008: gpu: Add a util method to set crash-keys from a GPUInfo. (Closed)
Patch Set: comment Created 3 years, 9 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 | « components/nacl/broker/BUILD.gn ('k') | gpu/config/gpu_crash_keys.h » ('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 group("config") { 9 group("config") {
10 if (is_component_build) { 10 if (is_component_build) {
11 public_deps = [ 11 public_deps = [
12 "//gpu", 12 "//gpu",
13 ] 13 ]
14 } else { 14 } else {
15 public_deps = [ 15 public_deps = [
16 ":config_sources", 16 ":config_sources",
17 ] 17 ]
18 } 18 }
19 } 19 }
20 20
21 # This needs to be a small target, because it links into both chrome.exe and
22 # chrome.dll targets. If this target grows, that will lead to a size regression.
23 # See https://crbug.com/703622
24 source_set("crash_keys") {
25 sources = [
26 "gpu_crash_keys.cc",
27 "gpu_crash_keys.h",
28 ]
29 }
30
21 source_set("config_sources") { 31 source_set("config_sources") {
22 # External code should depend on this via //gpu/config above rather than 32 # External code should depend on this via //gpu/config above rather than
23 # depending on this directly or the component build will break. 33 # depending on this directly or the component build will break.
24 visibility = [ "//gpu/*" ] 34 visibility = [ "//gpu/*" ]
25 35
26 sources = [ 36 sources = [
27 "dx_diag_node.cc", 37 "dx_diag_node.cc",
28 "dx_diag_node.h", 38 "dx_diag_node.h",
29 "gpu_blacklist.cc", 39 "gpu_blacklist.cc",
30 "gpu_blacklist.h", 40 "gpu_blacklist.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "software_rendering_list_json.cc", 72 "software_rendering_list_json.cc",
63 ] 73 ]
64 74
65 configs += [ 75 configs += [
66 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
67 "//build/config/compiler:no_size_t_to_int_warning", 77 "//build/config/compiler:no_size_t_to_int_warning",
68 "//gpu:gpu_implementation", 78 "//gpu:gpu_implementation",
69 ] 79 ]
70 80
71 deps = [ 81 deps = [
82 ":crash_keys",
72 "//base", 83 "//base",
73 "//third_party/re2", 84 "//third_party/re2",
74 "//ui/gl", 85 "//ui/gl",
75 "//ui/gl/init", 86 "//ui/gl/init",
76 ] 87 ]
77 88
78 # Prefer mesa GL headers to system headers, which cause problems on Win. 89 # Prefer mesa GL headers to system headers, which cause problems on Win.
79 include_dirs = [ "//third_party/mesa/src/include" ] 90 include_dirs = [ "//third_party/mesa/src/include" ]
80 91
81 if (is_win) { 92 if (is_win) {
(...skipping 13 matching lines...) Expand all
95 if (is_linux) { 106 if (is_linux) {
96 deps += [ "//third_party/angle:angle_gpu_info_util" ] 107 deps += [ "//third_party/angle:angle_gpu_info_util" ]
97 } 108 }
98 if (is_mac) { 109 if (is_mac) {
99 libs = [ 110 libs = [
100 "IOKit.framework", 111 "IOKit.framework",
101 "CoreFoundation.framework", 112 "CoreFoundation.framework",
102 ] 113 ]
103 } 114 }
104 } 115 }
OLDNEW
« no previous file with comments | « components/nacl/broker/BUILD.gn ('k') | gpu/config/gpu_crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698