Fix bazel crypto target dependencies.
The crypto target depends on having access to the fips_fragments when
compiling bcm.c. Explicitly load and add them as a dependency of that
target.
Change-Id: Ibe6f589cc63b653c52eb2c32b445ec31996b6247
Reviewed-on: https://boringssl-review.googlesource.com/16946
Reviewed-by: Matt Braithwaite <mab@google.com>
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/util/BUILD.toplevel b/util/BUILD.toplevel
index be3fd96..68a17a6 100644
--- a/util/BUILD.toplevel
+++ b/util/BUILD.toplevel
@@ -23,6 +23,7 @@
"crypto_sources",
"crypto_sources_linux_x86_64",
"crypto_sources_mac_x86_64",
+ "fips_fragments",
"ssl_headers",
"ssl_internal_headers",
"ssl_c_sources",
@@ -92,7 +93,7 @@
cc_library(
name = "crypto",
srcs = crypto_sources + crypto_internal_headers + crypto_sources_asm,
- hdrs = crypto_headers,
+ hdrs = crypto_headers + fips_fragments,
copts = boringssl_copts_c11,
includes = ["src/include"],
linkopts = select({