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

Side by Side Diff: components/cronet/tools/link_dependencies.py

Issue 1858483002: Cronet for iOS with C API for GRPC support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@small
Patch Set: Address comments, bundle libboringssl.a into libcronet.a Created 4 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 | « components/cronet/tools/cr_cronet.py ('k') | components/cronet/tools/package_ios.py » ('j') | 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 # 2 #
3 # Copyright 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Links the deps of a binary into a static library. 7 """Links the deps of a binary into a static library.
8 8
9 Run with a working directory, the name of a binary target, and the name of the 9 Run with a working directory, the name of a binary target, and the name of the
10 static library that should be produced. For example: 10 static library that should be produced. For example:
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 parser.add_argument('target', nargs=1, help='target to query for deps') 148 parser.add_argument('target', nargs=1, help='target to query for deps')
149 parser.add_argument('output', nargs=1, help='path to output static library') 149 parser.add_argument('output', nargs=1, help='path to output static library')
150 args = parser.parse_args() 150 args = parser.parse_args()
151 151
152 inputs = query_ninja(args.target[0], args.workdir[0]) 152 inputs = query_ninja(args.target[0], args.workdir[0])
153 link(args.output[0], list(library_deps(inputs, args.workdir[0]))) 153 link(args.output[0], list(library_deps(inputs, args.workdir[0])))
154 154
155 155
156 if __name__ == '__main__': 156 if __name__ == '__main__':
157 main() 157 main()
OLDNEW
« no previous file with comments | « components/cronet/tools/cr_cronet.py ('k') | components/cronet/tools/package_ios.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698