platform_build_soong/cc
Chris Parsons eefc9e6a62 Fix note_memtag bionic libraries in mixed builds
Required fixes:
  - Set MakeLinkType for libraries, even in mixed build mode.
  - Set snapshot header information to empty list, which passes
        validation logic for depending modules

Fixing these libraries also requires a Starlark change to
cc_library_static.bzl, which will be submitted separately.

Additionally, this adds better error messaging in the event that
output files are missing from a mixed-build library.

Test: USE_BAZEL_ANALYSIS=1 m libc
Test: USE_BAZEL_ANALYSIS=1 m runtime-module-sdk
Change-Id: Iad2c4d46359986fb0a43263292a15ed45fabbac7
2021-04-05 15:27:55 -04:00
..
config Merge "[pgo] Do not explicitly link profile runtime" 2021-03-25 17:57:49 +00:00
libbuildversion Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndk_api_coverage_parser Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
ndkstubgen Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
symbolfile Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
Android.bp Add os/target configurable selects for label list attributes. 2021-04-02 08:17:34 +00:00
androidmk.go Add ctx to AndroidMkExtraEntriesFunc 2021-02-19 23:05:40 +00:00
api_level.go Replace stringly-typed API levels. 2020-09-18 12:41:28 -07:00
binary.go bp2build: convert paths/module refs to Bazel label 2021-02-04 13:45:56 -05:00
binary_sdk_member.go Create fewer empty version variants 2020-10-05 18:57:21 -07:00
bp2build.go Add os/target configurable selects for label list attributes. 2021-04-02 08:17:34 +00:00
builder.go Move toc.sh to use LLVM binutils 2021-04-01 17:45:42 +08:00
cc.go Fix note_memtag bionic libraries in mixed builds 2021-04-05 15:27:55 -04:00
cc_test.go Add bazel_module properties to cc_defaults 2021-04-02 08:44:31 -04:00
ccdeps.go Add soong cc and java deps to general-tests dist 2020-07-06 16:19:56 -07:00
cflag_artifacts.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
check.go Remove unnecessary snake case variables. 2020-12-22 12:38:35 -08:00
cmakelists.go AIDEGen: Add "-fprofile-sample-use" parameter into category. 2021-03-08 09:33:23 +08:00
compdb.go
compiler.go Merge changes from topic "min_sdk_version" 2021-03-26 08:07:28 +00:00
compiler_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
coverage.go Build against cfi supported coverage lib 2021-01-14 11:46:10 -08:00
fuzz.go Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList 2021-03-16 16:52:56 -07:00
gen.go Export aidl, proto and sysprop generated headers separately 2021-02-22 18:05:10 +00:00
gen_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
genrule.go Define odm_available property to install a vendor variant to odm 2021-01-25 17:08:44 +09:00
genrule_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
image.go Remove global state on module suffixes from vendor and recovery snapshots 2021-02-01 20:06:29 +09:00
installer.go Only output make targets for uninstallable static libs in the APEX 2020-08-06 22:52:58 +01:00
kernel_headers.go Start using Providers instead of direct module access 2020-10-12 16:55:47 -07:00
library.go Fix note_memtag bionic libraries in mixed builds 2021-04-05 15:27:55 -04:00
library_headers.go Add os/target configurable selects for label list attributes. 2021-04-02 08:17:34 +00:00
library_headers_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
library_sdk_member.go Generated headers may not be arch specific 2021-02-22 18:23:22 +00:00
library_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
linkable.go Merge "rust: Add whole_static_libs, revert static_lib" 2021-03-26 13:01:14 +00:00
linker.go Move gen_sorted_bss_symbols.sh to use LLVM binutils 2021-03-31 17:13:43 +08:00
llndk_library.go Create LLNDK vendor variants when DeviceVndkVersion is not set 2021-01-07 17:19:27 -08:00
lto.go Global ThinLTO: opt out vndk binaries as a workaround 2020-10-09 22:08:11 +08:00
makevars.go Merge "Remove remaining libnativehelper implicit includes" 2021-01-13 06:11:03 +00:00
ndk_headers.go
ndk_library.go Don't create SDK variants for native bridge modules 2021-01-19 15:00:45 -08:00
ndk_prebuilt.go Don't create SDK variants for native bridge modules 2021-01-19 15:00:45 -08:00
ndk_sysroot.go Move stubs related methods out of LinkableInterface 2020-10-29 14:17:54 -07:00
object.go Merge "Handle product_variable asflag for cc_object." 2021-03-31 18:43:55 +00:00
object_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
OWNERS Refactor OWNERS files in platform/build/soong. 2020-10-08 16:14:32 -07:00
pgo.go [pgo] Do not explicitly link profile runtime 2021-03-23 18:07:30 -07:00
prebuilt.go Remove deapexer and prebuilt apex select mutators 2021-03-01 17:11:25 +00:00
prebuilt_test.go Remove ccFixtureFactory 2021-03-30 23:44:43 +01:00
proto.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
proto_test.go Rename OptionalPath.RelativeToPath -> RelativeToTop 2021-03-30 20:06:22 +01:00
pylintrc Fix pylint issues in gen_stub_libs. 2020-07-16 13:21:43 -07:00
rs.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00:00
sabi.go Don't rewrite LLNDK dependencies with .llndk suffix 2020-12-21 17:53:30 -08:00
sanitize.go Append ".static" to ubsan runtime for static binaries 2021-03-29 16:47:56 -07:00
sdk.go Remove some global state from vendor and recovery snapshots 2021-02-01 20:02:39 +09:00
sdk_test.go Automatically call TestingBuildParams.RelativeToTop() 2021-03-30 19:35:35 +01:00
snapshot_prebuilt.go Allow extending of the list of directories to be scanned for VSDK 2021-03-15 23:14:47 +00:00
snapshot_utils.go Allow extending of the list of directories to be scanned for VSDK 2021-03-15 23:14:47 +00:00
stl.go Revert^2 "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" 2021-03-31 15:33:44 -07:00
strip.go Allow stripping host modules 2020-12-04 09:43:49 -08:00
stub_library.go Generate system stub library list at build time 2020-12-01 14:09:03 +09:00
sysprop.go Add comments about sysprop_library 2020-11-24 14:13:31 +09:00
test.go Update test_min_api_level for cc_test 2021-02-20 00:46:21 +00:00
test_data_test.go Pass Config to NewTestContext instead of ctx.Register 2020-11-12 10:07:49 -08:00
testing.go Disallow non-existent paths in sdk package 2021-03-25 12:53:22 +00:00
tidy.go Forbit extra quotes in tidy flag lists 2021-02-25 20:46:15 -08:00
toolchain_library.go Improve commenting for cc/builer.go, and kill dead code 2020-12-01 18:28:38 -05:00
util.go Add some comments for VNDK / vendor snapshots 2020-12-10 21:12:39 +09:00
vendor_public_library.go cc: export Stripper struct 2020-08-27 10:13:42 +02:00
vendor_snapshot.go Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList 2021-03-16 16:52:56 -07:00
vendor_snapshot_test.go Remove buildDir from cc package 2021-03-30 23:44:43 +01:00
vndk.go Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList 2021-03-16 16:52:56 -07:00
vndk_prebuilt.go Remove global state on module suffixes from vendor and recovery snapshots 2021-02-01 20:06:29 +09:00