From c40e1830accdfc7f39a5da32c6e9b4dbd9b9ba67 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 7 Jun 2017 18:07:37 -0400 Subject: [PATCH] Don't define BORINGSSL_SHARED_LIBRARY in generated bzl file. https://boringssl-review.googlesource.com/c/12360/ made us define BORINGSSL_SHARED_LIBRARY when building tests via Bazel. The test has now been moved to crypto_test, where the flags are more easily under the control of the consumer. Change-Id: If237efca219a1f03d64dc801cc1d585556bf2d1d Reviewed-on: https://boringssl-review.googlesource.com/16987 Reviewed-by: David Benjamin --- util/generate_build_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/generate_build_files.py b/util/generate_build_files.py index fabef67e..38d757be 100644 --- a/util/generate_build_files.py +++ b/util/generate_build_files.py @@ -301,7 +301,7 @@ class Bazel(object): out.write(' "%s",\n' % arg) out.write(' ],\n') - out.write(' copts = copts + ["-DBORINGSSL_SHARED_LIBRARY"],\n') + out.write(' copts = copts,\n') if len(data_files) > 0: out.write(' data = [\n')