diff options
Diffstat (limited to 'apex/builder.go')
-rw-r--r-- | apex/builder.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apex/builder.go b/apex/builder.go index fe465f57b..4a760b999 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -105,6 +105,7 @@ var ( `${apexer} --force --manifest ${manifest} ` + `--file_contexts ${file_contexts} ` + `--canned_fs_config ${canned_fs_config} ` + + `--include_build_info ` + `--payload_type image ` + `--key ${key} ${opt_flags} ${image_dir} ${out} `, CommandDeps: []string{"${apexer}", "${avbtool}", "${e2fsdroid}", "${merge_zips}", @@ -378,7 +379,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) { optFlags = append(optFlags, "--assets_dir "+filepath.Dir(noticeFile.String())) } - if ctx.ModuleDir() != "system/apex/apexd/apexd_testdata" && a.testOnlyShouldSkipHashtreeGeneration() { + if ctx.ModuleDir() != "system/apex/apexd/apexd_testdata" && ctx.ModuleDir() != "system/apex/shim/build" && a.testOnlyShouldSkipHashtreeGeneration() { ctx.PropertyErrorf("test_only_no_hashtree", "not available") return } |