[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': [ |
[email protected] | d4e827f | 2014-01-22 09:27:25 | [diff] [blame] | 7 | '../third_party/re2/re2.gyp:re2', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 8 | '../base/base.gyp:base', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 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', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 19 | 'config/gpu_control_list.cc', |
| 20 | 'config/gpu_control_list.h', |
satorux | c5bd7a3 | 2015-02-18 01:54:52 | [diff] [blame] | 21 | 'config/gpu_control_list_jsons.h', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 22 | 'config/gpu_driver_bug_list.cc', |
| 23 | 'config/gpu_driver_bug_list.h', |
satorux | c5bd7a3 | 2015-02-18 01:54:52 | [diff] [blame] | 24 | 'config/gpu_driver_bug_list_json.cc', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 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', |
satorux | c5bd7a3 | 2015-02-18 01:54:52 | [diff] [blame] | 30 | 'config/gpu_info_collector.cc', |
| 31 | 'config/gpu_info_collector.h', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 32 | 'config/gpu_info_collector_android.cc', |
[email protected] | 0971f24 | 2014-07-30 05:37:18 | [diff] [blame] | 33 | 'config/gpu_info_collector_linux.cc', |
| 34 | 'config/gpu_info_collector_linux.h', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 35 | 'config/gpu_info_collector_mac.mm', |
[email protected] | d413efc | 2013-05-29 02:28:29 | [diff] [blame] | 36 | 'config/gpu_info_collector_ozone.cc', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 37 | 'config/gpu_info_collector_win.cc', |
| 38 | 'config/gpu_info_collector_x11.cc', |
tfarina | 15525c4 | 2015-04-28 19:04:16 | [diff] [blame] | 39 | 'config/gpu_switches.cc', |
| 40 | 'config/gpu_switches.h', |
[email protected] | 129f019e | 2013-05-28 23:38:02 | [diff] [blame] | 41 | 'config/gpu_test_config.cc', |
| 42 | 'config/gpu_test_config.h', |
| 43 | 'config/gpu_test_expectations_parser.cc', |
| 44 | 'config/gpu_test_expectations_parser.h', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 45 | 'config/gpu_util.cc', |
| 46 | 'config/gpu_util.h', |
| 47 | 'config/software_rendering_list_json.cc', |
| 48 | ], |
| 49 | 'conditions': [ |
| 50 | ['OS=="win"', { |
| 51 | 'dependencies': [ |
| 52 | '../third_party/libxml/libxml.gyp:libxml', |
| 53 | ], |
| 54 | 'link_settings': { |
| 55 | 'libraries': [ |
[email protected] | 8a0c096a | 2013-05-24 21:30:22 | [diff] [blame] | 56 | '-ldxguid.lib', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 57 | '-lsetupapi.lib', |
| 58 | ], |
| 59 | }, |
[email protected] | f2f321b | 2013-05-24 18:30:36 | [diff] [blame] | 60 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 61 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 62 | }], |
[email protected] | 92aa6b57 | 2014-07-22 03:15:13 | [diff] [blame] | 63 | ['OS=="win" and branding=="Chrome" and buildtype=="Official"', { |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 64 | 'sources': [ |
| 65 | '../third_party/amd/AmdCfxPxExt.h', |
| 66 | '../third_party/amd/amd_videocard_info_win.cc', |
| 67 | ], |
| 68 | }], |
bedupont | 65ce5acc | 2014-11-04 16:30:41 | [diff] [blame] | 69 | ['OS=="linux" and use_libpci==1 and (use_x11==1 or use_ozone==1)', { |
[email protected] | 0971f24 | 2014-07-30 05:37:18 | [diff] [blame] | 70 | 'dependencies': [ |
| 71 | '../build/linux/system.gyp:libpci', |
| 72 | ], |
| 73 | }], |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 74 | ['OS=="linux" and use_x11==1', { |
| 75 | 'dependencies': [ |
[email protected] | 31d96f2 | 2014-04-03 07:03:06 | [diff] [blame] | 76 | '../build/linux/system.gyp:x11', |
| 77 | '../build/linux/system.gyp:xext', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 78 | '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', |
thakis | 603fc87 | 2015-01-19 05:42:29 | [diff] [blame] | 79 | '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
[email protected] | d7b5cc7 | 2013-05-23 20:05:00 | [diff] [blame] | 80 | ], |
| 81 | }], |
| 82 | ], |
| 83 | } |