Home | History | Annotate | Download | only in src
      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                     ],
     22                     'sources':
     23                     [
     24                         '<!@(python <(angle_path)/enumerate_files.py \
     25                              -dirs common libEGL ../include \
     26                              -types *.cpp *.h *.def *.rc)',
     27                     ],
     28                     'defines':
     29                     [
     30                         'GL_APICALL=',
     31                         'GL_GLEXT_PROTOTYPES=',
     32                         'EGLAPI=',
     33                     ],
     34                     'includes': [ '../build/common_defines.gypi', ],
     35                     'msvs_settings':
     36                     {
     37                         'VCLinkerTool':
     38                         {
     39                             'AdditionalDependencies':
     40                             [
     41                                 'd3d9.lib',
     42                             ],
     43                         },
     44                     },
     45                     'configurations':
     46                     {
     47                         'Debug':
     48                         {
     49                             'defines':
     50                             [
     51                                 'ANGLE_ENABLE_PERF',
     52                             ],
     53                         },
     54                     },
     55                 },
     56             ],
     57         },
     58         ],
     59     ],
     60 }
     61