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

Side by Side Diff: README.md

Issue 29649555: Issue 6219 - Create flavors per ABI (Closed)
Patch Set: Created Dec. 26, 2017, 2:19 p.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 | « no previous file | build.gradle » ('j') | build.gradle » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Adblock Plus Library for Android 1 Adblock Plus Library for Android
2 ================================ 2 ================================
3 3
4 An Android library project, tests and demo application for AdblockWebView widget . 4 An Android library project, tests and demo application for AdblockWebView widget .
5 5
6 ## Updating the dependencies 6 ## Updating the dependencies
7 7
8 Adblock Plus for Android has dependencies that aren't in this repository. 8 Adblock Plus for Android has dependencies that aren't in this repository.
9 To update those, call: 9 To update those, call:
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 Note 111 Note
112 112
113 [Configuration] Excluding shared v8 library libv8.cr.so from AAR 113 [Configuration] Excluding shared v8 library libv8.cr.so from AAR
114 ... 114 ...
115 [Configuration] Linking dynamically with shared v8 library ./libadblockplus- binaries/android_armeabi-v7a/libv8.cr.so 115 [Configuration] Linking dynamically with shared v8 library ./libadblockplus- binaries/android_armeabi-v7a/libv8.cr.so
116 ... 116 ...
117 117
118 output while building. 118 output while building.
119 119
120 ### Building for single ARCH
121
122 By default libadblockplus-android is built for both ARM and x86 and it can be fi ltered when
123 building end-user android application. However sometimes it can be desired to bu ild
124 "libadblockplus-android.aar" for single ARCH.
125
126 Pass `abi_arm` or `abi_x86` to build it for single arch or `abi_all` for all ARC Hs:
127
128 `./gradlew clean assembleAbi_arm`
129
130 Note
131
132 [Configuration] Using libadblockplus-android ABI flavor: abi_arm
133
134 output while building.
135
120 ## Library tests 136 ## Library tests
121 137
122 Android tests for the library. 138 Android tests for the library.
123 You can find them in the 'libadblockplus-android-tests' directory. 139 You can find them in the 'libadblockplus-android-tests' directory.
124 140
125 ### Requirements 141 ### Requirements
126 142
127 Make sure _Library_ requirements are present. 143 Make sure _Library_ requirements are present.
128 144
129 ### Building with Ant 145 ### Building with Ant
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 340
325 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry. 341 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry.
326 342
327 #### Building with Gradle 343 #### Building with Gradle
328 344
329 In the project root directory run: 345 In the project root directory run:
330 346
331 ./gradlew assemble 347 ./gradlew assemble
332 348
333 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory. 349 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory.
OLDNEW
« no previous file with comments | « no previous file | build.gradle » ('j') | build.gradle » ('J')

Powered by Google App Engine
This is Rietveld