Create embedcfg directory before writing the file
Bug: 302718225 Test: rm -rf out/ && m out/host/linux-x86/bin/go/soong-cc/pkg/android/soong/cc.a Change-Id: I206f4e0f83fae6a8c6b69c648d23a8c6d1f51477
This commit is contained in:
parent
ca5ffdd3ce
commit
2fbe882aa8
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