OSDN Git Service

Add back Java resources to apk without Java code.
authorYing Wang <wangying@google.com>
Fri, 27 Mar 2015 18:07:17 +0000 (11:07 -0700)
committerYing Wang <wangying@google.com>
Fri, 27 Mar 2015 18:15:17 +0000 (11:15 -0700)
commit8b27d1879c5692ebe6c5ac85383981fd96dfe2e1
treed0137cadfbf6e52703a8e0153d178eda236df9f7
parent921a5f8940fa3a215cab807c8fbbbca428233e9b
Add back Java resources to apk without Java code.

With commit 33360dd56925276e4526f5f52c26423e2bb1a670 we moved Java
resource packaging forward to creation of the jar file. But the Java
resource packaging will be skipped if a module has no Java code at all.
(The build system does support building an apk without Java code.)
In this change we add back the Java resources directly to the built apk
when the apk has no Java code.

Bug: 19947218
Change-Id: I0e1a65a9cbe656974f8ef3923b2f15e9efa5feb9
core/dpi_specific_apk.mk
core/package_internal.mk