Add "includes" argument to "yara_library" Bazel rule.
@@ -63,6 +63,7 @@ module_list = rule(
def yara_library(
name,
defines = [],
+ includes = [],
modules = [],
modules_srcs = [],
deps = [],
@@ -217,7 +218,7 @@ def yara_library(
"libyara/include/yara/rules.h",
],
copts = copts,
- includes = [
+ includes = includes + [
"libyara/modules",
"libyara/include",
"libyara",
