Index: platform_tools/android/gyp/skia_android.gypi |
diff --git a/platform_tools/android/gyp/skia_android.gypi b/platform_tools/android/gyp/skia_android.gypi |
index d4f865a1ae007bede00e08baa69c7f0bcdd6df49..270b934baf94b496e8900541e40bae99d52e59c4 100644 |
--- a/platform_tools/android/gyp/skia_android.gypi |
+++ b/platform_tools/android/gyp/skia_android.gypi |
@@ -30,9 +30,16 @@ |
# still build. |
{ |
'destination': '<(PRODUCT_DIR)/android/libs/<(android_arch)', |
- 'files': [ |
- '<(SHARED_LIB_DIR)/libSampleApp.so', |
- '<(SHARED_LIB_DIR)/libskia_android.so', |
+ 'conditions': [ |
+ [ 'skia_shared_lib', { |
+ 'files': [ |
+ '<(SHARED_LIB_DIR)/libSampleApp.so', |
+ '<(SHARED_LIB_DIR)/libskia_android.so', |
+ ]}, { |
+ 'files': [ |
+ '<(SHARED_LIB_DIR)/libSampleApp.so', |
+ ]} |
+ ], |
], |
}, |
], |