Fix a few missing dependencies in APEX building
I found these while trying to build an aosp_arm system image with RBE, which only makes the sources that you depend on available to every rule. The hardcoded prebuilts/sdk path is a bit unfortunate, but that's currently hardcoded as a default in the script as well. Bug: 130111713 Test: treehugger Test: build a system image with RBE Change-Id: I4415563017e053749788b0a537a48d61a2161935
This commit is contained in:
@@ -61,7 +61,7 @@ var (
|
|||||||
`--key ${key} ${opt_flags} ${image_dir} ${out} `,
|
`--key ${key} ${opt_flags} ${image_dir} ${out} `,
|
||||||
CommandDeps: []string{"${apexer}", "${avbtool}", "${e2fsdroid}", "${merge_zips}",
|
CommandDeps: []string{"${apexer}", "${avbtool}", "${e2fsdroid}", "${merge_zips}",
|
||||||
"${mke2fs}", "${resize2fs}", "${sefcontext_compile}",
|
"${mke2fs}", "${resize2fs}", "${sefcontext_compile}",
|
||||||
"${soong_zip}", "${zipalign}", "${aapt2}"},
|
"${soong_zip}", "${zipalign}", "${aapt2}", "prebuilts/sdk/current/public/android.jar"},
|
||||||
Description: "APEX ${image_dir} => ${out}",
|
Description: "APEX ${image_dir} => ${out}",
|
||||||
}, "tool_path", "image_dir", "copy_commands", "manifest", "file_contexts", "canned_fs_config", "key", "opt_flags")
|
}, "tool_path", "image_dir", "copy_commands", "manifest", "file_contexts", "canned_fs_config", "key", "opt_flags")
|
||||||
|
|
||||||
@@ -1062,6 +1062,10 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext, apexType ap
|
|||||||
Description: "signapk",
|
Description: "signapk",
|
||||||
Output: a.outputFiles[apexType],
|
Output: a.outputFiles[apexType],
|
||||||
Input: unsignedOutputFile,
|
Input: unsignedOutputFile,
|
||||||
|
Implicits: []android.Path{
|
||||||
|
a.container_certificate_file,
|
||||||
|
a.container_private_key_file,
|
||||||
|
},
|
||||||
Args: map[string]string{
|
Args: map[string]string{
|
||||||
"certificates": a.container_certificate_file.String() + " " + a.container_private_key_file.String(),
|
"certificates": a.container_certificate_file.String() + " " + a.container_private_key_file.String(),
|
||||||
"flags": "-a 4096", //alignment
|
"flags": "-a 4096", //alignment
|
||||||
|
Reference in New Issue
Block a user