Add version to stub label

This is a followup fix for aosp/2753352 that added the name of the
`cc_stub_suite` as deps of `unbundled_app` config setting. However,
cc_stub_suite is really a macro that expands to <name>-<ver>.

Add the version explicitly to rdeps

Bug: 298085502
Test: b build //build/bazel/examples/android_app/java/com/app:app_with_sdk_variant_of_jni_deps --config=android (with aosp/2755284)

Change-Id: I8cf2804141bb14589e11b03a138b715538a3f1ee
This commit is contained in:
Spandan Das
2023-09-19 18:23:26 +00:00
parent 1262f359a4
commit 9d47a82e27
2 changed files with 4 additions and 2 deletions

View File

@@ -1635,7 +1635,7 @@ ndk_library {
],
"//build/bazel/rules/apex:unbundled_app": [
":libHasApexStubs",
"//.:libHasApexAndNdkStubs.ndk_stub_libs",
"//.:libHasApexAndNdkStubs.ndk_stub_libs-current",
],
"//conditions:default": [
":libHasApexStubs",