Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / angle / src / libGLESv2.gypi
1 # Copyright (c) 2013 The ANGLE Project 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     'target_defaults':
7     {
8         'defines':
9         [
10           'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES={ TEXT("d3dcompiler_46.dll"), TEXT("d3dcompiler_43.dll") }',
11         ],
12     },
13
14     'conditions':
15     [
16         ['OS=="win"',
17         {
18             'targets':
19             [
20                 {
21                     'target_name': 'libGLESv2',
22                     'type': 'shared_library',
23                     'dependencies': [ 'translator', 'commit_id', 'copy_compiler_dll' ],
24                     'include_dirs':
25                     [
26                         '.',
27                         '../include',
28                         'libGLESv2',
29                         '<(SHARED_INTERMEDIATE_DIR)',
30                     ],
31                     'sources': [ '<!@(python enumerate_files.py common libGLESv2 third_party/murmurhash -types *.cpp *.h *.hlsl *.vs *.ps *.bat *.def libGLESv2.rc)' ],
32                     'msvs_disabled_warnings': [ 4267 ],
33                     'msvs_settings':
34                     {
35                         'VCLinkerTool':
36                         {
37                             'AdditionalDependencies':
38                             [
39                                 'd3d9.lib',
40                                 'dxguid.lib',
41                             ]
42                         }
43                     },
44                     'configurations':
45                     {
46                         'Debug':
47                         {
48                             'defines':
49                             [
50                                 'ANGLE_ENABLE_PERF',
51                             ],
52                         },
53                     },
54                 },
55             ],
56         },
57         ],
58     ],
59 }