| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can b | 2 # Use of this source code is governed by a BSD-style license that can b |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Enumerates the BoringSSL source in src/ and generates two gypi files: | 5 """Enumerates the BoringSSL source in src/ and generates two gypi files: |
| 6 boringssl.gypi and boringssl_tests.gypi.""" | 6 boringssl.gypi and boringssl_tests.gypi.""" |
| 7 | 7 |
| 8 import os | 8 import os |
| 9 import subprocess | 9 import subprocess |
| 10 import sys | 10 import sys |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 ('win', 'x86', 'win32n', [''], 'asm'), | 22 ('win', 'x86', 'win32n', [''], 'asm'), |
| 23 ('win', 'x86_64', 'nasm', [''], 'asm'), | 23 ('win', 'x86_64', 'nasm', [''], 'asm'), |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 # NON_PERL_FILES enumerates assembly files that are not processed by the | 26 # NON_PERL_FILES enumerates assembly files that are not processed by the |
| 27 # perlasm system. | 27 # perlasm system. |
| 28 NON_PERL_FILES = { | 28 NON_PERL_FILES = { |
| 29 ('linux', 'arm'): [ | 29 ('linux', 'arm'): [ |
| 30 'src/crypto/poly1305/poly1305_arm_asm.S', | 30 'src/crypto/poly1305/poly1305_arm_asm.S', |
| 31 'src/crypto/chacha/chacha_vec_arm.S', | 31 'src/crypto/chacha/chacha_vec_arm.S', |
| 32 'src/crypto/cpu-arm-asm.S', |
| 32 ], | 33 ], |
| 33 } | 34 } |
| 34 | 35 |
| 35 FILE_HEADER = """# Copyright (c) 2014 The Chromium Authors. All rights reserved. | 36 FILE_HEADER = """# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 36 # Use of this source code is governed by a BSD-style license that can be | 37 # Use of this source code is governed by a BSD-style license that can be |
| 37 # found in the LICENSE file. | 38 # found in the LICENSE file. |
| 38 | 39 |
| 39 # This file is created by update_gypi_and_asm.py. Do not edit manually. | 40 # This file is created by update_gypi_and_asm.py. Do not edit manually. |
| 40 | 41 |
| 41 """ | 42 """ |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 for test in test_names: | 241 for test in test_names: |
| 241 test_gypi.write(""" '%s',\n""" % test) | 242 test_gypi.write(""" '%s',\n""" % test) |
| 242 | 243 |
| 243 test_gypi.write(' ],\n }\n}\n') | 244 test_gypi.write(' ],\n }\n}\n') |
| 244 | 245 |
| 245 return 0 | 246 return 0 |
| 246 | 247 |
| 247 | 248 |
| 248 if __name__ == '__main__': | 249 if __name__ == '__main__': |
| 249 sys.exit(main()) | 250 sys.exit(main()) |
| OLD | NEW |