Skip to content

Commit 56704a4

Browse files
committed
test
Signed-off-by: Jonh Wendell <[email protected]>
1 parent a92cd80 commit 56704a4

File tree

4 files changed

+38
-16
lines changed

4 files changed

+38
-16
lines changed

bazel/external/openssl.BUILD

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
load("@rules_foreign_cc//foreign_cc:configure.bzl", "configure_make")
2-
load("@envoy//bazel:envoy_build_system.bzl", "envoy_cc_library")
2+
#load("@envoy//bazel:envoy_build_system.bzl", "envoy_cc_library")
33

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

66
filegroup(
77
name = "all",
88
srcs = glob(["**"]),
9-
visibility = ["//visibility:public"],
9+
#visibility = ["//visibility:public"],
1010
)
1111

1212
configure_make(
@@ -20,22 +20,40 @@ configure_make(
2020
out_static_libs = ["libssl.a", "libcrypto.a"],
2121
out_shared_libs = ["libssl.so.3", "libssl.so", "libcrypto.so.3", "libcrypto.so"],
2222
out_include_dir = "include",
23-
)
24-
25-
envoy_cc_library(
26-
name = "ssl",
27-
deps = [":openssl"],
28-
repository = "@envoy",
29-
rbe_pool = "6gig",
3023
visibility = ["//visibility:public"],
31-
srcs = [":openssl"],
3224
)
3325

34-
envoy_cc_library(
35-
name = "crypto",
26+
# filegroup(
27+
# name = "libs",
28+
# srcs = [":openssl"],
29+
# visibility = ["//visibility:public"],
30+
# )
31+
32+
cc_library(
33+
name = "libs",
3634
deps = [":openssl"],
37-
repository = "@envoy",
38-
rbe_pool = "6gig",
3935
visibility = ["//visibility:public"],
4036
srcs = [":openssl"],
37+
data = [":openssl"],
38+
alwayslink = True,
4139
)
40+
41+
# envoy_cc_library(
42+
# name = "libs",
43+
# deps = [":openssl"],
44+
# repository = "@envoy",
45+
# rbe_pool = "6gig",
46+
# visibility = ["//visibility:public"],
47+
# srcs = [":openssl"],
48+
# data = [":openssl"],
49+
# alwayslink = True,
50+
# )
51+
52+
# envoy_cc_library(
53+
# name = "crypto",
54+
# deps = [":openssl"],
55+
# repository = "@envoy",
56+
# rbe_pool = "6gig",
57+
# visibility = ["//visibility:public"],
58+
# srcs = [":openssl"],
59+
# )

bssl-compat/BUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ cmake(
1515
visibility = ["//visibility:public"],
1616
generate_crosstool_file = False,
1717

18+
cache_entries = {"CMAKE_BUILD_TYPE": "Bazel"},
19+
generate_args = ["-GNinja"],
20+
1821
build_args = [ "-j" ],
19-
deps = ["@openssl//:ssl"],
22+
deps = ["@openssl//:libs"],
2023
)
2124

2225
alias(

ci/do_ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ function bazel_binary_build() {
203203
[[ -n "${ENVOY_RBE}" ]] && rm -rf bazel-bin/"${ENVOY_BIN}"*
204204

205205
bazel build "${BAZEL_BUILD_OPTIONS[@]}" --remote_download_toplevel -c "${COMPILE_TYPE}" "${BUILD_TARGET}" "${CONFIG_ARGS[@]}"
206+
echo "envoy --version output: $(bazel-bin/"${ENVOY_BIN}" --version)"
206207
collect_build_profile "${BINARY_TYPE}"_build
207208

208209
# Copy the built envoy binary somewhere that we can access outside of the

test/common/router/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +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",
262+
"@openssl//:openssl",
263263
],
264264
cmd = " ".join([
265265
"$(location corpus_from_config_impl_sh)",

0 commit comments

Comments
 (0)