Index: libadblockplus-android/build.gradle |
diff --git a/libadblockplus-android/build.gradle b/libadblockplus-android/build.gradle |
index f8159101066630b283980377f5cec97a7ae7356e..28a38bd03473bcd9426ac7e46331f574db6e91a5 100644 |
--- a/libadblockplus-android/build.gradle |
+++ b/libadblockplus-android/build.gradle |
@@ -9,9 +9,39 @@ android { |
targetSdkVersion 16 |
versionCode 1 |
versionName "1.0" |
+ } |
+ |
+ publishNonDefault true |
+ |
+ productFlavors { |
+ abi_arm { |
+ ndk { |
+ abiFilters "armeabi-v7a" |
+ } |
+ |
+ externalNativeBuild { |
+ ndkBuild { |
+ arguments "APP_ABI=armeabi-v7a" |
+ } |
+ } |
+ } |
+ |
+ abi_x86 { |
+ ndk { |
+ abiFilters "x86" |
+ } |
+ |
+ externalNativeBuild { |
+ ndkBuild { |
+ arguments "APP_ABI=x86" |
+ } |
+ } |
+ } |
- ndk { |
- abiFilters 'armeabi-v7a', 'x86' |
+ abi_all { |
+ ndk { |
+ abiFilters 'armeabi-v7a', 'x86' |
+ } |
} |
} |