load("@rules_cc//cc:defs.bzl", "cc_library") load("@envoy_large_machine_exec_property//:constants.bzl", "LARGE_MACHINE") load(":genrule_cmd.bzl", "genrule_cmd") licenses(["notice"]) # Apache 2 cc_library( name = "wee8", srcs = [ "libwee8.a", ], hdrs = glob([ "wee8/include/**/*.h", "wee8/src/**/*.h", "wee8/third_party/wasm-api/wasm.hh", ]), copts = [ "-Wno-range-loop-analysis", ], defines = ["ENVOY_WASM_V8"], includes = [ "wee8", "wee8/include", "wee8/third_party", ], visibility = ["//visibility:public"], ) genrule( name = "build", srcs = glob( ["wee8/**"], exclude = ["wee8/out/**"], ), outs = [ "libwee8.a", ], cmd = genrule_cmd("@envoy//bazel/external:wee8.genrule_cmd"), exec_properties = LARGE_MACHINE, )