platform_build_soong/cc
Ivan Lozano 3b591c771a rust: Support for generated c files from bindgen
To handle static inline functions, bindgen generates a C file which is
expected to be compiled and linked into dependents on the generated
bindgen source.

This CL adds support for cc modules ingesting this output and for
bindgen to produce it (and link it against the bindgen rust_library
variant as well).

Bug: 290347127
Test: m blueprint_tests
Test: Example module with static inline functions builds locally
Change-Id: I167a8356eb6e0059fc21169fd3bfc6bf4d9c812f
2024-05-03 14:01:09 -04:00
..
config Revert^3 "Upgrade to clang-r522817" 2024-04-22 23:04:07 +00:00
libbuildversion
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 ndkstubgen: use llndk=<version> for new llndk stub 2024-03-14 06:06:26 +09:00
symbolfile ndkstubgen: use llndk=<version> for new llndk stub 2024-03-14 06:06:26 +09:00
afdo.go Remove fdoProfileMutator 2024-02-09 13:49:02 -08:00
afdo_test.go Fix TestAfdoDeps for darwin 2024-02-09 12:22:13 -08:00
Android.bp Remove cc_api_library related code from sdkMutator 2024-04-23 23:52:15 +00:00
androidmk.go Merge "Deprecate Snapshot build" into main 2024-04-05 04:59:43 +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 Use ModuleInfoJSONProvider for cc modules 2024-01-02 16:06:09 -08:00
binary_sdk_member.go
binary_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
builder.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
cc.go Add test-only for test-per-src cc modules 2024-04-15 23:21:23 +00:00
cc_test.go Pass system include dirs to header ABI checker 2024-04-10 18:15:50 +08:00
cc_test_only_property_test.go Add test-only for test-per-src cc modules 2024-04-15 23:21:23 +00:00
ccdeps.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
check.go Error on the usage of -target flag 2024-02-16 19:42:15 +00:00
cmakelists.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compdb.go Add global C flags to compile_commands 2024-04-02 13:58:13 -07:00
compiler.go Add global C flags to compile_commands 2024-04-02 13:58:13 -07:00
compiler_test.go
coverage.go Merge "Only link the profile extras lib for device variant." into main 2024-02-12 18:12:14 +00:00
fdo_profile.go Remove fdoProfileMutator 2024-02-09 13:49:02 -08:00
fuzz.go Merge "fuzz packaging: implement system/vendor split" into main 2024-01-03 22:14:24 +00:00
gen.go Disable tidy checks for generated code 2024-01-10 16:29:51 +09: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 Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
genrule_test.go Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
image.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
image_sdk_traits.go
installer.go Split usage of UseVndk 2024-01-09 11:37:14 +09:00
kernel_headers.go "master" was renamed "main". 2024-01-09 22:09:07 +00:00
library.go Let header-abi-linker filter llndk, apex, and systemapi symbols 2024-04-25 23:11:49 +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 Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
library_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
linkable.go Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
linker.go Defer to clang for --hash-style. 2024-03-20 14:50:26 +00:00
llndk_library.go Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
lto.go Merge "Revert^3 "Enable full LTO optimization by default"" into main 2024-03-28 01:35:37 +00:00
lto_test.go Convert LTO mutators to TransitionMutator 2024-01-26 11:06:45 -08:00
makevars.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
native_bridge_sdk_trait.go
ndk_abi.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
ndk_headers.go Reland "Use cp instead of install for ndk_headers" 2024-04-04 22:39:45 +00:00
ndk_library.go Remove "exported" ninja variables 2024-04-09 09:42:37 -07:00
ndk_prebuilt.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
ndk_sysroot.go Reland "Use cp instead of install for ndk_headers" 2024-04-04 22:39:45 +00:00
ndk_test.go Add a property in ndk_library for header contributions 2022-08-30 18:24:40 +00:00
object.go Use ModuleInfoJSONProvider for cc modules 2024-01-02 16:06:09 -08:00
object_test.go Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
orderfile.go Convert orderfile mutators to TransitionMutator 2024-01-26 11:06:45 -08: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 Merge "soong: Use the CpExecutable rule for copying libraries" into main 2024-05-01 18:20:41 +00:00
prebuilt_test.go Support partial module variants with apex_contributions 2024-03-04 08:39:20 +00: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 Split APEX ABI dumps from implementation ABI dumps 2024-04-25 17:57:29 +08:00
sanitize.go Merge "Pass -mllvm flags for memtag-stack correctly to linker" into main 2024-05-01 17:29:31 +00:00
sanitize_test.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
sdk.go Remove cc_api_library related code from sdkMutator 2024-04-23 23:52:15 +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 Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
stl.go Define libc++ config macros to nothing 2024-02-28 19:14:24 -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 Split usage of UseVndk 2024-01-09 11:37:14 +09:00
test_data_test.go
testing.go Merge "Add deps to blocklist path" into main 2024-04-09 23:49:13 +00:00
tidy.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
tidy_test.go Disable tidy checks for generated code 2024-01-10 16:29:51 +09:00
util.go Deprecate Snapshot build 2024-04-05 01:56:56 +00: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 Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
vndk.go Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
vndk_prebuilt.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00