File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ $channels = @{}
243
243
$cmdlinetools_rev = ' 11076708' # 12.0
244
244
245
245
$ndk_r23d_rev = ' 12186248'
246
+ # $ndk_r25d_rev = '12161346'
246
247
247
248
$android_sdk_tools = @ {
248
249
' build-tools' = ' 34.0.0'
@@ -269,6 +270,7 @@ $options = @{
269
270
dm = $false # dump compiler preprocessors
270
271
i = $false # perform install
271
272
scope = ' local'
273
+ aab = $false
272
274
}
273
275
274
276
$optName = $null
@@ -1949,11 +1951,12 @@ if (!$setupOnly) {
1949
1951
$build_tool_dir = Split-Path $build_tool - Parent
1950
1952
Push-Location $build_tool_dir
1951
1953
if (! $configOnly ) {
1954
+ $build_task = @ (' assemble' , ' bundle' )[$options.aab ]
1952
1955
if ($optimize_flag -eq ' Debug' ) {
1953
- & $build_tool assembleDebug $CONFIG_ALL_OPTIONS | Out-Host
1956
+ & $build_tool ${build_task} Debug $CONFIG_ALL_OPTIONS | Out-Host
1954
1957
}
1955
1958
else {
1956
- & $build_tool assembleRelease $CONFIG_ALL_OPTIONS | Out-Host
1959
+ & $build_tool ${build_task} Release $CONFIG_ALL_OPTIONS | Out-Host
1957
1960
}
1958
1961
}
1959
1962
else {
You can’t perform that action at this time.
0 commit comments