platform_build_soong/cc
Jiyong Park 9d45299ba4 Add ApexModule interface for APEX-aware modules
ApexModule is the interface for APEX-aware modules. The module type apex
uses the interface to get APEX-specific information from other modules,
such as the list of APEXs that a module should be built for.

A module that is included in an APEX will be built specificaly for the
APEX. This is especially required for shared libraries; we shouldn't
just copy the artifacts built for platform, because they may be linking
against private (=unstable) symbols that are not available to APEXs
which are basically unbundled.

This CL, as a first step, makes cc.Module an APEX-aware module type.

Bug: 112672359
Test: m apex.test; the built apex has all the direct and transitive
shared lib dependencies of the libs and executables listed in Android.bp

Change-Id: I21f6a586654779984f0f5154b2a08b2adbf2168b
2018-10-11 11:19:07 +09:00
..
config Remove GCC-specific toolchain methods 2018-10-09 19:44:54 -07:00
libbuildversion Mark as recovery_available:true 2018-05-24 14:14:08 +09:00
androidmk.go Add ApexModule interface for APEX-aware modules 2018-10-11 11:19:07 +09:00
binary.go Remove GCC checks 2018-10-09 02:16:58 +00:00
builder.go Remove GCC checks 2018-10-09 02:16:58 +00:00
cc.go Add ApexModule interface for APEX-aware modules 2018-10-11 11:19:07 +09:00
cc_test.go Revert "Revert "Move libgcc to libcrt.builtins"" 2018-10-09 20:39:50 +00:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Remove GCC checks 2018-10-09 02:16:58 +00:00
compdb.go Don't include empty-string arguments in compile_commands.json 2018-10-02 11:28:25 -07:00
compiler.go Remove GCC checks 2018-10-09 02:16:58 +00:00
coverage.go Revert "Support coverage instrumentation for Linux host" 2018-04-23 22:44:39 +00:00
gen.go aidl: -ninja -> --ninja 2018-07-06 11:36:32 -07:00
gen_stub_libs.py Ignore 'extern "C++"' section in a version script 2017-11-21 20:31:48 +01:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add recovery_available to cc_genrule 2018-05-24 14:01:54 +09: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 double space in include argument 2018-10-02 11:16:56 -07:00
library.go Remove GCC checks 2018-10-09 02:16:58 +00:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Add an option for libraries to opt out of libcrt 2018-10-10 15:56:14 -07:00
llndk_library.go Fix double space in include argument 2018-10-02 11:16:56 -07:00
lto.go Add USE_CLANG_LLD and use_clang_lld. 2018-04-12 14:37:35 -07:00
makevars.go Update flags passed to make 2018-10-07 23:50:34 -07:00
ndk_headers.go Add a preprocessed_ndk_headers module type. 2018-06-01 11:02:38 -07:00
ndk_library.go Export cc module types and mutators needed for JNI testing 2018-10-08 15:20:56 -07:00
ndk_prebuilt.go Fix double space in include argument 2018-10-02 11:16:56 -07:00
ndk_sysroot.go NDK sysroot: include each license file only once 2018-08-24 13:28:04 -07:00
object.go Remove GCC checks 2018-10-09 02:16:58 +00:00
pgo.go Take Enable_profile_use into account when checking if PGO is enabled 2018-05-07 15:16:36 -07:00
prebuilt.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
proto.go Add a dependency fixer for proto deps 2018-05-07 16:21:59 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
rs.go Mark generated renderscript header files as implicit outputs 2018-03-19 22:44:29 -07:00
sabi.go Remove flto dependent flags when -flto is removed. 2018-08-24 18:42:22 +00:00
sanitize.go Apply minimal runtime to the rest of ubsan. 2018-10-09 08:05:27 -07:00
stl.go Link msvcr110.a after mingwex.a 2018-09-17 23:33:28 +00:00
strip.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00
test.go Add an isolated option for cc_test targets. 2018-09-27 22:23:13 -07:00
test_data_test.go Fix `go vet` issues 2018-07-22 21:18:45 -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 Remove GCC checks 2018-10-09 02:16:58 +00:00
toolchain_library.go Remove GCC checks 2018-10-09 02:16:58 +00:00
util.go Remove GCC checks 2018-10-09 02:16:58 +00:00
util_test.go Allow cc_prebuilt version suffix to include `svn` 2018-09-26 10:59:56 +08:00
vendor_public_library.go Allow platform modules to link to vendor public libraries 2018-03-30 12:59:06 +09:00
vndk.go Allow VNDK-SP extensions to use vendor lib 2018-03-30 13:29:34 +08:00
vndk_prebuilt.go Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules 2018-09-10 23:12:12 -07:00