diff options
Diffstat (limited to 'gyp/vulkanviewer.gyp')
-rw-r--r-- | gyp/vulkanviewer.gyp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gyp/vulkanviewer.gyp b/gyp/vulkanviewer.gyp index fb67e55db8..91c175b94e 100644 --- a/gyp/vulkanviewer.gyp +++ b/gyp/vulkanviewer.gyp @@ -42,6 +42,27 @@ 'tools.gyp:timer', 'tools.gyp:url_data_manager', ], + 'conditions' : [ + [ 'skia_os == "android"', { + 'dependencies': [ + 'android_deps.gyp:Android_EntryPoint', + 'android_deps.gyp:native_app_glue', + ], + 'link_settings': { + 'libraries': [ + '-landroid', + ], + }, + }], + ['skia_os != "android"', { + 'sources/': [ ['exclude', '_android.(h|cpp)$'], + ], + }], + ['skia_os != "win"', { + 'sources/': [ ['exclude', '_win.(h|cpp)$'], + ], + }], + ], }, ], } |