diff --git a/gyp/common.gypi b/gyp/common.gypi index b6f756de21..f822166ac6 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -62,6 +62,16 @@ ], }, }], + [ 'skia_vulkan', { + 'defines': [ + 'SK_VULKAN', + ], + 'direct_dependent_settings': { + 'defines': [ + 'SK_VULKAN', + ], + }, + }], [ 'skia_win_debuggers_path and skia_os == "win"', { 'defines': [ diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi index ed4cdb69f9..715f08ec45 100644 --- a/gyp/common_variables.gypi +++ b/gyp/common_variables.gypi @@ -134,6 +134,7 @@ 'skia_osx_deployment_target%': '', 'skia_pdf%': 1, 'skia_profile_enabled%': 0, + 'skia_vulkan%': 0, 'skia_win_debuggers_path%': '', 'skia_shared_lib%': 0, 'skia_opencl%': 0, @@ -207,6 +208,7 @@ 'skia_chrome_utils%': '<(skia_chrome_utils)', 'skia_gdi%': '<(skia_gdi)', 'skia_gpu%': '<(skia_gpu)', + 'skia_vulkan%': '<(skia_vulkan)', 'skia_win_exceptions%': 0, 'skia_win_ltcg%': 1, 'sknx_no_simd%': 0,