Skip to content

Commit b974c2e

Browse files
authored
Remove unused protobuf dependency. (#170)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent c358b9b commit b974c2e

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ cc_library(
3030
deps = [
3131
":include",
3232
"@boringssl//:crypto",
33-
"@com_google_protobuf//:protobuf_lite",
3433
"@proxy_wasm_cpp_sdk//:api_lib",
3534
],
3635
)

bazel/external/proxy-wasm-cpp-sdk.BUILD

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@ cc_library(
1515
"proxy_wasm_common.h",
1616
"proxy_wasm_enums.h",
1717
],
18-
deps = [
19-
"@com_google_protobuf//:protobuf_lite",
20-
],
2118
)

bazel/repositories.bzl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ def proxy_wasm_cpp_host_repositories():
6767
url = "https://github.com/bazelbuild/rules_rust/archive/96d5118f03411f80182fd45426e259eedf809d7a.tar.gz",
6868
)
6969

70-
http_archive(
71-
name = "com_google_protobuf",
72-
sha256 = "59621f4011a95df270748dcc0ec1cc51946473f0e140d4848a2f20c8719e43aa",
73-
strip_prefix = "protobuf-655310ca192a6e3a050e0ca0b7084a2968072260",
74-
url = "https://github.com/protocolbuffers/protobuf/archive/655310ca192a6e3a050e0ca0b7084a2968072260.tar.gz",
75-
)
76-
7770
http_archive(
7871
name = "rules_foreign_cc",
7972
sha256 = "d54742ffbdc6924f222d2179f0e10e911c5c659c4ae74158e9fe827aad862ac6",

include/proxy-wasm/null_plugin.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#include <memory>
1919

20-
#include "google/protobuf/message.h"
2120
#include "include/proxy-wasm/null_vm_plugin.h"
2221
#include "include/proxy-wasm/wasm.h"
2322
#include "include/proxy-wasm/exports.h"

include/proxy-wasm/wasm_api_impl.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@
1515

1616
#pragma once
1717

18+
// Required by "proxy_wasm_api.h" included within null_plugin namespace.
19+
20+
#include <cstring>
21+
#include <functional>
22+
#include <memory>
23+
#include <string>
24+
#include <tuple>
25+
#include <unordered_map>
26+
#include <utility>
27+
#include <vector>
28+
1829
namespace proxy_wasm {
1930
namespace null_plugin {
2031

0 commit comments

Comments
 (0)