Index: gyp/vulkanviewer.gyp |
diff --git a/gyp/vulkanviewer.gyp b/gyp/vulkanviewer.gyp |
index fb67e55db84fc7685a8d549e3585526d2f4a2e36..91c175b94ea688c00318647bcc0ae8e4b1c22c92 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)$'], |
+ ], |
+ }], |
+ ], |
}, |
], |
} |