generate-prep: include cmds-for-envsetup.sh
It's omission was a mistake.
This commit is contained in:
parent
cbfc9d223b
commit
35d14a7a2d
1 changed files with 9 additions and 1 deletions
|
@ -6,7 +6,13 @@ import { copyBlobs } from '../blobs/copy'
|
|||
import { BlobEntry } from '../blobs/entry'
|
||||
import { DEVICE_CONFIG_FLAGS, DeviceBuildId, DeviceConfig, getDeviceBuildId, loadDeviceConfigs } from '../config/device'
|
||||
import { forEachDevice } from '../frontend/devices'
|
||||
import { enumerateFiles, extractProps, generateBuildFiles, PropResults } from '../frontend/generate'
|
||||
import {
|
||||
enumerateFiles,
|
||||
extractProps,
|
||||
generateBuildFiles,
|
||||
PropResults,
|
||||
writeEnvsetupCommands,
|
||||
} from '../frontend/generate'
|
||||
import { DeviceImages, prepareFactoryImages, WRAPPED_SOURCE_FLAGS, wrapSystemSrc } from '../frontend/source'
|
||||
import { loadBuildIndex } from '../images/build-index'
|
||||
import { withSpinner } from '../util/cli'
|
||||
|
@ -63,6 +69,8 @@ const doDevice = (
|
|||
await withSpinner('Generating build files', () =>
|
||||
generateBuildFiles(config, dirs, entries, [], propResults, null, null, null, stockSrc, false, true),
|
||||
)
|
||||
|
||||
await writeEnvsetupCommands(config, dirs)
|
||||
})
|
||||
|
||||
export default class GeneratePrep extends Command {
|
||||
|
|
Loading…
Reference in a new issue