'product_name': 'skia_codec',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [ 4267 ],
'dependencies': [
'core.gyp:*',
'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
'configurations': {
'Debug': { 'defines': [ 'SK_DEBUG=1' ] },
'Release': { 'defines': [ 'NDEBUG' ] },
- 'ReleaseDeveloper': {
+ 'Release_Developer': {
'inherit_from': ['Release'],
'defines': [ 'SK_DEBUG=1' ],
'conditions': [
'SK_HAS_JPEG_LIBRARY',
'SK_HAS_PNG_LIBRARY',
'SK_HAS_WEBP_LIBRARY',
-
- 'SKIA_C_DLL',
- 'SKIA_IMPLEMENTATION=1',
],
'conditions' : [
[ 'skia_is_bot', {
'NOMINMAX',
],
'msvs_disabled_warnings': [
- 4251, # An exported class member was of a type that was not exported
4275, # An exported class was derived from a class that was not exported
4345, # This is an FYI about a behavior change from long ago. Chrome stifles it too.
4355, # 'this' used in base member initializer list. Off by default in newer compilers.
- 4334, # '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
],
'msvs_cygwin_shell': 0,
'msvs_settings': {
},
},
},
- 'ReleaseDeveloper_x64': {
- 'inherit_from': ['ReleaseDeveloper'],
+ 'Release_Developer_x64': {
+ 'inherit_from': ['Release_Developer'],
'msvs_settings': {
'VCCLCompilerTool': {
# Don't specify /arch. SSE2 is implied by 64bit and specifying it warns.
'-std=c++11',
'-fno-rtti',
'-fno-threadsafe-statics',
- '-fvisibility=hidden',
- '-fvisibility-inlines-hidden',
'-Wnon-virtual-dtor',
],
'ldflags': [ '-rdynamic' ],
'Release': {
'cflags': [
'-O<(skia_release_optimization_level)',
- '-ffunction-sections',
- '-fdata-sections',
],
'defines': [ 'NDEBUG' ],
},
],
'configurations': {
'Release': {
- 'cflags': [
- '-O<(skia_release_optimization_level)',
- '-ffunction-sections',
- '-fdata-sections',
- ],
+ 'cflags': ['-O2'],
'conditions': [
[ 'skia_clang_build', {
'cflags!': ['-g'],
# These variables determine the default optimization level for different
# compilers.
'skia_default_vs_optimization_level': 3, # full (/Ox)
- 'skia_default_gcc_optimization_level': 's', # -O3
+ 'skia_default_gcc_optimization_level': 3, # -O3
},
'conditions': [
'include_dirs': [
'../include/c',
- '../include/codec',
'../include/config',
'../include/core',
- '../include/effects',
'../include/pathops',
'../include/ports',
'../include/private',
'../include/utils',
'../include/images',
- '../include/gpu',
- '../include/xml',
- '../include/svg',
'../src/core',
'../src/sfnt',
'../src/image',
'-DqDNGUseXMP=0',
'-DqDNGValidate=0',
'-DqDNGValidateTarget=1',
- '-DqDNGPrintMessages=1', # WinRT especially, but no popups on any platform
'-fexceptions',
'-frtti',
'-w',
'product_name': 'skia_effects',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [4244],
'dependencies': [
'core.gyp:*',
'images.gyp:*',
'product_name': 'skia_skgpu',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [ 4244, 4267, 4800 ],
'dependencies': [
'core.gyp:*',
'utils.gyp:utils',
'../src/utils',
],
'sources': [ '<!@(python read_gni.py ../gn/opts.gni ssse3)' ],
- 'xcode_settings': { 'CLANG_X86_VECTOR_INSTRUCTIONS': 'ssse3' },
'conditions': [
[ 'skia_os == "win"', { 'defines' : [ 'SK_CPU_SSE_LEVEL=31' ] }],
[ 'not skia_android_framework', { 'cflags': [ '-mssse3' ] }],
'product_name': 'skia_opts_sse41',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [ 4244, 4267 ],
'dependencies': [ 'core.gyp:*' ],
'include_dirs': [
'../include/private',
'product_name': 'skia_opts_hsw',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [ 4244, 4267 ],
'dependencies': [ 'core.gyp:*' ],
'include_dirs': [
'../include/private',
'target_name': 'sksl',
'type': 'static_library',
'standalone_static_library': 1,
- 'msvs_disabled_warnings': [ 4267 ],
'sources': [ '<!@(python read_gni.py ../gn/sksl.gni skia_sksl_sources)' ],
'include_dirs': [
'../include/config',