| OLD | NEW | 
|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 
| 3 # | 3 # | 
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license | 
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source | 
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found | 
| 7 # in the file PATENTS.  All contributing project authors may | 7 # in the file PATENTS.  All contributing project authors may | 
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. | 
| 9 | 9 | 
| 10 """ | 10 """ | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 78       help='The path to the build directory for building locally.') | 78       help='The path to the build directory for building locally.') | 
| 79   parser.add_argument('--temp_dir', | 79   parser.add_argument('--temp_dir', | 
| 80       help='A temporary directory to put the output.') | 80       help='A temporary directory to put the output.') | 
| 81   parser.add_argument('--adb-path', help='Path to adb binary.', default='adb') | 81   parser.add_argument('--adb-path', help='Path to adb binary.', default='adb') | 
| 82 | 82 | 
| 83   args = parser.parse_args() | 83   args = parser.parse_args() | 
| 84   return args | 84   return args | 
| 85 | 85 | 
| 86 | 86 | 
| 87 def main(): | 87 def main(): | 
|  | 88   # Disabled, see bugs.webrtc.org/7548 | 
|  | 89   if True: | 
|  | 90     return 0 | 
|  | 91 | 
| 88   logging.basicConfig(level=logging.INFO) | 92   logging.basicConfig(level=logging.INFO) | 
| 89 | 93 | 
| 90   args = _ParseArgs() | 94   args = _ParseArgs() | 
| 91 | 95 | 
| 92   build_dir_android = args.build_dir_android | 96   build_dir_android = args.build_dir_android | 
| 93   build_dir_x86 = args.build_dir_x86 | 97   build_dir_x86 = args.build_dir_x86 | 
| 94   temp_dir = args.temp_dir | 98   temp_dir = args.temp_dir | 
| 95   adb_path = args.adb_path | 99   adb_path = args.adb_path | 
| 96   if not temp_dir: | 100   if not temp_dir: | 
| 97     temp_dir = tempfile.mkdtemp() | 101     temp_dir = tempfile.mkdtemp() | 
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 193       '--stats_file_ref', stats_file_ref, | 197       '--stats_file_ref', stats_file_ref, | 
| 194       '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, | 198       '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, | 
| 195       '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) | 199       '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) | 
| 196 | 200 | 
| 197   shutil.rmtree(temp_dir) | 201   shutil.rmtree(temp_dir) | 
| 198 | 202 | 
| 199 | 203 | 
| 200 if __name__ == '__main__': | 204 if __name__ == '__main__': | 
| 201   sys.exit(main()) | 205   sys.exit(main()) | 
| 202 | 206 | 
| OLD | NEW | 
|---|