diff --git a/BUILD b/BUILD index 3ed7280..1ffad4c 100644 --- a/BUILD +++ b/BUILD @@ -134,13 +134,16 @@ filegroup( "**/*", ], exclude = [ + "BUILD", ".git/**/*", "bazel-*/**/*", "**/node_modules/**", "**/*.rst", "win32*", ], - ), + ) + [ + "//wasm-cc:files", + ], ) pkg_tar( diff --git a/wasm-cc/BUILD b/wasm-cc/BUILD index 2ea0b7d..fc0ceac 100644 --- a/wasm-cc/BUILD +++ b/wasm-cc/BUILD @@ -1,14 +1,8 @@ load("@bazel_skylib//lib:selects.bzl", "selects") -load( - "//bazel:envoy_build_system.bzl", - "envoy_package", -) -load("//bazel/wasm:wasm.bzl", "envoy_wasm_cc_binary") +# load("@envoy//bazel/wasm:wasm.bzl", "envoy_wasm_cc_binary") licenses(["notice"]) # Apache 2 -envoy_package() - exports_files(["example.rst"]) selects.config_setting_group( @@ -36,17 +30,18 @@ filegroup( }), ) -envoy_wasm_cc_binary( - name = "envoy_filter_http_wasm_example.wasm", - srcs = ["envoy_filter_http_wasm_example.cc"], -) +# envoy_wasm_cc_binary( +# name = "envoy_filter_http_wasm_example.wasm", +# srcs = ["envoy_filter_http_wasm_example.cc"], +# ) -envoy_wasm_cc_binary( - name = "envoy_filter_http_wasm_updated_example.wasm", - srcs = ["envoy_filter_http_wasm_updated_example.cc"], -) +# envoy_wasm_cc_binary( +# name = "envoy_filter_http_wasm_updated_example.wasm", +# srcs = ["envoy_filter_http_wasm_updated_example.cc"], +# ) filegroup( name = "files", - srcs = glob(["**/*"], exclude = ["example.rst"]), + srcs = glob(["**/*"], exclude = ["example.rst", "BUILD"]), + visibility = ["//visibility:public"], )