Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def envoy_dependencies(path = "@envoy_deps//", skip_targets = []):
# The long repo names (`com_github_fmtlib_fmt` instead of `fmtlib`) are
# semi-standard in the Bazel community, intended to avoid both duplicate
# dependencies and name conflicts.
_boringssl()
_com_google_absl()
_com_github_bombela_backward()
_com_github_cyan4973_xxhash()
Expand All @@ -197,6 +198,13 @@ def envoy_dependencies(path = "@envoy_deps//", skip_targets = []):
_go_deps(skip_targets)
_envoy_api_deps()

def _boringssl():
_repository_impl("boringssl")
native.bind(
name = "ssl",
actual = "@boringssl//:ssl",
)

def _com_github_bombela_backward():
_repository_impl(
name = "com_github_bombela_backward",
Expand Down
5 changes: 5 additions & 0 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
REPOSITORY_LOCATIONS = dict(
boringssl = dict(
# Use commits from branch "chromium-stable-with-bazel"
commit = "426db8db7d1cbd17573e295b52d7aab7a97ba1ff", # chromium-64.0.3282.119
remote = "https://boringssl.googlesource.com/boringssl",
),
com_google_absl = dict(
commit = "787891a3882795cee0364e8a0f0dda315578d155",
remote = "https://github.com/abseil/abseil-cpp",
Expand Down
1 change: 0 additions & 1 deletion bazel/target_recipes.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ TARGET_RECIPES = {
"tcmalloc_and_profiler": "gperftools",
"luajit": "luajit",
"nghttp2": "nghttp2",
"ssl": "boringssl",
"yaml_cpp": "yaml-cpp",
"zlib": "zlib",
}
16 changes: 0 additions & 16 deletions ci/build_container/build_recipes/boringssl.sh

This file was deleted.

13 changes: 0 additions & 13 deletions ci/prebuilt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ cc_library(
includes = ["thirdparty_build/include"],
)

cc_library(
name = "crypto",
srcs = ["thirdparty_build/lib/libcrypto.a"],
hdrs = glob(["thirdparty_build/include/openssl/**/*.h"]),
includes = ["thirdparty_build/include"],
)

cc_library(
name = "event",
srcs = ["thirdparty_build/lib/libevent.a"],
Expand Down Expand Up @@ -52,12 +45,6 @@ cc_library(
includes = ["thirdparty_build/include"],
)

cc_library(
name = "ssl",
srcs = ["thirdparty_build/lib/libssl.a"],
deps = [":crypto"],
)

cc_library(
name = "tcmalloc_and_profiler",
srcs = ["thirdparty_build/lib/libtcmalloc_and_profiler.a"],
Expand Down