4d90da29a8
We had hardcoded logic to override "framework-minus-apex", but we need to override more jars, so this CL adds a general solution for this. Bug: 290583827 Test: m nothing Change-Id: I211ebda7aa2803886ab6e6d081d26327665e49a6
142 lines
3.5 KiB
Text
142 lines
3.5 KiB
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-android",
|
|
pkgPath: "android/soong/android",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-bootstrap",
|
|
"blueprint-metrics",
|
|
"sbox_proto",
|
|
"soong",
|
|
"soong-android-soongconfig",
|
|
"soong-bazel",
|
|
"soong-cquery",
|
|
"soong-remoteexec",
|
|
"soong-response",
|
|
"soong-shared",
|
|
"soong-starlark",
|
|
"soong-starlark-format",
|
|
"soong-ui-bp2build_metrics_proto",
|
|
"soong-ui-metrics_proto",
|
|
"soong-android-allowlists",
|
|
|
|
"golang-protobuf-proto",
|
|
"golang-protobuf-encoding-prototext",
|
|
|
|
// Only used for tests.
|
|
"androidmk-parser",
|
|
],
|
|
srcs: [
|
|
"androidmk.go",
|
|
"apex.go",
|
|
"api_domain.go",
|
|
"api_levels.go",
|
|
"arch.go",
|
|
"arch_list.go",
|
|
"bazel.go",
|
|
"bazel_handler.go",
|
|
"bazel_paths.go",
|
|
"buildinfo_prop.go",
|
|
"config.go",
|
|
"test_config.go",
|
|
"config_bp2build.go",
|
|
"configured_jars.go",
|
|
"csuite_config.go",
|
|
"deapexer.go",
|
|
"defaults.go",
|
|
"defs.go",
|
|
"depset_generic.go",
|
|
"deptag.go",
|
|
"expand.go",
|
|
"filegroup.go",
|
|
"fixture.go",
|
|
"gen_notice.go",
|
|
"hooks.go",
|
|
"image.go",
|
|
"license.go",
|
|
"license_kind.go",
|
|
"license_metadata.go",
|
|
"license_sdk_member.go",
|
|
"licenses.go",
|
|
"makevars.go",
|
|
"metrics.go",
|
|
"module.go",
|
|
"mutator.go",
|
|
"namespace.go",
|
|
"neverallow.go",
|
|
"ninja_deps.go",
|
|
"notices.go",
|
|
"onceper.go",
|
|
"override_module.go",
|
|
"package.go",
|
|
"package_ctx.go",
|
|
"packaging.go",
|
|
"path_properties.go",
|
|
"paths.go",
|
|
"phony.go",
|
|
"plugin.go",
|
|
"prebuilt.go",
|
|
"prebuilt_build_tool.go",
|
|
"proto.go",
|
|
"register.go",
|
|
"rule_builder.go",
|
|
"sandbox.go",
|
|
"sdk.go",
|
|
"sdk_version.go",
|
|
"singleton.go",
|
|
"singleton_module.go",
|
|
"soong_config_modules.go",
|
|
"test_asserts.go",
|
|
"test_suites.go",
|
|
"testing.go",
|
|
"updatable_modules.go",
|
|
"util.go",
|
|
"variable.go",
|
|
"visibility.go",
|
|
],
|
|
testSrcs: [
|
|
"android_test.go",
|
|
"androidmk_test.go",
|
|
"apex_test.go",
|
|
"arch_test.go",
|
|
"bazel_handler_test.go",
|
|
"bazel_paths_test.go",
|
|
"bazel_test.go",
|
|
"config_test.go",
|
|
"config_bp2build_test.go",
|
|
"configured_jars_test.go",
|
|
"csuite_config_test.go",
|
|
"defaults_test.go",
|
|
"depset_test.go",
|
|
"deptag_test.go",
|
|
"expand_test.go",
|
|
"filegroup_test.go",
|
|
"fixture_test.go",
|
|
"gen_notice_test.go",
|
|
"license_kind_test.go",
|
|
"license_test.go",
|
|
"licenses_test.go",
|
|
"module_test.go",
|
|
"mutator_test.go",
|
|
"namespace_test.go",
|
|
"neverallow_test.go",
|
|
"ninja_deps_test.go",
|
|
"onceper_test.go",
|
|
"package_test.go",
|
|
"packaging_test.go",
|
|
"path_properties_test.go",
|
|
"paths_test.go",
|
|
"prebuilt_test.go",
|
|
"rule_builder_test.go",
|
|
"sdk_version_test.go",
|
|
"sdk_test.go",
|
|
"singleton_module_test.go",
|
|
"soong_config_modules_test.go",
|
|
"util_test.go",
|
|
"variable_test.go",
|
|
"visibility_test.go",
|
|
],
|
|
}
|