Merge "Create embedcfg directory before writing the file" into main am: 0bc93e1a92
am: cbb04e8e9b
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/3081524 Change-Id: I669bf19e6b39fb84ce8dbbd7f90ee42e417daebd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
0ad5367b36
1 changed files with 1 additions and 0 deletions
|
@ -584,6 +584,7 @@ func generateEmbedcfgFile(files []string, srcDir string, embedcfgFile string) {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
os.MkdirAll(filepath.Dir(embedcfgFile), os.ModePerm)
|
||||
os.WriteFile(embedcfgFile, []byte(embedcfgData), 0644)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue