OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |