Revert "Don't build hiddenapi flags or encode dex for unbundled builds"
This reverts commit 7b8a567f44
.
Bug: 137282010
Test: With the CL above this one, the unbundled mainline module build
does not fail.
Change-Id: I2f49fa7dbe1da92cb282a9bc14acd5830888ed17
This commit is contained in:
@@ -64,7 +64,7 @@ func (h *hiddenAPISingleton) GenerateBuildActions(ctx android.SingletonContext)
|
||||
stubFlagsRule(ctx)
|
||||
|
||||
// These rules depend on files located in frameworks/base, skip them if running in a tree that doesn't have them.
|
||||
if ctx.Config().FrameworksBaseDirExists(ctx) && !ctx.Config().UnbundledBuild() {
|
||||
if ctx.Config().FrameworksBaseDirExists(ctx) {
|
||||
h.flags = flagsRule(ctx)
|
||||
h.metadata = metadataRule(ctx)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user