Change cur_sdkinfo_src to a genrule
Bazel is more strict about only accepting srcs, not directories as inputs, so the ability to specify a directory will become limited in Soong. Test: m cur_sdkinfo_src && diff before/after Change-Id: I95e6300fb2ef793ee0231589be7fc35eb5a8d882
This commit is contained in:
@@ -45,10 +45,10 @@ python_binary_host {
|
||||
libs: ["sdk_proto_python"],
|
||||
}
|
||||
|
||||
gensrcs {
|
||||
genrule {
|
||||
name: "cur_sdkinfo_src",
|
||||
srcs: [""],
|
||||
tools: [ "gen_sdkinfo" ],
|
||||
out: ["sdkinfo.pb"],
|
||||
product_variables: {
|
||||
platform_sdk_extension_version: {
|
||||
cmd: "$(location) -v %d -o $(out)",
|
||||
|
||||
Reference in New Issue
Block a user