[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'dependencies': [ |
| 7 | '../base/base.gyp:base', |
| 8 | '../third_party/re2/re2.gyp:re2', |
| 9 | '../ui/gl/gl.gyp:gl', |
| 10 | ], |
| 11 | 'include_dirs': [ |
| 12 | '..', |
| 13 | ], |
| 14 | 'sources': [ |
| 15 | 'config/dx_diag_node.cc', |
| 16 | 'config/dx_diag_node.h', |
| 17 | 'config/gpu_blacklist.cc', |
| 18 | 'config/gpu_blacklist.h', |
| 19 | 'config/gpu_control_list_jsons.h', |
| 20 | 'config/gpu_control_list.cc', |
| 21 | 'config/gpu_control_list.h', |
| 22 | 'config/gpu_driver_bug_list_json.cc', |
| 23 | 'config/gpu_driver_bug_list.cc', |
| 24 | 'config/gpu_driver_bug_list.h', |
| 25 | 'config/gpu_driver_bug_workaround_type.h', |
| 26 | 'config/gpu_dx_diagnostics_win.cc', |
| 27 | 'config/gpu_feature_type.h', |
| 28 | 'config/gpu_info.cc', |
| 29 | 'config/gpu_info.h', |
| 30 | 'config/gpu_info_collector_android.cc', |
| 31 | 'config/gpu_info_collector_mac.mm', |
[email protected] | d413efc | 2013-05-29 02:28:29 | [diff] [blame] | 32 | 'config/gpu_info_collector_ozone.cc', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 33 | 'config/gpu_info_collector_win.cc', |
| 34 | 'config/gpu_info_collector_x11.cc', |
| 35 | 'config/gpu_info_collector.cc', |
| 36 | 'config/gpu_info_collector.h', |
| 37 | 'config/gpu_performance_stats.h', |
| 38 | 'config/gpu_switching_list_json.cc', |
| 39 | 'config/gpu_switching_list.cc', |
| 40 | 'config/gpu_switching_list.h', |
| 41 | 'config/gpu_switching_option.h', |
[email protected] | 129f019e | 2013-05-28 23:38:02 | [diff] [blame] | 42 | 'config/gpu_test_config.cc', |
| 43 | 'config/gpu_test_config.h', |
| 44 | 'config/gpu_test_expectations_parser.cc', |
| 45 | 'config/gpu_test_expectations_parser.h', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 46 | 'config/gpu_util.cc', |
| 47 | 'config/gpu_util.h', |
| 48 | 'config/software_rendering_list_json.cc', |
| 49 | ], |
| 50 | 'conditions': [ |
| 51 | ['OS=="win"', { |
| 52 | 'dependencies': [ |
| 53 | '../third_party/libxml/libxml.gyp:libxml', |
| 54 | ], |
| 55 | 'link_settings': { |
| 56 | 'libraries': [ |
[email protected] | 8a0c096a | 2013-05-24 21:30:22 | [diff] [blame] | 57 | '-ldxguid.lib', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 58 | '-lsetupapi.lib', |
| 59 | ], |
| 60 | }, |
[email protected] | f2f321b | 2013-05-24 18:30:36 | [diff] [blame] | 61 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 62 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 63 | }], |
| 64 | ['OS=="win" and branding=="Chrome"', { |
| 65 | 'sources': [ |
| 66 | '../third_party/amd/AmdCfxPxExt.h', |
| 67 | '../third_party/amd/amd_videocard_info_win.cc', |
| 68 | ], |
| 69 | }], |
| 70 | ['OS=="linux" and use_x11==1', { |
| 71 | 'dependencies': [ |
| 72 | '../build/linux/system.gyp:libpci', |
| 73 | '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', |
| 74 | ], |
| 75 | }], |
| 76 | ], |
| 77 | } |