OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ | 6 """ |
7 Replaces GN files in tree with files from here that | 7 Replaces GN files in tree with files from here that |
8 make the build use system libraries. | 8 make the build use system libraries. |
9 """ | 9 """ |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn', | 23 'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn', |
24 'icu': 'third_party/icu/BUILD.gn', | 24 'icu': 'third_party/icu/BUILD.gn', |
25 'libdrm': 'third_party/libdrm/BUILD.gn', | 25 'libdrm': 'third_party/libdrm/BUILD.gn', |
26 'libevent': 'base/third_party/libevent/BUILD.gn', | 26 'libevent': 'base/third_party/libevent/BUILD.gn', |
27 'libjpeg': 'build/secondary/third_party/libjpeg_turbo/BUILD.gn', | 27 'libjpeg': 'build/secondary/third_party/libjpeg_turbo/BUILD.gn', |
28 'libpng': 'third_party/libpng/BUILD.gn', | 28 'libpng': 'third_party/libpng/BUILD.gn', |
29 'libvpx': 'third_party/libvpx/BUILD.gn', | 29 'libvpx': 'third_party/libvpx/BUILD.gn', |
30 'libwebp': 'third_party/libwebp/BUILD.gn', | 30 'libwebp': 'third_party/libwebp/BUILD.gn', |
31 'libxml': 'third_party/libxml/BUILD.gn', | 31 'libxml': 'third_party/libxml/BUILD.gn', |
32 'libxslt': 'third_party/libxslt/BUILD.gn', | 32 'libxslt': 'third_party/libxslt/BUILD.gn', |
| 33 'openh264': 'third_party/openh264/BUILD.gn', |
33 'opus': 'third_party/opus/BUILD.gn', | 34 'opus': 'third_party/opus/BUILD.gn', |
34 're2': 'third_party/re2/BUILD.gn', | 35 're2': 'third_party/re2/BUILD.gn', |
35 'snappy': 'third_party/snappy/BUILD.gn', | 36 'snappy': 'third_party/snappy/BUILD.gn', |
36 'yasm': 'third_party/yasm/yasm_assemble.gni', | 37 'yasm': 'third_party/yasm/yasm_assemble.gni', |
37 'zlib': 'third_party/zlib/BUILD.gn', | 38 'zlib': 'third_party/zlib/BUILD.gn', |
38 } | 39 } |
39 | 40 |
40 | 41 |
41 def DoMain(argv): | 42 def DoMain(argv): |
42 my_dirname = os.path.dirname(__file__) | 43 my_dirname = os.path.dirname(__file__) |
(...skipping 30 matching lines...) Expand all Loading... |
73 if unhandled_libraries: | 74 if unhandled_libraries: |
74 print('Unrecognized system libraries requested: %s' % ', '.join( | 75 print('Unrecognized system libraries requested: %s' % ', '.join( |
75 sorted(unhandled_libraries)), file=sys.stderr) | 76 sorted(unhandled_libraries)), file=sys.stderr) |
76 return 1 | 77 return 1 |
77 | 78 |
78 return 0 | 79 return 0 |
79 | 80 |
80 | 81 |
81 if __name__ == '__main__': | 82 if __name__ == '__main__': |
82 sys.exit(DoMain(sys.argv[1:])) | 83 sys.exit(DoMain(sys.argv[1:])) |
OLD | NEW |