c83393ffa58741deede279f358b18b7718be3e87
[platform/framework/web/crosswalk.git] / src / third_party / angle / src / libEGL.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     'conditions':
7     [
8         ['OS=="win"',
9         {
10             'targets':
11             [
12                 {
13                     'target_name': 'libEGL',
14                     'type': 'shared_library',
15                     'dependencies': [ 'libGLESv2', 'commit_id' ],
16                     'include_dirs':
17                     [
18                         '.',
19                         '../include',
20                         'libGLESv2',
21                         '<(SHARED_INTERMEDIATE_DIR)',
22                     ],
23                     'sources': [ '<!@(python enumerate_files.py common libEGL -types *.cpp *.h *.def libEGL.rc)' ],
24                     'msvs_disabled_warnings': [ 4267 ],
25                     'msvs_settings':
26                     {
27                         'VCLinkerTool':
28                         {
29                             'AdditionalDependencies':
30                             [
31                                 'd3d9.lib',
32                             ],
33                         },
34                     },
35                     'configurations':
36                     {
37                         'Debug':
38                         {
39                             'defines':
40                             [
41                                 'ANGLE_ENABLE_PERF',
42                             ],
43                         },
44                     },
45                 },
46             ],
47         },
48         ],
49     ],
50 }