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

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

Issue 2823503002: Only generate GPU json data entries related to a given platform at build time. (Closed)
Patch Set: update Created 3 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 | « no previous file | gpu/config/gpu_driver_bug_list.json » ('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) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "gpu_feature_type.h", 48 "gpu_feature_type.h",
49 "software_rendering_list.json", 49 "software_rendering_list.json",
50 ] 50 ]
51 51
52 outputs = process_json_outputs 52 outputs = process_json_outputs
53 53
54 args = [ 54 args = [
55 "--output-dir", 55 "--output-dir",
56 rebase_path("$target_gen_dir", root_build_dir), 56 rebase_path("$target_gen_dir", root_build_dir),
57 "--skip-testing-data", 57 "--skip-testing-data",
58 "--os-filter",
58 ] 59 ]
60 if (is_win) {
61 args += [ "win" ]
62 } else if (is_mac) {
63 args += [ "macosx" ]
64 } else if (is_android) {
65 args += [ "android" ]
66 } else if (is_chromeos) {
67 args += [ "chromeos" ]
68 } else {
69 args += [ "linux" ]
70 }
59 } 71 }
60 72
61 source_set("config_sources") { 73 source_set("config_sources") {
62 # External code should depend on this via //gpu/config above rather than 74 # External code should depend on this via //gpu/config above rather than
63 # depending on this directly or the component build will break. 75 # depending on this directly or the component build will break.
64 visibility = [ "//gpu/*" ] 76 visibility = [ "//gpu/*" ]
65 77
66 sources = [ 78 sources = [
67 "dx_diag_node.cc", 79 "dx_diag_node.cc",
68 "dx_diag_node.h", 80 "dx_diag_node.h",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 sources += [ 141 sources += [
130 "//third_party/amd/AmdCfxPxExt.h", 142 "//third_party/amd/AmdCfxPxExt.h",
131 "//third_party/amd/amd_videocard_info_win.cc", 143 "//third_party/amd/amd_videocard_info_win.cc",
132 ] 144 ]
133 } 145 }
134 } 146 }
135 if (is_linux || is_mac) { 147 if (is_linux || is_mac) {
136 deps += [ "//third_party/angle:angle_gpu_info_util" ] 148 deps += [ "//third_party/angle:angle_gpu_info_util" ]
137 } 149 }
138 } 150 }
OLDNEW
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698