[boringssl][bazel] Add BoringSSL library targets Create //third_party/boringssl/BUILD.bazel defining :boringssl, :boringssl-shared, :boringssl-static, :crypto, :crypto-shared, :crypto-static, :ssl, :ssl-shared, and :ssl-static matching //third_party/boringssl/BUILD.gn, synchronized via LINT.IfChange and LINT.ThenChange annotations. Update //build/bazel/templates/template.bazelrc with --deleted_packages for third_party/boringssl/src and its nested Rust subpackages so //third_party/boringssl packages can reference upstream sources under src/ directly without crossing subpackage boundaries. Verified GN vs. Bazel output equivalence: - Fuchsia libcrypto.so & libssl.so (readelf -d, llvm-nm -gD): matching DT_SONAME, static C++ runtime linkage (no libc++.so.2/libc++abi.so.1 in DT_NEEDED), and 0 diff in exported dynamic symbols (2,718 in libcrypto.so, 639 in libssl.so). - Host libcrypto & libssl static archives (llvm-nm -g, readelf -sW): 0 diff in defined non-weak global symbols (3,421 in libcrypto, 1,017 in libssl), all with HIDDEN visibility. Skip-Readme-Check: No version change, adding BUILD.bazel Bug: 572563685 Test: fx bazel build --config=host //third_party/boringssl:all Test: fx bazel build --config=fuchsia_platform //third_party/boringssl:all Change-Id: I335acf235c5b1001ee8f0b11304394ed89c8b0c0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1883601 Reviewed-by: David Turner <digit@google.com> Commit-Queue: Jay Zhuang <jayzhuang@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.