platform_build_soong/cc
Vishwath Mohan e712879d5d Reduce how often both mutated variants are needed.
This CL rolls back how often we bubble up both sanitized and
un-sanitized variants of a component. With this change only
CFI-enabled target static libraries will do this, all other cases
suppress one of the two variants (both from being installed and from
being exposed to Make for make-embedded builds).

This means we shouldn't need a separate sanitizer suffix for ASAN at
all (.asan), and similarly for non static-lib CFI components (.cfi),
so this CL changes that as well.

Lastly, because the version of ar meant for the host is not built
with plugin support (which CFI requires), this CL disables CFI for
host targets.

This CL should fix the following 2 issues:
(1) Removing warnings about multiple rules existing for the same
installable target.

(2) Fixing VTS packaging, which had been broken by the generation of
the .asan suffix.

Bug: 69172424, 69059192, 67507323
Test: m -j40 # Soong generated .mk file does not have duplicate rules.
Test: SANITIZE_TARGET="address" m -j40 libstagefright # installed
correctly.

Change-Id: Ib90fdbc8a6ad3924fc2a691b7277a8a1bc67cda8
2017-11-21 14:09:09 -08:00
..
config Merge "Revert "Set -fomit-frame-pointer for all devices"" 2017-11-18 02:13:08 +00:00
androidmk.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
binary.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
builder.go Convert abi warnings to errors. 2017-11-01 17:32:26 -07:00
cc.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
cc_test.go Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
compiler.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
coverage.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
gen.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add cc_genrule 2017-09-18 23:33:25 -07:00
installer.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Remove no_default_compiler_flags property 2017-11-03 22:28:57 -07:00
llndk_library.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
lto.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
makevars.go Move -fvisibility-inlines-hidden to global device cppflags 2017-11-13 15:18:19 -08:00
ndk_headers.go Change remaining properties to *string, *bool in Soong. 2017-11-09 22:42:32 -08:00
ndk_library.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
ndk_prebuilt.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_sysroot.go Add support for packaging static libs in the NDK. 2017-10-26 12:19:29 -07:00
object.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pgo.go Add enable_profile_use property 2017-10-16 13:36:29 -07:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
rs.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
sabi.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
sanitize.go Reduce how often both mutated variants are needed. 2017-11-21 14:09:09 -08:00
stl.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
strip.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
test.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go soong: add __clang_analyzer__ to clang-tidy 2017-05-04 01:19:02 +00:00
toolchain_library.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
util.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
vndk.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00