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

Unified Diff: README.md

Issue 29557565: Issue 5800 - Add option to specify a list of V8 libraries (Closed)
Patch Set: Renamed env. variable Created Sept. 29, 2017, 8:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | libadblockplus-android/jni/Android.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index deb034f259aff3b9cb296db73abe1b8a96308ea1..d4068342969489f3a4b0fe40968dbd3eb5788e05 100644
--- a/README.md
+++ b/README.md
@@ -91,6 +91,29 @@ 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.
sergei 2017/09/29 08:35:41 I would replace "libadblockplus built-in V8" by "V
anton 2017/09/29 08:43:51 The user can be not aware of internal structure of
sergei 2017/09/29 09:21:05 OK, but V8 is not build-in, libadblockplus.a is no
anton 2017/09/29 11:45:28 Acknowledged.
+Put prebuilt shared V8 library file(s) in ARCH directories and set `SHARED_V8_LIB_FILENAMES`
+environment variable before building. You can pass multiple filenames, separated with `:`.
sergei 2017/09/29 08:35:41 Why not separate them by spaces instead of `:`?
anton 2017/09/29 08:43:51 Does it make sense what separator? ":" standard s
sergei 2017/09/29 09:21:04 On windows the standard path separator is ; becaus
anton 2017/09/29 11:45:28 Let's have ',' as working for all solution.
+Libadblockplus is required to be linked with that library file(s).
sergei 2017/09/29 08:35:41 actually not "Libadblockplus" but libadblockplus-a
anton 2017/09/29 08:43:51 I've meant libadblockplus actually. To be more det
sergei 2017/09/29 09:21:04 Acknowledged. Maybe we should say that this librar
anton 2017/09/29 11:45:29 I'm not sure it's required for most users. And it
+
+For example (build with Gradle):
+
+ SHARED_V8_LIB_FILENAMES=libv8.cr.so ./gradlew clean assemble
+
+or
+
+ SHARED_V8_LIB_FILENAMES=libv8.cr.so:libfoo.so ./gradlew clean assemble
+
+for multiple library files.
+
+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.
« no previous file with comments | « no previous file | libadblockplus-android/jni/Android.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld