Index: README.md |
diff --git a/README.md b/README.md |
index deb034f259aff3b9cb296db73abe1b8a96308ea1..8d26afd1f5ebefc655ba9f0436dae13c09e05dd3 100644 |
--- a/README.md |
+++ b/README.md |
@@ -91,6 +91,19 @@ An app that uses the library have to add the following permissions to `AndroidMa |
(added automatically if building with Gradle or should be added manually otherwise). |
+### Building with prebuilt shared V8 |
+ |
+This can be desired to use product's V8 (let's say Chromium) instead of libadblockplus built-in V8. |
+Put prebuilt shared V8 library file in ARCH directories and set `SHARED_V8_LIB_FILENAME` |
+environment variable before building. Libadblockplus is required to be linked with that library file. |
+ |
+For example (build with Gradle): |
+ |
+ SHARED_V8_LIB_FILENAME=libswev8.so ./gradlew clean assemble |
+ |
+Note `[Configuration] Linking dynamically with shared v8 library ./libadblockplus-binaries/android_armeabi-v7a/libv8.cr.so` |
+output while building native library. |
+ |
## Library tests |
Android tests for the library. |