Geoff Lang | 39d5166 | 2013-08-29 16:08:23 -0400 | [diff] [blame] | 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', |
Jamie Madill | 049108d | 2013-11-19 10:41:49 -0500 | [diff] [blame] | 15 | 'dependencies': [ 'libGLESv2', 'commit_id' ], |
Geoff Lang | 39d5166 | 2013-08-29 16:08:23 -0400 | [diff] [blame] | 16 | 'include_dirs': |
| 17 | [ |
| 18 | '.', |
| 19 | '../include', |
| 20 | 'libGLESv2', |
| 21 | ], |
Geoff Lang | d5da329 | 2014-02-06 13:24:33 -0500 | [diff] [blame] | 22 | 'sources': |
| 23 | [ |
Jamie Madill | f0b4060 | 2014-03-24 14:49:11 -0400 | [diff] [blame] | 24 | '<!@(python <(angle_path)/enumerate_files.py \ |
Geoff Lang | d5da329 | 2014-02-06 13:24:33 -0500 | [diff] [blame] | 25 | -dirs common libEGL ../include \ |
| 26 | -types *.cpp *.h *.def *.rc)', |
| 27 | ], |
Geoff Lang | d7e7d73 | 2014-05-27 16:10:46 -0400 | [diff] [blame] | 28 | 'defines': |
| 29 | [ |
| 30 | 'GL_APICALL=', |
| 31 | 'GL_GLEXT_PROTOTYPES=', |
| 32 | 'EGLAPI=', |
| 33 | ], |
Geoff Lang | d095bda | 2014-04-07 14:21:14 -0400 | [diff] [blame] | 34 | 'includes': [ '../build/common_defines.gypi', ], |
Geoff Lang | 39d5166 | 2013-08-29 16:08:23 -0400 | [diff] [blame] | 35 | 'msvs_settings': |
| 36 | { |
| 37 | 'VCLinkerTool': |
| 38 | { |
| 39 | 'AdditionalDependencies': |
| 40 | [ |
| 41 | 'd3d9.lib', |
Geoff Lang | 39d5166 | 2013-08-29 16:08:23 -0400 | [diff] [blame] | 42 | ], |
| 43 | }, |
| 44 | }, |
Geoff Lang | f571312 | 2013-10-07 17:06:30 -0400 | [diff] [blame] | 45 | 'configurations': |
| 46 | { |
| 47 | 'Debug': |
| 48 | { |
| 49 | 'defines': |
| 50 | [ |
| 51 | 'ANGLE_ENABLE_PERF', |
| 52 | ], |
| 53 | }, |
| 54 | }, |
Geoff Lang | 39d5166 | 2013-08-29 16:08:23 -0400 | [diff] [blame] | 55 | }, |
| 56 | ], |
| 57 | }, |
| 58 | ], |
| 59 | ], |
| 60 | } |