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

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

Issue 29351744: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: added Maven build configuration files for -webview and -webviewapp modules Created Oct. 5, 2016, 11:19 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/AndroidManifest.xml ('k') | libadblockplus-android/pom.xml » ('j') | 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.model.library' 1 apply plugin: 'com.android.model.library'
2 2
3 model { 3 model {
4 4
5 repositories { 5 repositories {
6 libs(PrebuiltLibraries) { 6 libs(PrebuiltLibraries) {
7 libadblockplus { 7 libadblockplus {
8 headers.srcDir 'jni/libadblockplus-binaries/include/' 8 headers.srcDir 'jni/libadblockplus-binaries/include/'
9 binaries.withType(SharedLibraryBinary) { 9 binaries.withType(SharedLibraryBinary) {
10 sharedLibraryFile = file("jni/libadblockplus-binaries/android_${target Platform.getName()}/libadblockplus.a") 10 sharedLibraryFile = file("jni/libadblockplus-binaries/android_${target Platform.getName()}/libadblockplus.a")
(...skipping 25 matching lines...) Expand all
36 cppFlags.add("-std=c++11") 36 cppFlags.add("-std=c++11")
37 cppFlags.add("-fexceptions") 37 cppFlags.add("-fexceptions")
38 stl = "c++_static" 38 stl = "c++_static"
39 39
40 abiFilters.addAll(['armeabi-v7a', 'x86']) // supported abis only 40 abiFilters.addAll(['armeabi-v7a', 'x86']) // supported abis only
41 } 41 }
42 42
43 defaultConfig { 43 defaultConfig {
44 minSdkVersion.apiLevel 9 44 minSdkVersion.apiLevel 9
45 targetSdkVersion.apiLevel 16 45 targetSdkVersion.apiLevel 16
46 versionCode 359 46 versionCode 1
47 versionName "1.3" 47 versionName "1.0"
48 } 48 }
49 49
50 sources { 50 sources {
51 main { 51 main {
52 manifest { 52 manifest {
53 source { 53 source {
54 srcDir '.' 54 srcDir '.'
55 include 'AndroidManifest.xml' 55 include 'AndroidManifest.xml'
56 } 56 }
57 } 57 }
58 java { source { srcDirs = ['src'] } } 58 java { source { srcDirs = ['src'] } }
59 resources { source { srcDirs = ['src'] } } 59 resources { source { srcDirs = ['src'] } }
60 res { source { srcDirs = ['res'] } } 60 res { source { srcDirs = ['res'] } }
61 jni { 61 jni {
62 source { srcDirs = ['jni'] } 62 source { srcDirs = ['jni'] }
63 dependencies { 63 dependencies {
64 library "libadblockplus" 64 library "libadblockplus"
65 library "v8_base" 65 library "v8_base"
66 library "v8_snapshot" 66 library "v8_snapshot"
67 } 67 }
68 } 68 }
69 } 69 }
70 } 70 }
71 } 71 }
72 } 72 }
OLDNEW
« no previous file with comments | « libadblockplus-android/AndroidManifest.xml ('k') | libadblockplus-android/pom.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld