update steps as aapt2 requirements change

This commit is contained in:
Connor Tumbleson 2018-02-13 08:46:20 -05:00
parent cab47c846b
commit da9fb5115e
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -259,21 +259,15 @@ The steps below are different per flavor and operating system. For cross compili
we lose the ability to quickly build just the aapt2 binary. So the Windows procedure builds the entire Sdk.
#### Unix
1. `source build/envsetup.sh`
2. `lunch sdk-eng`
3. `make OUT_DIR=out-x64 LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
4. `strip out-x64/host/linux-x86/bin/aapt2`
1. `make OUT_DIR=out-x64 LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
2. `strip out-x64/host/linux-x86/bin/aapt2`
#### Windows
1. `source build/envsetup.sh`
2. `lunch sdk-eng`
3. `make PRODUCT-sdk-win_sdk USE_NINJA=false`
4. `strip out/host/windows-x86/bin/aapt2.exe`
1. `make PRODUCT-sdk-win_sdk USE_NINJA=false`
2. `strip out/host/windows-x86/bin/aapt2.exe`
#### Mac
1. `source build/envsetup.sh`
2. `lunch sdk-eng`
3. `make OUT_DIR=out-x64 LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
1. `make OUT_DIR=out-x64 LOCAL_MULTILIB=64 USE_NINJA=false aapt2`
# Gradle Tips n Tricks