Lines Matching +full:native +full:- +full:test
3 … td_includes = [], td_relative_includes = [], strip_include_prefix = None, test = False, **kwargs):
17 test: Whether to create a test to invoke the tool too.
18 **kwargs: Extra keyword arguments to pass to native rules such as cc_library below.
26 "-I external/llvm-project/mlir/include -I external/org_tensorflow",
27 "-I $(GENDIR)/external/llvm-project/mlir/include -I $(GENDIR)/external/org_tensorflow",
31 "-I%s" % td_include,
32 "-I$(GENDIR)/%s" % td_include,
36 …"-I%s/%s -Iexternal/org_tensorflow/%s/%s" % (native.package_name(), td_include, native.package_nam…
37 "-I$(GENDIR)/%s/%s" % (native.package_name(), td_include),
40 local_inc = "-I $$(dirname $(location %s))" % td_file
42 if test:
45 native.genrule(
49 cmd = ("echo \"\\$$1\" %s \\$${@:2} -o /dev/null > $@" % local_inc),
60 "-I$(GENDIR)",
63 … rule_suffix = "_{}_{}".format(first_opt.replace("-", "_").replace("=", "_"), str(hash(opts)))
66 native.genrule(
72 cmd = (" ".join(base_args) + " %s -o $@" % local_inc),
76 # Optionally generate rule to test tblgen invocation.
79 if test:
80 native.sh_test(
90 skip_opts = ["-gen-op-doc"]
92 native.cc_library(