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:
parent
87cfcdb6df
commit
3f5fe608c8
@ -204,10 +204,8 @@ class Bazel(object):
|
|||||||
self.PrintVariableSection(out, 'tool_sources', files['tool'])
|
self.PrintVariableSection(out, 'tool_sources', files['tool'])
|
||||||
|
|
||||||
for ((osname, arch), asm_files) in asm_outputs:
|
for ((osname, arch), asm_files) in asm_outputs:
|
||||||
if osname is not 'linux':
|
|
||||||
continue
|
|
||||||
self.PrintVariableSection(
|
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:
|
with open('BUILD.generated_tests.bzl', 'w+') as out:
|
||||||
out.write(self.header)
|
out.write(self.header)
|
||||||
|
Loading…
Reference in New Issue
Block a user