11"use strict" ;
22Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3- exports . checkDiskSize = exports . checkEmulatorBuild = exports . checkEnableHardwareKeyboard = exports . checkDisableLinuxHardwareAcceleration = exports . checkDisableSpellchecker = exports . checkDisableAnimations = exports . checkPort = exports . checkForceAvdCreation = exports . checkChannel = exports . checkArch = exports . checkTarget = exports . playstoreTargetSubstitution = exports . MAX_PORT = exports . MIN_PORT = exports . VALID_CHANNELS = exports . VALID_ARCHS = exports . VALID_TARGETS = exports . MIN_API_LEVEL = void 0 ;
3+ exports . checkDiskSize = exports . checkEmulatorBuild = exports . checkEnableHardwareKeyboard = exports . checkDisableLinuxHardwareAcceleration = exports . checkDisableSpellchecker = exports . checkDisableAnimations = exports . checkPort = exports . checkForceAvdCreation = exports . checkChannel = exports . checkArch = exports . playstoreTargetSubstitution = exports . MAX_PORT = exports . MIN_PORT = exports . VALID_CHANNELS = exports . VALID_ARCHS = exports . MIN_API_LEVEL = void 0 ;
44exports . MIN_API_LEVEL = 15 ;
5- exports . VALID_TARGETS = [
6- 'default' ,
7- 'google_apis' ,
8- 'google_apis_ps16k' ,
9- 'aosp_atd' ,
10- 'google_atd' ,
11- 'google_apis_playstore' ,
12- 'google_apis_playstore_ps16k' ,
13- 'android-wear' ,
14- 'android-wear-cn' ,
15- 'android-tv' ,
16- 'google-tv' ,
17- 'android-automotive' ,
18- 'android-automotive-playstore' ,
19- 'android-desktop' ,
20- ] ;
215exports . VALID_ARCHS = [ 'x86' , 'x86_64' , 'arm64-v8a' ] ;
226exports . VALID_CHANNELS = [ 'stable' , 'beta' , 'dev' , 'canary' ] ;
237exports . MIN_PORT = 5554 ;
@@ -32,12 +16,6 @@ function playstoreTargetSubstitution(target) {
3216 return target ;
3317}
3418exports . playstoreTargetSubstitution = playstoreTargetSubstitution ;
35- function checkTarget ( target ) {
36- if ( ! exports . VALID_TARGETS . includes ( playstoreTargetSubstitution ( target ) ) ) {
37- throw new Error ( `Value for input.target '${ target } ' is unknown. Supported options: ${ exports . VALID_TARGETS } .` ) ;
38- }
39- }
40- exports . checkTarget = checkTarget ;
4119function checkArch ( arch ) {
4220 if ( ! exports . VALID_ARCHS . includes ( arch ) ) {
4321 throw new Error ( `Value for input.arch '${ arch } ' is unknown. Supported options: ${ exports . VALID_ARCHS } .` ) ;
0 commit comments