Home | History | Annotate | Download | only in gyp
      1 # ANGLE is the Windows-specific translator from OGL ES 2.0 to D3D 9
      2 
      3 {
      4   'conditions': [
      5     [ 'skia_angle', {
      6       'target_defaults': {
      7         'include_dirs': [
      8           '$(DXSDK_DIR)/Include',
      9         ],
     10         'msvs_settings': {
     11           'VCLinkerTool': {
     12             'conditions': [
     13               [ 'skia_arch_width == 32 ', {
     14                 'AdditionalLibraryDirectories': [
     15                   '$(DXSDK_DIR)/Lib/x86',
     16                 ],
     17               },{
     18                 'AdditionalLibraryDirectories': [
     19                   '$(DXSDK_DIR)/Lib/x64',
     20                 ],
     21               }],
     22             ],
     23           },
     24         },
     25         'defines': [
     26           'NOMINMAX',
     27         ],
     28         'defines/': [
     29           ['exclude', 'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES'],
     30         ],
     31       },
     32       'variables': {
     33         'component': 'static_library',
     34         'skia_warnings_as_errors': 0,
     35       },
     36       'includes': [
     37         '../third_party/externals/angle/src/build_angle.gypi',
     38       ],
     39     }],
     40   ],
     41   'targets': [
     42     {
     43       'target_name': 'angle',
     44       'type': 'none',
     45       'conditions': [
     46         [ 'skia_angle', {
     47           'direct_dependent_settings': {
     48             'include_dirs': [
     49               '../third_party/externals/angle/include',
     50             ],
     51           },
     52         }],
     53       ],
     54     },
     55   ],
     56 }
     57