| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 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 """Launches Android Virtual Devices with a set configuration for testing Chrome. | 6 """Launches Android Virtual Devices with a set configuration for testing Chrome. |
| 7 | 7 |
| 8 The script will launch a specified number of Android Virtual Devices (AVD's). | 8 The script will launch a specified number of Android Virtual Devices (AVD's). |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 arguments.emulator_count, | 131 arguments.emulator_count, |
| 132 arguments.abi, | 132 arguments.abi, |
| 133 arguments.api_level, | 133 arguments.api_level, |
| 134 enable_kvm=arguments.enable_kvm, | 134 enable_kvm=arguments.enable_kvm, |
| 135 kill_and_launch=arguments.kill_and_launch, | 135 kill_and_launch=arguments.kill_and_launch, |
| 136 sdcard_size=arguments.sdcard_size, | 136 sdcard_size=arguments.sdcard_size, |
| 137 storage_size=arguments.partition_size, | 137 storage_size=arguments.partition_size, |
| 138 wait_for_boot=True, | 138 wait_for_boot=True, |
| 139 headless=arguments.headless | 139 headless=arguments.headless |
| 140 ) | 140 ) |
| 141 logging.info('Emulator launch completed') |
| 142 return 0 |
| 141 | 143 |
| 142 if __name__ == '__main__': | 144 if __name__ == '__main__': |
| 143 sys.exit(main(sys.argv)) | 145 sys.exit(main(sys.argv)) |
| OLD | NEW |