Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: build/linux/unbundle/replace_gn_files.py

Issue 2838423002: Unbundle opus (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/linux/unbundle/opus.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn', 22 'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn',
23 'icu': 'third_party/icu/BUILD.gn', 23 'icu': 'third_party/icu/BUILD.gn',
24 'libdrm': 'third_party/libdrm/BUILD.gn', 24 'libdrm': 'third_party/libdrm/BUILD.gn',
25 'libevent': 'base/third_party/libevent/BUILD.gn', 25 'libevent': 'base/third_party/libevent/BUILD.gn',
26 'libjpeg': 'build/secondary/third_party/libjpeg_turbo/BUILD.gn', 26 'libjpeg': 'build/secondary/third_party/libjpeg_turbo/BUILD.gn',
27 'libpng': 'third_party/libpng/BUILD.gn', 27 'libpng': 'third_party/libpng/BUILD.gn',
28 'libvpx': 'third_party/libvpx/BUILD.gn', 28 'libvpx': 'third_party/libvpx/BUILD.gn',
29 'libwebp': 'third_party/libwebp/BUILD.gn', 29 'libwebp': 'third_party/libwebp/BUILD.gn',
30 'libxml': 'third_party/libxml/BUILD.gn', 30 'libxml': 'third_party/libxml/BUILD.gn',
31 'libxslt': 'third_party/libxslt/BUILD.gn', 31 'libxslt': 'third_party/libxslt/BUILD.gn',
32 'opus': 'third_party/opus/BUILD.gn',
32 're2': 'third_party/re2/BUILD.gn', 33 're2': 'third_party/re2/BUILD.gn',
33 'snappy': 'third_party/snappy/BUILD.gn', 34 'snappy': 'third_party/snappy/BUILD.gn',
34 'yasm': 'third_party/yasm/yasm_assemble.gni', 35 'yasm': 'third_party/yasm/yasm_assemble.gni',
35 'zlib': 'third_party/zlib/BUILD.gn', 36 'zlib': 'third_party/zlib/BUILD.gn',
36 } 37 }
37 38
38 39
39 def DoMain(argv): 40 def DoMain(argv):
40 my_dirname = os.path.dirname(__file__) 41 my_dirname = os.path.dirname(__file__)
41 source_tree_root = os.path.abspath( 42 source_tree_root = os.path.abspath(
(...skipping 29 matching lines...) Expand all
71 if unhandled_libraries: 72 if unhandled_libraries:
72 print('Unrecognized system libraries requested: %s' % ', '.join( 73 print('Unrecognized system libraries requested: %s' % ', '.join(
73 sorted(unhandled_libraries)), file=sys.stderr) 74 sorted(unhandled_libraries)), file=sys.stderr)
74 return 1 75 return 1
75 76
76 return 0 77 return 0
77 78
78 79
79 if __name__ == '__main__': 80 if __name__ == '__main__':
80 sys.exit(DoMain(sys.argv[1:])) 81 sys.exit(DoMain(sys.argv[1:]))
OLDNEW
« no previous file with comments | « build/linux/unbundle/opus.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698