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/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 27 matching lines...) Expand all Loading... |
38 "gpu_util.cc", | 38 "gpu_util.cc", |
39 "gpu_util.h", | 39 "gpu_util.h", |
40 "software_rendering_list_json.cc", | 40 "software_rendering_list_json.cc", |
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 "//media/video", |
48 "//ui/gl", | 49 "//ui/gl", |
49 ] | 50 ] |
50 | 51 |
51 if (is_win) { | 52 if (is_win) { |
52 deps += [ "//third_party/libxml" ] | 53 deps += [ "//third_party/libxml" ] |
53 libs = [ "dxguid.lib", "setupapi.lib" ] | 54 libs = [ "dxguid.lib", "setupapi.lib" ] |
54 | 55 |
55 if (is_chrome_branded && is_official_build) { | 56 if (is_chrome_branded && is_official_build) { |
56 sources += [ | 57 sources += [ |
57 "//third_party/amd/AmdCfxPxExt.h", | 58 "//third_party/amd/AmdCfxPxExt.h", |
(...skipping 15 matching lines...) Expand all Loading... |
73 "//third_party/libXNVCtrl", | 74 "//third_party/libXNVCtrl", |
74 ] | 75 ] |
75 } else { | 76 } else { |
76 sources -= [ "gpu_info_collector_x11.cc" ] | 77 sources -= [ "gpu_info_collector_x11.cc" ] |
77 } | 78 } |
78 if (!use_ozone) { | 79 if (!use_ozone) { |
79 sources -= [ "gpu_info_collector_ozone.cc" ] | 80 sources -= [ "gpu_info_collector_ozone.cc" ] |
80 } | 81 } |
81 } | 82 } |
82 | 83 |
OLD | NEW |