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

Side by Side Diff: tools_webrtc/android/build_aar.py

Issue 2864213004: Rename tools-webrtc -> tools_webrtc (Closed)
Patch Set: REmove symlink Created 3 years, 7 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 | « tools_webrtc/android/adb_shell.sh ('k') | tools_webrtc/android/profiling/perf_setup.sh » ('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 (c) 2017 The WebRTC project authors. All Rights Reserved. 3 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license 5 # Use of this source code is governed by a BSD-style license
6 # that can be found in the LICENSE file in the root of the source 6 # that can be found in the LICENSE file in the root of the source
7 # tree. An additional intellectual property rights grant can be found 7 # tree. An additional intellectual property rights grant can be found
8 # in the file PATENTS. All contributing project authors may 8 # in the file PATENTS. All contributing project authors may
9 # be found in the AUTHORS file in the root of the source tree. 9 # be found in the AUTHORS file in the root of the source tree.
10 10
11 """Script to generate libwebrtc.aar for distribution. 11 """Script to generate libwebrtc.aar for distribution.
12 12
13 The script has to be run from the root src folder. 13 The script has to be run from the root src folder.
14 ./tools-webrtc/android/build_aar.py 14 ./tools_webrtc/android/build_aar.py
15 15
16 .aar-file is just a zip-archive containing the files of the library. The file 16 .aar-file is just a zip-archive containing the files of the library. The file
17 structure generated by this script looks like this: 17 structure generated by this script looks like this:
18 - AndroidManifest.xml 18 - AndroidManifest.xml
19 - classes.jar 19 - classes.jar
20 - libs/ 20 - libs/
21 - armeabi-v7a/ 21 - armeabi-v7a/
22 - libjingle_peerconnection_so.so 22 - libjingle_peerconnection_so.so
23 - x86/ 23 - x86/
24 - libjingle_peerconnection_so.so 24 - libjingle_peerconnection_so.so
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 # Architecture doesn't matter here, arbitrarily using the first one. 171 # Architecture doesn't matter here, arbitrarily using the first one.
172 CollectCommon(aar_file, tmp_dir, args.arch[0]) 172 CollectCommon(aar_file, tmp_dir, args.arch[0])
173 for arch in args.arch: 173 for arch in args.arch:
174 Collect(aar_file, tmp_dir, arch) 174 Collect(aar_file, tmp_dir, arch)
175 175
176 shutil.rmtree(tmp_dir, True) 176 shutil.rmtree(tmp_dir, True)
177 177
178 178
179 if __name__ == '__main__': 179 if __name__ == '__main__':
180 sys.exit(main()) 180 sys.exit(main())
OLDNEW
« no previous file with comments | « tools_webrtc/android/adb_shell.sh ('k') | tools_webrtc/android/profiling/perf_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698