docs: add new build information for aapt2/aapt

This commit is contained in:
Connor Tumbleson 2021-08-28 14:08:23 -04:00
parent 2cbefeb91d
commit ab6b6a5338
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -266,7 +266,7 @@ The steps below are different per flavor and operating system.
#### Linux / Windows
1. `source build/envsetup.sh`
2. `lunch sdk-eng`
3. `make LOCAL_MULTILIB=64 USE_NINJA=false aapt`
3. `m aapt`
4. `strip out/host/linux-x86/bin/aapt`
5. `strip out/host/linux-x86/bin/aapt_64`
6. `strip out/host/windows-x86/bin/aapt.exe`
@ -274,9 +274,8 @@ The steps below are different per flavor and operating system.
#### Mac
1. `source build/envsetup.sh`
2. `lunch sdk-eng`
3. `make LOCAL_MULTILIB=64 USE_NINJA=false aapt`
4. `strip out/host/darwin-x86/bin/aapt_64`
2. `m aapt`
3. `strip out/host/darwin-x86/bin/aapt_64`
32/64 bit binaries will be built for Linux and Windows.
@ -285,7 +284,7 @@ The steps below are different per flavor and operating system.
The steps below are different per flavor and operating system.
#### Linux / Windows
1. `make LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
1. `m aapt2`
2. `strip out/host/linux-x86/bin/aapt2`
3. `strip out/host/linux-x86/bin/aapt2_64`
4. `strip out/host/windows-x86/bin/aapt2.exe`
@ -294,7 +293,7 @@ The steps below are different per flavor and operating system.
#### Mac
1. `export ANDROID_JAVA_HOME=/Path/To/Jdk`
2. `source build/envsetup.sh`
3. `make LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
3. `m aapt2`
4. `strip out/host/darwin-x86/bin/aapt2_64`
#### Confirming aapt/aapt2 builds are static