Refresh android relocation packer from AOSP bionic.
[chromium-blink-merge.git] / third_party / android_platform / README.chromium
blob192b9d669be58213ff740e05bd156f18d878af15
1 Name: Android Platform engineering tools
2 Short Name: android platform development
3 URL: https://android.googlesource.com/platform/development
4 Version: 0
5 Date: 2014/05/02
6 Revision: 1b10ec4
7 License: Apache 2.0
8 License File: NOT_SHIPPED
9 Security Critical: no
11 Description:
12 Android Platform engineering tools, specifically stack symbolization scripts
13 and a jar containing the AOSP framework to compile the Android WebView
14 glue layer against. The AOSP framework is built from the Android release tag
15 after which it is named, and the jar can be built by invoking make on the
16 android_system_stubs target.
18 Also includes a ported copy of the Android relocation packing tool source,
19 along with the files required to build it in the chromium tree.
21 Local Modifications:
22 Only picked the few scripts needed by chrome.
24 The scripts have been modified to better suit Chromium development. Changes
25 include, but are not limited to, the following:
26 Added memoization of addr2line and objdump.
27 Added option to change the amount of symbolization done.
28 Updated output directories to use environment variable.
29 When calling addr2line, check the symbol is a file (and not a directory).
30 Added support for parsing LOG(FATAL) and DCHECK errors and their
31     stack traces, as emitted by src/base/debug/stack_trace_android.cc
32 Added support for finding symbols when library is loaded directly from the APK.
33 Changed the toolchain to remove references to 4.6 toolchains.
34 Added support for arch=x64 as an alias to arch=x86_64
35 Added debug logging and --verbose parameter.
37 Android relocation packing tool details:
38     Copy sources from AOSP bionic/tools/relocation_packer
39     Remove scripts that regenerate golden test data (not relevant here)
40     Create a nativehelper/ScopedFd.h to satisfy inclusion from main.cc
41     Create gyp build
42     Create gn build (currently packer only; no unit tests)
43     List of bionic changes currently included:
44       Refresh: https://android-review.googlesource.com/#/c/143878/
45       Refresh: https://android-review.googlesource.com/#/c/147620/
46                https://android-review.googlesource.com/#/c/147745/
47                https://android-review.googlesource.com/#/c/148073/
48       Refresh: https://android-review.googlesource.com/#/c/151901/
49                https://android-review.googlesource.com/#/c/149300/
50                https://android-review.googlesource.com/#/c/148822/
51                https://android-review.googlesource.com/#/c/148492/
52                https://android-review.googlesource.com/#/c/148175/