Allow deprecated-copy
This allowance is being removed from the main repo.
Bug: 38640
Change-Id: I9a82e893745cd654309300ffbff03d405260d19c
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/boringssl/+/575265
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Tamir Duberstein <tamird@google.com>
Reviewed-by: Allison Pearce <ampearce@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index 03e7578..bfcf8d8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -55,7 +55,11 @@
# libcrypto.so #
################
-foreach(lib_type, ["static", "shared"]) {
+foreach(lib_type,
+ [
+ "static",
+ "shared",
+ ]) {
target("${lib_type}_library", "crypto-${lib_type}") {
if (default_library_type == "${lib_type}_library") {
output_name = "crypto"
@@ -102,7 +106,11 @@
}
}
-foreach(lib_name, ["crypto", "ssl"]) {
+foreach(lib_name,
+ [
+ "crypto",
+ "ssl",
+ ]) {
group("$lib_name") {
if (default_library_type == "shared_library") {
public_deps = [ ":${lib_name}-shared" ]
@@ -162,8 +170,8 @@
"src/tool/client.cc",
"src/tool/const.cc",
"src/tool/digest.cc",
- "src/tool/file.cc",
"src/tool/fd.cc",
+ "src/tool/file.cc",
"src/tool/generate_ed25519.cc",
"src/tool/genrsa.cc",
"src/tool/pkcs12.cc",
@@ -192,16 +200,14 @@
deps = [ ":ssl_test" ]
}
fuchsia_test_package("boringssl_tests") {
- test_components = [
- ":ssl_test_component",
- ]
+ test_components = [ ":ssl_test_component" ]
# This test takes a long time to run, and it is included in every subset
# of the Fuchsia build.
# TODO(bgoldman): Find a way to skip this test when runtests is set to
# skip "large" tests.
if (run_slow_bssl_tests) {
- test_components += [":crypto_test_component"]
+ test_components += [ ":crypto_test_component" ]
}
}
}
@@ -295,6 +301,7 @@
cflags = [
"-Wno-unused-function",
"-Wno-conversion",
+ "-Wno-deprecated-copy",
]
configs = [
":boringssl_config",