Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android/build.gradle

Issue 29649555: Issue 6219 - Create flavors per ABI (Closed)
Patch Set: Created Dec. 26, 2017, 2:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« build.gradle ('K') | « libadblockplus-android-webviewapp/build.gradle ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
+ }
}
}
« build.gradle ('K') | « libadblockplus-android-webviewapp/build.gradle ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld