Build rule updates for aosp

Various build rule changes to match AOSP:
Add libunwind_llvm and libdl as dependencies for libc++ on device
Always add libcompiler_rt-extras as a dependency
Add libm, libc, and libdl as depnendencies for libc++ static binaries
Disable some clang warnings, and add some clang filtered cflags
Add -fstack-protector to host linux builds
Add jack_flags property to java modules (currently ignored)

Change-Id: Ic0da617bdeaf25f58cb8298dd9ea91b7d6509151
This commit is contained in:
Colin Cross
2015-04-28 13:30:13 -07:00
parent b05bff2f26
commit 74d1ec0c2c
5 changed files with 131 additions and 26 deletions

View File

@@ -65,6 +65,9 @@ type javaBase struct {
// javacflags: list of module-specific flags that will be used for javac compiles
Javacflags []string `android:"arch_variant"`
// jack_flags: list of module-specific flags that will be used for jack compiles
Jack_flags []string `android:"arch_variant"`
// dxflags: list of module-specific flags that will be used for dex compiles
Dxflags []string `android:"arch_variant"`