| LEFT | RIGHT |
| 1 Adblock Android SDK | 1 Adblock Android SDK |
| 2 ================================ | 2 ================================ |
| 3 | 3 |
| 4 An Android library project, tests, settings fragments and demo application for A
dblockWebView. | 4 An Android library project, tests, settings fragments and demo application for A
dblockWebView. |
| 5 | 5 |
| 6 ## Updating the dependencies | 6 ## Updating the dependencies |
| 7 | 7 |
| 8 Adblock Android SDK has dependencies that aren't in this repository. | 8 Adblock Android SDK has dependencies that aren't in this repository. |
| 9 To update those, call: | 9 To update those, call: |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * [The Android SDK](https://developer.android.com/sdk) | 22 * [The Android SDK](https://developer.android.com/sdk) |
| 23 * Android SDK Build tools 25.0.0 | 23 * Android SDK Build tools 25.0.0 |
| 24 * [The Android NDK, 16b](https://developer.android.com/ndk) | 24 * [The Android NDK, 16b](https://developer.android.com/ndk) |
| 25 | 25 |
| 26 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. | 26 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. |
| 27 | 27 |
| 28 #### Building of libadblockplus | 28 #### Building of libadblockplus |
| 29 | 29 |
| 30 First, we need to build `V8` required for `libadblockplus`. | 30 First, we need to build `V8` required for `libadblockplus`. |
| 31 See `libadblockplus/README` or V8 documentation on how to build V8 or | 31 See `libadblockplus/README` or V8 documentation on how to build V8 or |
| 32 fetch precompiled one. Run in 'libadblockplus' directory: | 32 fetch precompiled one. For the latter, run in 'libadblockplus' directory: |
| 33 | 33 |
| 34 make TARGET_OS=android ABP_TARGET_ARCH=arm Configuration=release get-prebuil
t-v8 | 34 make TARGET_OS=android ABP_TARGET_ARCH=arm Configuration=release get-prebuil
t-v8 |
| 35 make TARGET_OS=android ABP_TARGET_ARCH=ia32 Configuration=release get-prebui
lt-v8 | 35 make TARGET_OS=android ABP_TARGET_ARCH=ia32 Configuration=release get-prebui
lt-v8 |
| 36 | 36 |
| 37 Then we can build `libadblockplus`: | 37 Then we can build `libadblockplus`: |
| 38 | 38 |
| 39 make TARGET_OS=android ABP_TARGET_ARCH=arm Configuration=release | 39 make TARGET_OS=android ABP_TARGET_ARCH=arm Configuration=release |
| 40 make TARGET_OS=android ABP_TARGET_ARCH=ia32 Configuration=release | 40 make TARGET_OS=android ABP_TARGET_ARCH=ia32 Configuration=release |
| 41 | 41 |
| 42 #### Building from command-line | 42 #### Building from command-line |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 274 |
| 275 ### Building | 275 ### Building |
| 276 | 276 |
| 277 Make sure _Library_ requirements are present. | 277 Make sure _Library_ requirements are present. |
| 278 | 278 |
| 279 In the project root directory run: | 279 In the project root directory run: |
| 280 | 280 |
| 281 ./gradlew assemble | 281 ./gradlew assemble |
| 282 | 282 |
| 283 This will generate *.apk in the 'adblock-android-webviewapp/build/outputs/apk/'
directory. | 283 This will generate *.apk in the 'adblock-android-webviewapp/build/outputs/apk/'
directory. |
| LEFT | RIGHT |