platform_build_soong/cc
Ivan Lozano 3a7d000d12 cc: Create a common image mutator interface
As part of adding Vendor support to Rust, refactor the image mutator in
CC to a new common image mutator interface so this logic can be reused
across both CC and Rust.

Bug: 184042776
Test: m nothing
Change-Id: Ia55d5ad840db7cf1a64d6c65ed86487230cb8742
2021-04-13 11:04:44 -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 bp2build: refactor compiler/linker prop function. 2021-04-09 10:45:48 +00:00
builder.go Revert^2 "[strip.sh] Move remaining GNU binutils usage to llvm binutils" 2021-04-08 18:31:46 +01:00
cc.go cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
cc_test.go Merge "Remove libgcc toolchain libs for Android" 2021-04-06 21:43:33 +00: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 cc: Create a common image mutator interface 2021-04-13 11:04:44 -04: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 bp2build: refactor compiler/linker prop function. 2021-04-09 10:45:48 +00:00
library_headers.go bp2build: refactor compiler/linker prop function. 2021-04-09 10:45:48 +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 cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
linker.go Remove libgcc toolchain libs for Android 2021-04-02 21:07:35 -07: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 bp2build: refactor compiler/linker prop function. 2021-04-09 10:45:48 +00:00
object_test.go Add test for building cc_object with Bazel. 2021-04-09 11:50:38 -04: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 Handle simple prebuilt static libraries from bazel 2021-04-07 11:07:36 -04: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 cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
sanitize.go Merge changes I46e851c8,I2c9eb248 2021-04-09 22:31:09 +00: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 Fix arch in snapshot DepsMutator. 2021-04-07 11:45:25 +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 Use old unwinder for R cc modules 2021-04-08 19:28:28 +09: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 Remove libgcc toolchain libs for Android 2021-04-02 21:07:35 -07: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 cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
vendor_snapshot_test.go Use old unwinder for R cc modules 2021-04-08 19:28:28 +09:00
vndk.go cc: Create a common image mutator interface 2021-04-13 11:04:44 -04:00
vndk_prebuilt.go Remove global state on module suffixes from vendor and recovery snapshots 2021-02-01 20:06:29 +09:00