blob: 686919973047322e431afaf1828e4141d3f1384d [file] [log] [blame]
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'dependencies': [
'../third_party/re2/re2.gyp:re2',
'../base/base.gyp:base',
'../ui/gl/gl.gyp:gl',
],
'include_dirs': [
'..',
],
'sources': [
'config/dx_diag_node.cc',
'config/dx_diag_node.h',
'config/gpu_blacklist.cc',
'config/gpu_blacklist.h',
'config/gpu_control_list.cc',
'config/gpu_control_list.h',
'config/gpu_control_list_jsons.h',
'config/gpu_driver_bug_list.cc',
'config/gpu_driver_bug_list.h',
'config/gpu_driver_bug_list_json.cc',
'config/gpu_driver_bug_workaround_type.h',
'config/gpu_dx_diagnostics_win.cc',
'config/gpu_feature_type.h',
'config/gpu_info.cc',
'config/gpu_info.h',
'config/gpu_info_collector.cc',
'config/gpu_info_collector.h',
'config/gpu_info_collector_android.cc',
'config/gpu_info_collector_linux.cc',
'config/gpu_info_collector_linux.h',
'config/gpu_info_collector_mac.mm',
'config/gpu_info_collector_ozone.cc',
'config/gpu_info_collector_win.cc',
'config/gpu_info_collector_x11.cc',
'config/gpu_switches.cc',
'config/gpu_switches.h',
'config/gpu_test_config.cc',
'config/gpu_test_config.h',
'config/gpu_test_expectations_parser.cc',
'config/gpu_test_expectations_parser.h',
'config/gpu_util.cc',
'config/gpu_util.h',
'config/software_rendering_list_json.cc',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'../third_party/libxml/libxml.gyp:libxml',
],
'link_settings': {
'libraries': [
'-ldxguid.lib',
'-lsetupapi.lib',
],
},
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
}],
['OS=="win" and branding=="Chrome" and buildtype=="Official"', {
'sources': [
'../third_party/amd/AmdCfxPxExt.h',
'../third_party/amd/amd_videocard_info_win.cc',
],
}],
['OS=="linux" and use_libpci==1 and (use_x11==1 or use_ozone==1)', {
'dependencies': [
'../build/linux/system.gyp:libpci',
],
}],
['OS=="linux" and use_x11==1', {
'dependencies': [
'../build/linux/system.gyp:x11',
'../build/linux/system.gyp:xext',
'../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
'../ui/gfx/x/gfx_x11.gyp:gfx_x11',
],
}],
],
}