platform_build_soong/cc
Colin Cross ea30d85a65 Remove cc.moduleContext override of android.ModuleContext.*Specific
Overriding android.ModuleContext's implementations of *Specific()
methods in cc.moduleContext and then passing that back to
android.PathForModuleInstall to affect the install path causes
problems if android.ModuleBase.GenerateBuildActions also tries
to call android.PathForModuleInstall directly with the
android.ModuleContext as it gets a different result.

Add InstallIn* methods to the android.Module interface, implement
default versions in android.ModuleBase, and override them in
cc.Module and rust.Module.  Use them in android.PathsForModuleInstall
to allow the module to customize the behavior directly.

Test: TestInstallPartition
Change-Id: I7840e07eae34ac4f4d3490b021143d5f33a83626
2023-12-18 15:07:05 -08:00
..
config Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
libbuildversion Set the dist dir for musl targets of build_version_test 2022-04-28 14:18:59 +00:00
ndk_api_coverage_parser Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
ndkstubgen Add --no-ndk to ndkstubgen 2022-10-05 09:06:49 +09:00
symbolfile Add riscv64. 2022-10-10 15:33:50 +00:00
afdo.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
afdo_test.go Enable -funique-internal-linkage-names when afdo=true 2023-04-21 14:41:55 -07:00
Android.bp Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
androidmk.go Properly package aconfig files for vendor partition 2023-12-14 01:19:35 +00:00
api_level.go Revert "Revert "Set VIC as minimum SDK version for riscv64"" 2023-07-26 09:47:10 -07:00
binary.go Build native libraries used by layoutlib. 2023-12-12 05:06:20 +00:00
binary_sdk_member.go
binary_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
builder.go Build native libraries used by layoutlib. 2023-12-12 05:06:20 +00:00
cc.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
cc_test.go Remove cc.moduleContext override of android.ModuleContext.*Specific 2023-12-18 15:07:05 -08:00
ccdeps.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
check.go Allow "-mllvm foo" cflags 2023-03-12 16:31:10 +09:00
cmakelists.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compdb.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compiler.go Avoid -target riscv64-linux-androidVanillaIceCream. 2023-12-13 12:10:28 -08:00
compiler_test.go
coverage.go Convert coverage libs as alwayslink 2023-07-26 19:24:23 +00:00
fdo_profile.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
fuzz.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
gen.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
gen_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
generated_cc_library.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
genrule.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
genrule_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
image.go Remove cc.moduleContext override of android.ModuleContext.*Specific 2023-12-18 15:07:05 -08:00
image_sdk_traits.go
installer.go Move test data installation to Soong 2023-11-30 13:38:49 -08:00
kernel_headers.go
library.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
library_headers.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
library_headers_test.go Make more cc tests parallel 2022-12-05 13:43:29 -05:00
library_sdk_member.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
library_stub.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
library_stub_test.go Implement API surface import with APEX stub 2023-02-27 12:57:30 +09:00
library_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
linkable.go Convert NewProvider/NewMutatorProvider to generic providers API 2023-12-14 16:12:20 -08:00
linker.go Add non_apex.exclude_shared_libs to cc 2023-11-28 22:42:23 +09:00
llndk_library.go
lto.go Do not perform AFDO or optimizing LTO for eng builds 2023-12-04 19:04:00 +09:00
lto_test.go Change lto_test to use GlobalThinLTO configuration 2023-10-05 05:05:40 +00:00
makevars.go Add noOverride64GlobalCflags support to Soong 2023-01-25 04:02:29 +00:00
native_bridge_sdk_trait.go
ndk_abi.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
ndk_headers.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
ndk_library.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
ndk_prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
ndk_sysroot.go Create bp2build converter for versioned_ndk_headers 2023-10-02 17:35:55 +00:00
ndk_test.go Add a property in ndk_library for header contributions 2022-08-30 18:24:40 +00:00
object.go Build native libraries used by layoutlib. 2023-12-12 05:06:20 +00:00
object_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
orderfile.go gofmt soong 2023-10-18 17:42:59 -07:00
orderfile_test.go gofmt soong 2023-10-18 17:42:59 -07:00
OWNERS Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
prebuilt_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
proto_test.go
pylintrc
rs.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
sabi.go Convert Provider to generic providers API 2023-12-14 16:12:21 -08:00
sanitize.go Convert Provider to generic providers API 2023-12-14 16:12:21 -08:00
sanitize_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
sdk.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
sdk_test.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
snapshot_prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
snapshot_utils.go rust: Add vendor and recovery dylib support. 2023-07-14 12:43:09 -04:00
stl.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
strip.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
stub_library.go Generate vendor specific STUB_LIBRARIES 2023-12-05 08:24:38 +09:00
test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
test_data_test.go
testing.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
tidy.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
tidy_test.go Prepare to obsolete -warnings-as-errors in tidy_flags 2022-06-12 20:25:43 -07:00
util.go make android.InList generic 2023-07-18 15:07:24 -04:00
vendor_public_library.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
vendor_public_library_test.go
vendor_snapshot.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
vendor_snapshot_test.go Add TestContext parameter to ContentFromFileRuleForTests 2023-12-03 17:22:56 -08:00
vndk.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
vndk_prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00