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