You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
743 B
39 lines
743 B
4 months ago
|
# Development
|
||
|
|
||
|
## Checkout source tree
|
||
|
|
||
|
To checkout the source tree, run the following commands:
|
||
|
|
||
|
$ mkdir aosp-clang-tools
|
||
|
|
||
|
$ cd aosp-clang-tools
|
||
|
|
||
|
$ repo init \
|
||
|
-u persistent-https://android.googlesource.com/platform/manifest \
|
||
|
-b clang-tools
|
||
|
|
||
|
$ repo sync
|
||
|
|
||
|
|
||
|
## Build instructions
|
||
|
|
||
|
To build `header-abi-dumper`, `header-abi-linker` and `header-abi-diff`:
|
||
|
|
||
|
$ OUT_DIR=out \
|
||
|
development/vndk/tools/header-checker/android/build-prebuilts.sh
|
||
|
|
||
|
|
||
|
## Alternative build instructions
|
||
|
|
||
|
If you have a full source tree, you may build the tools with:
|
||
|
|
||
|
$ source build/envsetup.sh
|
||
|
|
||
|
$ lunch aosp_arm64-userdebug
|
||
|
|
||
|
$ cd development/vndk/tools/header-checker
|
||
|
|
||
|
$ source android/envsetup.sh
|
||
|
|
||
|
$ mm
|