aboutsummaryrefslogtreecommitdiff
path: root/rules/hidl
diff options
context:
space:
mode:
authorLiz Kammer <eakammer@google.com>2023-03-23 11:53:25 -0400
committerLiz Kammer <eakammer@google.com>2023-03-24 13:27:39 -0400
commit83ec19d8d4858142cab3e9905d8373ace74fde7b (patch)
treefc688e45a3cc0c769a49381f80eccad2f50e77c7 /rules/hidl
parenta12d3f043950bfcc7ffe20a35187d6e6c6410df7 (diff)
downloadbazel-83ec19d8d4858142cab3e9905d8373ace74fde7b.tar.gz
Add tags explicitly to hidl_interface macros
Tags are used to handle apex_available validations and are needed for hidl macros. Test: b build com.android.media.swcodec Change-Id: I08b65b9d7df8c63bf5299e1b6ca96a00ff8eed97
Diffstat (limited to 'rules/hidl')
-rw-r--r--rules/hidl/hidl_interface.bzl4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/hidl/hidl_interface.bzl b/rules/hidl/hidl_interface.bzl
index 1422f55d..acc28fd2 100644
--- a/rules/hidl/hidl_interface.bzl
+++ b/rules/hidl/hidl_interface.bzl
@@ -23,7 +23,8 @@ def hidl_interface(
deps = [],
root = "",
root_interface_file = "",
- min_sdk_version = ""):
+ min_sdk_version = "",
+ tags = []):
"Bazel macro to correspond with the hidl_interface Soong module."
interface_name = name + INTERFACE_SUFFIX
@@ -43,4 +44,5 @@ def hidl_interface(
interface = interface_name,
dynamic_deps = deps,
min_sdk_version = min_sdk_version,
+ tags = tags,
)