'target_defaults': {
'defines': [
+ 'SK_INTERNAL',
'SK_GAMMA_SRGB',
'SK_GAMMA_APPLY_TO_A8',
'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloatToScalar
{
'defines': [
'SK_SCALAR_IS_FLOAT',
- 'SK_CAN_USE_FLOAT',
],
}, { # else, skia_scalar != "float"
'defines': [
'SK_SCALAR_IS_FIXED',
- 'SK_CAN_USE_FLOAT', # we can still use floats along the way
],
}
],