| OLD | NEW |
| 1 # ANGLE is the Windows-specific translator from OGL ES 2.0 to D3D 9 | 1 # ANGLE is the Windows-specific translator from OGL ES to D3D |
| 2 | 2 |
| 3 { | 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': [ | 4 'targets': [ |
| 42 { | 5 { |
| 43 'target_name': 'angle', | 6 'target_name': 'angle', |
| 44 'type': 'none', | 7 'type': 'none', |
| 45 'conditions': [ | 8 'conditions': [ |
| 46 [ 'skia_angle', { | 9 [ 'skia_angle', { |
| 47 'direct_dependent_settings': { | 10 'direct_dependent_settings': { |
| 48 'include_dirs': [ | 11 'include_dirs': [ |
| 49 '../third_party/externals/angle/include', | 12 '../third_party/externals/angle2/include', |
| 50 ], | 13 ], |
| 51 }, | 14 }, |
| 15 'dependencies': [ |
| 16 '../third_party/externals/angle2/src/angle.gyp:libEGL', |
| 17 '../third_party/externals/angle2/src/angle.gyp:libGLESv2', |
| 18 ], |
| 52 }], | 19 }], |
| 53 ], | 20 ], |
| 54 }, | 21 }, |
| 55 ], | 22 ], |
| 56 } | 23 } |
| OLD | NEW |