Merge "Add Android.bp-based definitions for host sdk-repos" am: 036ddeba4c am: ea1db82614

Original change: https://android-review.googlesource.com/c/platform/development/+/1827791

Change-Id: I0d15354a0546da9b4e3beb4c3204d66575b40a57
This commit is contained in:
Treehugger Robot
2021-10-15 19:52:03 +00:00
committed by Automerger Merge Worker
3 changed files with 282 additions and 0 deletions

View File

@@ -17,3 +17,28 @@ genrule {
srcs: ["plat_tools_source.prop_template"],
out: ["platform_tools_version.h"],
}
genrule {
name: "platform_tools_properties",
cmd: "cp $(in) $(out)",
srcs: ["plat_tools_source.prop_template"],
out: ["source.properties"],
}
genrule {
name: "build_tools_runtime_properties",
cmd: "cp $(in) $(out)",
srcs: ["build_tools_runtime.properties"],
out: ["runtime.properties"],
}
genrule {
name: "build_tools_source_properties",
product_variables: {
platform_sdk_version: {
cmd: "sed 's/$${PLATFORM_SDK_VERSION}/%d/' $(in) >$(out)",
},
},
srcs: ["build_tools_source.prop_template"],
out: ["source.properties"],
}