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 <agl@google.com>
This commit is contained in:
Piotr Sikora 2015-10-28 12:24:35 -07:00 committed by Adam Langley
parent 87cfcdb6df
commit 3f5fe608c8

View File

@ -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)