Skip to content

Commit a92cd80

Browse files
committed
Make ssl library work on RBE
Signed-off-by: Jonh Wendell <[email protected]>
1 parent 59e237f commit a92cd80

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

bazel/external/openssl.BUILD

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make")
2-
load("@rules_cc//cc:defs.bzl", "cc_library")
2+
load("@envoy//bazel:envoy_build_system.bzl", "envoy_cc_library")
33

44
licenses(["notice"]) # Apache 2
55

@@ -22,15 +22,20 @@ configure_make(
2222
out_include_dir = "include",
2323
)
2424

25-
cc_library(
25+
envoy_cc_library(
2626
name = "ssl",
2727
deps = [":openssl"],
28-
includes = ["include"],
28+
repository = "@envoy",
29+
rbe_pool = "6gig",
2930
visibility = ["//visibility:public"],
31+
srcs = [":openssl"],
3032
)
3133

32-
cc_library(
34+
envoy_cc_library(
3335
name = "crypto",
3436
deps = [":openssl"],
37+
repository = "@envoy",
38+
rbe_pool = "6gig",
3539
visibility = ["//visibility:public"],
40+
srcs = [":openssl"],
3641
)

test/common/router/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ envoy_directory_genrule(
259259
# This is deliberately in srcs, since we run into host/target confusion
260260
# otherwise in oss-fuzz builds.
261261
":config_impl_test_static",
262+
"@openssl//:ssl",
262263
],
263264
cmd = " ".join([
264265
"$(location corpus_from_config_impl_sh)",

0 commit comments

Comments
 (0)