1
1
"use strict" ;
2
2
Object . 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 ;
4
4
exports . 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
- ] ;
21
5
exports . VALID_ARCHS = [ 'x86' , 'x86_64' , 'arm64-v8a' ] ;
22
6
exports . VALID_CHANNELS = [ 'stable' , 'beta' , 'dev' , 'canary' ] ;
23
7
exports . MIN_PORT = 5554 ;
@@ -32,12 +16,6 @@ function playstoreTargetSubstitution(target) {
32
16
return target ;
33
17
}
34
18
exports . 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 ;
41
19
function checkArch ( arch ) {
42
20
if ( ! exports . VALID_ARCHS . includes ( arch ) ) {
43
21
throw new Error ( `Value for input.arch '${ arch } ' is unknown. Supported options: ${ exports . VALID_ARCHS } .` ) ;
0 commit comments