2014-05-01 20:20:50 +00:00
|
|
|
# ANGLE is the Windows-specific translator from OGL ES 2.0 to D3D 9
|
2012-04-02 20:42:26 +00:00
|
|
|
|
|
|
|
{
|
2014-05-01 20:20:50 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'skia_angle', {
|
|
|
|
'target_defaults': {
|
|
|
|
'include_dirs': [
|
|
|
|
'$(DXSDK_DIR)/Include',
|
|
|
|
],
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_arch_width == 32 ', {
|
|
|
|
'AdditionalLibraryDirectories': [
|
|
|
|
'$(DXSDK_DIR)/Lib/x86',
|
|
|
|
],
|
|
|
|
},{
|
|
|
|
'AdditionalLibraryDirectories': [
|
|
|
|
'$(DXSDK_DIR)/Lib/x64',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'defines': [
|
|
|
|
'NOMINMAX',
|
|
|
|
],
|
|
|
|
'defines/': [
|
|
|
|
['exclude', 'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES'],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'variables': {
|
|
|
|
'component': 'static_library',
|
|
|
|
'skia_warnings_as_errors': 0,
|
|
|
|
},
|
|
|
|
'includes': [
|
|
|
|
'../third_party/externals/angle/src/build_angle.gypi',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2012-04-02 20:42:26 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'angle',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_angle', {
|
|
|
|
'direct_dependent_settings': {
|
2012-09-04 16:45:05 +00:00
|
|
|
'include_dirs': [
|
2014-05-01 20:20:50 +00:00
|
|
|
'../third_party/externals/angle/include',
|
2012-09-04 16:45:05 +00:00
|
|
|
],
|
2012-04-02 20:42:26 +00:00
|
|
|
},
|
|
|
|
}],
|
2012-09-04 16:45:05 +00:00
|
|
|
],
|
|
|
|
},
|
2012-04-02 20:42:26 +00:00
|
|
|
],
|
|
|
|
}
|