From 3f5fe608c854e0a7cc598c18de034a4ba5ad7bc9 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Wed, 28 Oct 2015 12:24:35 -0700 Subject: [PATCH] Support Bazel builds on other platforms. This change causes the generated Bazel files to include the assembly file lists for other platforms. Change-Id: Ic474b6900f8c109393baac1ec9cc2d112f155a56 Reviewed-on: https://boringssl-review.googlesource.com/6390 Reviewed-by: Adam Langley --- util/generate_build_files.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/util/generate_build_files.py b/util/generate_build_files.py index 9254590a..856960e4 100644 --- a/util/generate_build_files.py +++ b/util/generate_build_files.py @@ -204,10 +204,8 @@ class Bazel(object): self.PrintVariableSection(out, 'tool_sources', files['tool']) for ((osname, arch), asm_files) in asm_outputs: - if osname is not 'linux': - continue self.PrintVariableSection( - out, 'crypto_sources_%s' % arch, asm_files) + out, 'crypto_sources_%s_%s' % (osname, arch), asm_files) with open('BUILD.generated_tests.bzl', 'w+') as out: out.write(self.header)