Open BenjaminLawson opened 9 months ago
My wrapper workaround:
emboss_cc_library(
name = "_emboss_hci_common",
srcs = ["public/pw_bluetooth/hci_common.emb"],
)
# emboss_cc_library doesn't support includes, so we need to wrap it.
cc_library(
name = "emboss_hci_common",
deps = [":_emboss_hci_common"],
includes = ["public"],
)
Currently emboss_cc_library is missing the "includes" parameter found in cc_library. This can be worked around by wrapping every emboss_cc_library in a cc_library, but it is noisy.
I have a hacked together solution, but I don't know enough Bazel-fu to calculate the path to the includes correctly: