Skip to content

Commit

Permalink
chore: Remove unnecessary ProxyWasm contrib deps (GoogleCloudPlatform…
Browse files Browse the repository at this point in the history
…#146)

Signed-off-by: Martijn Stevenson <[email protected]>
  • Loading branch information
martijneken authored Dec 17, 2024
1 parent 35388ca commit 2c8933f
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 32 deletions.
1 change: 0 additions & 1 deletion plugins/samples/ab_testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/strings",
"@boost//:url",
"//:boost_exception",
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/add_custom_response/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/strings",
],
)
Expand Down
3 changes: 0 additions & 3 deletions plugins/samples/add_header/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ proxy_wasm_plugin_rust(
proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

proxy_wasm_tests(
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/block_request/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/random",
"@com_google_absl//absl/strings",
],
Expand Down
10 changes: 3 additions & 7 deletions plugins/samples/body_chunking/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,17 @@ load("//:plugins.bzl", "proxy_wasm_plugin_cpp", "proxy_wasm_plugin_rust", "proxy

licenses(["notice"]) # Apache 2


proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

proxy_wasm_tests(
name = "tests",
data = [
":request_body.data",
":response_body.data",
":expected_request_body.data",
":expected_request_body.data",
":request_body.data",
":response_body.data",
],
plugins = [
":plugin_cpp.wasm",
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/check_pii/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_re2//:re2",
],
)
Expand Down
3 changes: 0 additions & 3 deletions plugins/samples/config_denylist/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ proxy_wasm_plugin_rust(
proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

proxy_wasm_tests(
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/jwt_auth/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@jwt_verify_lib//:jwt_verify_lib",
"//:boost_exception",
"@boost//:url",
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/log_query/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ proxy_wasm_plugin_cpp(
deps = [
"//:boost_exception",
"@boost//:url",
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

Expand Down
3 changes: 1 addition & 2 deletions plugins/samples/normalize_header/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/strings",
],
)
Expand All @@ -17,4 +16,4 @@ proxy_wasm_tests(
":plugin_cpp.wasm",
],
tests = ":tests.textpb",
)
)
1 change: 0 additions & 1 deletion plugins/samples/overwrite_errcode/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/strings",
],
)
Expand Down
3 changes: 0 additions & 3 deletions plugins/samples/overwrite_header/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ licenses(["notice"]) # Apache 2
proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

proxy_wasm_tests(
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/redirect/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/strings",
],
)
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/regex_rewrite/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ proxy_wasm_plugin_cpp(
srcs = ["plugin.cc"],
deps = [
"@com_google_re2//:re2",
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

Expand Down
1 change: 0 additions & 1 deletion plugins/samples/set_cookie/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
"@com_google_absl//absl/random",
"@com_google_absl//absl/strings",
],
Expand Down
1 change: 0 additions & 1 deletion plugins/samples/set_query/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ proxy_wasm_plugin_cpp(
deps = [
"//:boost_exception",
"@boost//:url",
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

Expand Down
3 changes: 0 additions & 3 deletions plugins/samples/testing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ proxy_wasm_plugin_rust(
proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)

proxy_wasm_tests(
Expand Down

0 comments on commit 2c8933f

Please sign in to comment.