platform_build_soong/sdk/Android.bp
Paul Duffin 1812294f32 Support handling build releases in sdk snapshot
Adds the following:
1. A buildRelease type to represent a single build release.
2. A buildReleaseSet type to represent a set of build releases.
3. Methods to create parse and use the previous new types.
4. Tests for the above.

Bug: 197842263
Test: m nothing
Change-Id: Ib0dd4fc32851a4fffde3fa02ea22c8369f8c2995
2021-10-01 17:17:34 +01:00

41 lines
939 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package {
name: "soong-sdk",
pkgPath: "android/soong/sdk",
deps: [
"blueprint",
"soong",
"soong-android",
"soong-apex",
"soong-cc",
"soong-dexpreopt",
"soong-java",
],
srcs: [
"bp.go",
"build_release.go",
"exports.go",
"member_trait.go",
"member_type.go",
"sdk.go",
"update.go",
],
testSrcs: [
"bootclasspath_fragment_sdk_test.go",
"bp_test.go",
"build_release_test.go",
"cc_sdk_test.go",
"compat_config_sdk_test.go",
"exports_test.go",
"java_sdk_test.go",
"license_sdk_test.go",
"member_trait_test.go",
"sdk_test.go",
"systemserverclasspath_fragment_sdk_test.go",
"testing.go",
],
pluginFor: ["soong_build"],
}