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

Side by Side Diff: libadblockplus-android/build.gradle

Issue 29649555: Issue 6219 - Create flavors per ABI (Closed)
Patch Set: renamed variable Created Jan. 9, 2018, 6:20 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « libadblockplus-android-webviewapp/build.gradle ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 apply plugin: 'com.android.library' 1 apply plugin: 'com.android.library'
2 2
3 android { 3 android {
4 compileSdkVersion 16 4 compileSdkVersion 16
5 buildToolsVersion "25.0.0" 5 buildToolsVersion "25.0.0"
6 6
7 defaultConfig { 7 defaultConfig {
8 minSdkVersion 11 8 minSdkVersion 11
9 targetSdkVersion 16 9 targetSdkVersion 16
10 versionCode 1 10 versionCode 1
11 versionName "1.0" 11 versionName "1.0"
12 }
12 13
13 ndk { 14 publishNonDefault true
14 abiFilters 'armeabi-v7a', 'x86' 15
16 productFlavors {
17 abi_arm {
18 ndk {
19 abiFilters "armeabi-v7a"
20 }
21
22 externalNativeBuild {
23 ndkBuild {
24 arguments "APP_ABI=armeabi-v7a"
25 }
26 }
27 }
28
29 abi_x86 {
30 ndk {
31 abiFilters "x86"
32 }
33
34 externalNativeBuild {
35 ndkBuild {
36 arguments "APP_ABI=x86"
37 }
38 }
39 }
40
41 abi_all {
42 ndk {
43 abiFilters 'armeabi-v7a', 'x86'
44 }
15 } 45 }
16 } 46 }
17 47
18 externalNativeBuild { 48 externalNativeBuild {
19 ndkBuild { 49 ndkBuild {
20 path 'jni/Android.mk' 50 path 'jni/Android.mk'
21 } 51 }
22 } 52 }
23 53
24 sourceSets { 54 sourceSets {
(...skipping 15 matching lines...) Expand all
40 } 70 }
41 71
42 packagingOptions { 72 packagingOptions {
43 excludes = sharedV8LibFilesSet 73 excludes = sharedV8LibFilesSet
44 } 74 }
45 } else { 75 } else {
46 println "[Configuration] No shared v8 libraries excluded from AAR" 76 println "[Configuration] No shared v8 libraries excluded from AAR"
47 } 77 }
48 78
49 } 79 }
OLDNEW
« no previous file with comments | « libadblockplus-android-webviewapp/build.gradle ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld