1# Development
2
3## Checkout source tree
4
5To checkout the source tree, run the following commands:
6
7    $ mkdir aosp-clang-tools
8
9    $ cd aosp-clang-tools
10
11    $ repo init \
12          -u persistent-https://android.googlesource.com/platform/manifest \
13          -b clang-tools
14
15    $ repo sync
16
17
18## Build instructions
19
20To build `header-abi-dumper`, `header-abi-linker` and `header-abi-diff`:
21
22    $ OUT_DIR=out \
23          development/vndk/tools/header-checker/android/build-prebuilts.sh
24
25
26## Alternative build instructions
27
28If you have a full source tree, you may build the tools with:
29
30    $ source build/envsetup.sh
31
32    $ lunch aosp_arm64-userdebug
33
34    $ cd development/vndk/tools/header-checker
35
36    $ source android/envsetup.sh
37
38    $ mm
39