OLD | NEW |
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 for multiple library files. | 109 for multiple library files. |
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 |
| 120 Set `SHARED_V8_LIB_DIRECTORY` environment variable as full absolute path to pass |
| 121 specific directory instead of default one (`libadblockplus-android/jni/libadbloc
kplus-binaries`). |
119 | 122 |
120 ## Library tests | 123 ## Library tests |
121 | 124 |
122 Android tests for the library. | 125 Android tests for the library. |
123 You can find them in the 'libadblockplus-android-tests' directory. | 126 You can find them in the 'libadblockplus-android-tests' directory. |
124 | 127 |
125 ### Requirements | 128 ### Requirements |
126 | 129 |
127 Make sure _Library_ requirements are present. | 130 Make sure _Library_ requirements are present. |
128 | 131 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 | 327 |
325 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo
ry. | 328 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo
ry. |
326 | 329 |
327 #### Building with Gradle | 330 #### Building with Gradle |
328 | 331 |
329 In the project root directory run: | 332 In the project root directory run: |
330 | 333 |
331 ./gradlew assemble | 334 ./gradlew assemble |
332 | 335 |
333 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs
/apk/' directory. | 336 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs
/apk/' directory. |
OLD | NEW |