OLD | NEW |
1 libadblockplus | 1 libadblockplus |
2 ============== | 2 ============== |
3 | 3 |
4 A C++ library offering the core functionality of Adblock Plus. | 4 A C++ library offering the core functionality of Adblock Plus. |
5 | 5 |
6 Getting/updating the dependencies | 6 Getting/updating the dependencies |
7 --------------------------------- | 7 --------------------------------- |
8 | 8 |
9 libadblockplus has dependencies that aren't part of this repository. They are | 9 libadblockplus has dependencies that aren't part of this repository. They are |
10 retrieved and updated during the build process, but you can also manually update | 10 retrieved and updated during the build process, but you can also manually update |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 ### Unix | 243 ### Unix |
244 | 244 |
245 The shell is automatically built by `make`, you can run it as follows: | 245 The shell is automatically built by `make`, you can run it as follows: |
246 | 246 |
247 build/out/abpshell | 247 build/out/abpshell |
248 | 248 |
249 ### Windows | 249 ### Windows |
250 | 250 |
251 Just run the project *abpshell*. | 251 Just run the project *abpshell*. |
| 252 |
| 253 Building with prebuilt V8 |
| 254 ------------------------- |
| 255 |
| 256 This functionality is only for internal usage. |
| 257 |
| 258 ## How to use it: |
| 259 Let's say that v8 is stored in `libadblockplus/v8-bins`. |
| 260 ### Windows |
| 261 |
| 262 set "GYP_DEFINES=libv8_include_dir=../../v8-bins/win/include libv8_lib_dir=.
./../v8-bins/win/Win32/<(CONFIGURATION_NAME) libv8_no_build=true" |
| 263 createsolution.bat |
| 264 |
| 265 ### *nix |
| 266 |
| 267 [ANDROID_NDK_ROOT=....] make [android_...] LIBV8_LIB_DIR=../v8-bins/libs LIB
V8_INCLUDE_DIR=../v8-bins/include |
| 268 |
| 269 The rest is the same. |
OLD | NEW |