The mutltiree workflow has not been in use for a while. This CL cleans up the code that was added to support multitree. Details - Delete cc_api_library, cc_api_headers, cc_api_variant module types. These module types contain build rules for prebuilt stub .so and .h files - Update the DepsMutator of cc.Module to not create a dependency on a sibling cc_api_* module if it exists. e.g. do not create a dependency on libfoo.apiimports if libfoo is listed in `shared_libs`. - Remove cc_api_library from the stub/impl selection logic for cc modules Test: m nothing --no-skip-soong-tests Test: presbumits Change-Id: Ie194157fb3bbc630f384cdd9b694b0fba6786ded
120 lines
2.6 KiB
Plaintext
120 lines
2.6 KiB
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-cc",
|
|
pkgPath: "android/soong/cc",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-pathtools",
|
|
"soong",
|
|
"soong-aconfig",
|
|
"soong-aidl-library",
|
|
"soong-android",
|
|
"soong-cc-config",
|
|
"soong-etc",
|
|
"soong-fuzz",
|
|
"soong-genrule",
|
|
"soong-testing",
|
|
"soong-tradefed",
|
|
],
|
|
srcs: [
|
|
"afdo.go",
|
|
"fdo_profile.go",
|
|
"androidmk.go",
|
|
"api_level.go",
|
|
"builder.go",
|
|
"cc.go",
|
|
"ccdeps.go",
|
|
"check.go",
|
|
"coverage.go",
|
|
"gen.go",
|
|
"generated_cc_library.go",
|
|
"image.go",
|
|
"linkable.go",
|
|
"lto.go",
|
|
"makevars.go",
|
|
"orderfile.go",
|
|
"prebuilt.go",
|
|
"proto.go",
|
|
"rs.go",
|
|
"sanitize.go",
|
|
"sabi.go",
|
|
"sdk.go",
|
|
"snapshot_prebuilt.go",
|
|
"stl.go",
|
|
"strip.go",
|
|
"tidy.go",
|
|
"util.go",
|
|
"vndk.go",
|
|
"vndk_prebuilt.go",
|
|
|
|
"cmake_snapshot.go",
|
|
"cmakelists.go",
|
|
"compdb.go",
|
|
"compiler.go",
|
|
"installer.go",
|
|
"linker.go",
|
|
|
|
"binary.go",
|
|
"binary_sdk_member.go",
|
|
"fuzz.go",
|
|
"image_sdk_traits.go",
|
|
"library.go",
|
|
"library_headers.go",
|
|
"library_sdk_member.go",
|
|
"native_bridge_sdk_trait.go",
|
|
"object.go",
|
|
"test.go",
|
|
|
|
"ndk_abi.go",
|
|
"ndk_headers.go",
|
|
"ndk_library.go",
|
|
"ndk_sysroot.go",
|
|
|
|
"llndk_library.go",
|
|
|
|
"kernel_headers.go",
|
|
|
|
"genrule.go",
|
|
|
|
"vendor_public_library.go",
|
|
|
|
"testing.go",
|
|
|
|
"stub_library.go",
|
|
],
|
|
testSrcs: [
|
|
"afdo_test.go",
|
|
"binary_test.go",
|
|
"cc_test.go",
|
|
"cc_test_only_property_test.go",
|
|
"cmake_snapshot_test.go",
|
|
"compiler_test.go",
|
|
"gen_test.go",
|
|
"genrule_test.go",
|
|
"library_headers_test.go",
|
|
"library_test.go",
|
|
"lto_test.go",
|
|
"ndk_test.go",
|
|
"object_test.go",
|
|
"orderfile_test.go",
|
|
"prebuilt_test.go",
|
|
"proto_test.go",
|
|
"sanitize_test.go",
|
|
"sdk_test.go",
|
|
"test_data_test.go",
|
|
"tidy_test.go",
|
|
"vendor_public_library_test.go",
|
|
],
|
|
embedSrcs: [
|
|
"cmake_ext_add_aidl_library.txt",
|
|
"cmake_ext_append_flags.txt",
|
|
"cmake_main.txt",
|
|
"cmake_module_aidl.txt",
|
|
"cmake_module_cc.txt",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|