platform_build_soong/cc
Roland Levillain 9b5fde9ca4 Handle test_per_src test variations as dependencies of APEX modules.
If a test module with a `test_per_src` property set to `true` is
included in an APEX module, add all the variants for mutator
`test_per_src` as dependencies of the APEX module (not just the
first one).

This is done by adding variation "" of mutator `test_per_src` when
adding a test dependency to an APEX module, which creates an indirect
dependency of the APEX module on all the `test_per_src` variants of
the test module. When generating outputs for the APEX bundle, fetch
and include the set of test outputs from the "" variant.

Test: m (`apex/apex_test.go` amended)
Bug: 129534335
Change-Id: I1c99855971a8a9b2fc5b964a420e882b6791d4e6
2019-07-19 14:15:06 +01:00
..
config Add the cc_fuzz target. 2019-07-16 16:30:53 -07:00
libbuildversion Add dist support to Soong 2018-11-19 15:26:14 -08:00
androidmk.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
binary.go Use ctx.Target().NativeBridge to detect if the arch is translated or not 2019-07-10 18:07:38 +09:00
builder.go Use LLD for partialLd. 2019-07-16 14:14:36 -07:00
cc.go Handle test_per_src test variations as dependencies of APEX modules. 2019-07-19 14:15:06 +01:00
cc_test.go filegroup.path is used to specify the include path for aidl files 2019-07-19 11:31:31 +09: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 Treat .cxx files as c++ 2019-06-27 14:46:10 -07:00
compiler.go Renderscript: rename .rs extension to .rscript 2019-07-17 18:57:32 +00:00
coverage.go Wrap getenv when linking a coverage-enabled binary 2019-07-03 15:28:54 -07:00
fuzz.go Disable cc_fuzz darwin host modules 2019-07-18 16:23:45 -07:00
gen.go filegroup.path is used to specify the include path for aidl files 2019-07-19 11:31:31 +09:00
gen_stub_libs.py Handle the case when a symbol is annotated with "# apex vndk" 2019-02-08 20:36:26 +09:00
gen_test.go filegroup.path is used to specify the include path for aidl files 2019-07-19 11:31:31 +09:00
genrule.go Let genrule be mutatable by the apex mutator 2019-06-12 13:28:11 +09:00
genrule_test.go Allow cc_genrule srcs to vary by architecture 2018-10-23 18:40:37 +00:00
installer.go Make relative path for native_bridge binaries configurable 2019-07-15 20:04:07 +02:00
kernel_headers.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
library.go Use ctx.Target().NativeBridge to detect if the arch is translated or not 2019-07-10 18:07:38 +09:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Manually escape BuildNumberFromFile 2019-07-16 10:23:41 -07:00
llndk_library.go Merge "Separate exported includes out of flags" 2019-06-11 04:57:47 +00:00
lto.go Support LLD ThinLTO cache/threshold option 2019-03-22 21:32:45 -07:00
makevars.go Use prebuilt m4 instead of system m4 2019-06-19 12:50:32 -07:00
ndk_headers.go Soong: Add synopsis to ndk_* modules. 2019-04-09 18:50:44 -07:00
ndk_library.go Add dependency to version script when linking stub libraries 2019-06-10 18:02:25 -07:00
ndk_prebuilt.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
ndk_sysroot.go Fix package path of android/soong/android pctx 2019-04-04 03:59:34 +00:00
object.go Include libprofile-extras to all coverage variants 2019-03-29 08:56:42 -07:00
pgo.go Remove redundant -fexperimental-new-pass-manager 2019-06-14 09:54:23 -07:00
prebuilt.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
prebuilt_test.go Move CreateTestContext to cc/testing.go 2019-05-17 08:43:36 -07:00
proto.go Add support for protoc plugins 2019-04-02 16:38:55 +00:00
proto_test.go Fix tests with cc_binary_host on mac 2019-04-22 15:55:56 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
rs.go Renderscript: rename .rs extension to .rscript 2019-07-17 18:57:32 +00:00
sabi.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
sanitize.go Re-enable ASAN globals instrumentation for devices. 2019-07-11 17:16:58 -07:00
stl.go Do not re-export _Unwind_XXX symbols. 2019-04-11 17:54:48 -07:00
strip.go Omit .gnu_debuglink sections in object files 2019-05-31 15:07:16 -07:00
sysprop.go Create sysprop_library soong module 2019-02-13 23:32:51 +00:00
test.go Handle test_per_src test variations as dependencies of APEX modules. 2019-07-19 14:15:06 +01:00
test_data_test.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
test_gen_stub_libs.py Handle the case when a symbol is annotated with "# apex vndk" 2019-02-08 20:36:26 +09:00
testing.go filegroup.path is used to specify the include path for aidl files 2019-07-19 11:31:31 +09:00
tidy.go Add support for clang-tidy -warnings-as-errors in Android.bp files 2019-03-26 20:47:08 +00:00
toolchain_library.go Omit .gnu_debuglink sections in object files 2019-05-31 15:07:16 -07:00
util.go Separate exported includes out of flags 2019-06-11 10:37:56 +09:00
util_test.go Allow cc_prebuilt version suffix to include svn 2018-09-26 10:59:56 +08:00
vendor_public_library.go Add dependency to version script when linking stub libraries 2019-06-10 18:02:25 -07:00
vndk.go Fix nondeterminstic iteration of vndk modules map 2019-06-03 15:52:27 -07:00
vndk_prebuilt.go Soong: Add synopsis to vndk_prebuilt_shared module under cc package. 2019-04-03 09:07:51 -07:00
xom.go XOM dependency check skipping static binaries. 2019-01-31 10:09:13 -08:00