| Index: gyp/gpu.gyp
|
| diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp
|
| index 874db5cb67c05e431d7688f3726b780dc28584f6..c17789ab7a7f3de09941a74a2a2354ebd0dcfdf2 100644
|
| --- a/gyp/gpu.gyp
|
| +++ b/gyp/gpu.gyp
|
| @@ -181,6 +181,12 @@
|
| },
|
| }],
|
| [ 'skia_vulkan', {
|
| + 'link_settings': {
|
| + 'libraries': [ '<(vulkan_lib_name)', ],
|
| + },
|
| + 'dependencies': [
|
| + 'shaderc.gyp:shaderc_combined',
|
| + ],
|
| 'conditions': [
|
| [ 'skia_os == "win"', {
|
| 'variables': {
|
| @@ -225,21 +231,32 @@
|
| 'library_dirs': [ '<(vulkan_sdk_path)/lib', ],
|
| },
|
| }],
|
| + [ 'skia_android_framework', {
|
| + 'include_dirs': [
|
| + 'frameworks/native/vulkan/include',
|
| + '../tools/viewer/sk_app',
|
| + '../tools/viewer/sk_app/android',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + 'frameworks/native/vulkan/include',
|
| + '../tools/viewer/sk_app',
|
| + '../tools/viewer/sk_app/android',
|
| + ],
|
| + },
|
| + 'dependencies!': [
|
| + 'shaderc.gyp:shaderc_combined',
|
| + ],
|
| + 'sources': [
|
| + # the gyp -> android.mk generator doesn't seem to like cpp files
|
| + # in directories outside of src, bench, or dm. Until this gets fixed
|
| + # I just start the path in the src directory.
|
| + '<(skia_src_path)/../tools/viewer/sk_app/WindowContext.cpp',
|
| + '<(skia_src_path)/../tools/viewer/sk_app/VulkanWindowContext.cpp',
|
| + '<(skia_src_path)/../tools/viewer/sk_app/android/VulkanWindowContext_android.cpp'
|
| + ],
|
| + }],
|
| ],
|
| - 'dependencies': [
|
| - 'shaderc.gyp:shaderc_combined',
|
| - ],
|
| - 'include_dirs': [
|
| - '../third_party/externals/shaderc2/libshaderc/include',
|
| - ],
|
| - 'direct_dependent_settings': {
|
| - 'include_dirs': [
|
| - '../third_party/externals/shaderc2/libshaderc/include',
|
| - ],
|
| - },
|
| - 'link_settings': {
|
| - 'libraries': [ '<(vulkan_lib_name)', ],
|
| - },
|
| }, {
|
| 'sources!': [
|
| '<@(skgpu_vk_sources)',
|
|
|