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
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-apex",
|
|
pkgPath: "android/soong/apex",
|
|
deps: [
|
|
"blueprint",
|
|
"soong",
|
|
"soong-aconfig",
|
|
"soong-aconfig-codegen",
|
|
"soong-android",
|
|
"soong-bpf",
|
|
"soong-cc",
|
|
"soong-filesystem",
|
|
"soong-java",
|
|
"soong-provenance",
|
|
"soong-python",
|
|
"soong-rust",
|
|
"soong-sh",
|
|
],
|
|
srcs: [
|
|
"androidmk.go",
|
|
"apex.go",
|
|
"apex_sdk_member.go",
|
|
"apex_singleton.go",
|
|
"builder.go",
|
|
"deapexer.go",
|
|
"key.go",
|
|
"prebuilt.go",
|
|
"testing.go",
|
|
"vndk.go",
|
|
],
|
|
testSrcs: [
|
|
"apex_test.go",
|
|
"bootclasspath_fragment_test.go",
|
|
"classpath_element_test.go",
|
|
"container_test.go",
|
|
"dexpreopt_bootjars_test.go",
|
|
"platform_bootclasspath_test.go",
|
|
"systemserver_classpath_fragment_test.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|