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

Side by Side Diff: README.md

Issue 29509592: Issue 5267 - Add support of 64 bit android (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: address comments Created Aug. 8, 2017, 3:45 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« Makefile ('K') | « Makefile ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 Tested on Microsoft Visual Studio 2015 Community Edition. 78 Tested on Microsoft Visual Studio 2015 Community Edition.
79 79
80 ### Building for Android 80 ### Building for Android
81 81
82 First set ANDROID_NDK_ROOT environment variable to your Android NDK directory. 82 First set ANDROID_NDK_ROOT environment variable to your Android NDK directory.
83 83
84 To build for *x86* arch run: 84 To build for *x86* arch run:
85 85
86 make android_x86 86 make android_x86
87 87
88 To build for *arm* arch run: 88 To build for *arm* or *arm64* arch run:
89 89
90 make android_arm 90 make android_arm
91 91
92 or
93 make android_arm64
94
92 Usage 95 Usage
93 ----- 96 -----
94 97
95 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web 98 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web
96 content filter. Just like Adblock Plus, it can detect resources that should be 99 content filter. Just like Adblock Plus, it can detect resources that should be
97 blocked based on their URL and context information, and generate CSS selectors 100 blocked based on their URL and context information, and generate CSS selectors
98 to hide DOM elements. 101 to hide DOM elements.
99 102
100 The basic usage is explained below, see the 103 The basic usage is explained below, see the
101 [API documentation](https://adblockplus.org/docs/libadblockplus) for more 104 [API documentation](https://adblockplus.org/docs/libadblockplus) for more
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ### Windows 263 ### Windows
261 264
262 set "GYP_DEFINES=libv8_include_dir=../../v8-bins/win/include libv8_lib_dir=. ./../v8-bins/win/Win32/<(CONFIGURATION_NAME) libv8_no_build=true" 265 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 266 createsolution.bat
264 267
265 ### *nix 268 ### *nix
266 269
267 [ANDROID_NDK_ROOT=....] make [android_...] LIBV8_LIB_DIR=../v8-bins/libs LIB V8_INCLUDE_DIR=../v8-bins/include 270 [ANDROID_NDK_ROOT=....] make [android_...] LIBV8_LIB_DIR=../v8-bins/libs LIB V8_INCLUDE_DIR=../v8-bins/include
268 271
269 The rest is the same. 272 The rest is the same.
OLDNEW
« Makefile ('K') | « Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld