Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / gpu / gpu_config.gypi
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     '../third_party/re2/re2.gyp:re2',
8     '../base/base.gyp:base',
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',
32     'config/gpu_info_collector_ozone.cc',
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_test_config.cc',
39     'config/gpu_test_config.h',
40     'config/gpu_test_expectations_parser.cc',
41     'config/gpu_test_expectations_parser.h',
42     'config/gpu_util.cc',
43     'config/gpu_util.h',
44     'config/software_rendering_list_json.cc',
45   ],
46   'conditions': [
47     ['OS=="win"', {
48       'dependencies': [
49         '../third_party/libxml/libxml.gyp:libxml',
50       ],
51       'link_settings': {
52         'libraries': [
53           '-ldxguid.lib',
54           '-lsetupapi.lib',
55         ],
56       },
57       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
58       'msvs_disabled_warnings': [ 4267, ],
59     }],
60     ['OS=="win" and branding=="Chrome"', {
61       'sources': [
62         '../third_party/amd/AmdCfxPxExt.h',
63         '../third_party/amd/amd_videocard_info_win.cc',
64       ],
65     }],
66     ['OS=="linux" and use_x11==1', {
67       'dependencies': [
68         '../build/linux/system.gyp:x11',
69         '../build/linux/system.gyp:xext',
70         '../build/linux/system.gyp:libpci',
71         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
72       ],
73     }],
74   ],
75 }