platform_build_soong/cc
Colin Cross 1a6acd4f39 Make native_coverage clause work with ClangCoverage
Make uses NATIVE_COVERAGE to enable gcov coverage and CLANG_COVERAGE
to enable clang coverage.  NATIVE_COVERAGE is translated to the Soong
Native_coverage product variable which triggers the native_coverage
clause in Android.bp files.  The clause also needs to be triggered
for CLANG_COVERAGE.

Rename the existing Native_coverage product variable to GcovCoverage,
and regenerate Native_coverage when either GcovCoverage or
ClangCoverage are set.

Also remove NativeLineCoverage, it wasn't doing anything differently
than Native_coverage.

Bug: 159059537
Test: m checkbuild
Change-Id: I215124a9b35a2ad50ad562079d392e3d33da11f4
2020-06-22 11:13:42 -07:00
..
config Prefer armv8.2-a to armv8.2a for GNU as compatibility 2020-06-16 02:40:40 -07:00
libbuildversion Set apex_available property 2020-04-22 23:12:42 +09:00
scriptlib NDK Api Coverage 2020-06-11 18:18:40 +00:00
Android.bp Soong package structure refactoring 2020-06-01 13:44:48 -07:00
androidmk.go Merge "NDK Api Coverage" 2020-06-11 18:21:39 +00:00
binary.go Refine logic choosing vendor snapshot modules 2020-06-05 04:25:40 +00:00
binary_sdk_member.go Propagate flags necessary for a prebuilt of the Bionic linker. 2020-05-28 22:58:01 +01:00
builder.go Match Rust gcda output to cc via -Z profile-emit. 2020-06-11 17:16:27 +00:00
cc.go Merge "Don't create version variants for SDK variants" 2020-06-17 04:19:04 +00:00
cc_test.go VNDK listing contains device modules only 2020-06-09 22:10:53 +08:00
ccdeps.go Fix writing module_bp_cc_deps.json 2020-01-31 18:12:41 +00:00
cflag_artifacts.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
check.go Forbid -Weverything 2019-11-12 15:55:03 -08:00
cmakelists.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go Use inclusive language in build/soong 2020-06-11 15:33:16 -07:00
compiler_test.go Expand ClangExtraExternalCflags to non-Google vendor projects 2019-11-11 13:24:39 -08:00
coverage.go Make native_coverage clause work with ClangCoverage 2020-06-22 11:13:42 -07:00
fuzz.go add researcher_submitted field to cc_fuzz 2020-05-06 03:25:54 +00:00
gen.go Fix header deps of sysprop_library 2020-02-19 15:30:02 +09:00
gen_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
genrule.go Create only one vendor variant depending on path 2020-06-05 04:26:24 +00:00
genrule_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
installer.go Fix missing NOTICE targets for static libs that aren't available to 2020-04-01 11:08:41 +01:00
kernel_headers.go Change exportedDirs and exportedSystemDirs from []string to android.Paths 2019-10-25 09:52:08 +09:00
library.go Merge "Don't create version variants for SDK variants" 2020-06-17 04:19:04 +00:00
library_headers.go Add SDK member support for cc_object. 2020-03-20 00:16:14 +00:00
library_headers_test.go Add cc_prebuilt_library_headers 2020-02-24 14:49:22 +00:00
library_sdk_member.go Propagate unique_host_soname to cc_library prebuilts. 2020-06-17 23:06:43 +01:00
library_test.go Apex: support codenames for min_sdk_version 2020-04-09 16:04:17 +09:00
linkable.go Don't create version variants for SDK variants 2020-06-17 04:18:21 +00:00
linker.go Add exclude_shared_libs, expand exclude_static_libs to cover static_libs 2020-06-10 15:47:34 -07:00
llndk_library.go Remove PLATFORM_VERSION_FUTURE_CODENAMES 2020-04-14 02:06:57 +00:00
lto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
makevars.go Exclude dirs from binder interface whitelisting 2019-12-04 09:10:21 -08:00
ndk_headers.go Remove unused mips workarounds. 2020-03-06 18:15:44 -08:00
ndk_library.go Fix build breakage b/158783867 2020-06-12 20:19:50 +00:00
ndk_prebuilt.go Merge "Revert^2 "Add sdk mutator for native modules"" 2020-04-08 18:29:30 +00:00
ndk_sysroot.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
object.go Implement cc_object vendor snapshot 2020-06-05 04:26:17 +00:00
object_test.go Allow linker scripts when building objects. 2019-08-22 13:21:37 -07:00
pgo.go Add platform-wide sampling PGO option 2020-03-24 07:04:54 -07:00
prebuilt.go Implement cc_object vendor snapshot 2020-06-05 04:26:17 +00:00
prebuilt_test.go cc_prebuilt_library respect module name and stem 2020-04-13 17:02:27 +08:00
proto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
proto_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
rs.go Move/dedupe some host path functions in package_ctx.go. 2019-12-09 22:04:21 +00:00
sabi.go Revert "Also package recursive jni_libs deps of android_apps as well as direct deps." 2019-12-18 00:15:07 +00:00
sanitize.go apex: install hwasan lib if depended on libc 2020-05-15 19:12:38 +09:00
sdk.go Build against SDKs for native libs only for unbundled apps. 2020-06-17 04:28:27 +01:00
sdk_test.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
snapshot_utils.go Capture snapshot headers in parallel 2020-03-04 23:39:42 +09:00
stl.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
strip.go Remove use_gnu_strip option 2019-09-13 12:18:47 -07:00
sysprop.go Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
test.go Add test-suite-tag to test_options 2020-06-18 19:22:49 +01:00
test_data_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
testing.go Remove paths from cc.TestConfig 2020-06-09 14:38:47 -07:00
tidy.go Switch to clang-r383902 (11.0.1). 2020-04-27 01:17:12 -07:00
toolchain_library.go Revert^2 "Add sdk mutator for native modules" 2020-04-07 16:50:32 +00:00
util.go Only package gcno files for gcov coverage builds. 2020-04-22 13:30:07 -07:00
vendor_public_library.go Split local and global cflags 2019-11-07 15:27:58 -08:00
vendor_snapshot.go Exclude kernel_headers from vendor snapshot 2020-06-11 14:50:14 +09:00
vndk.go VNDK listing contains device modules only 2020-06-09 22:10:53 +08:00
vndk_prebuilt.go Implement cc_object vendor snapshot 2020-06-05 04:26:17 +00:00