OSDN Git Service

Rework the generation of host java libraries.
authorNarayan Kamath <narayan@google.com>
Mon, 28 Oct 2013 13:20:52 +0000 (13:20 +0000)
committerNarayan Kamath <narayan@google.com>
Thu, 7 Nov 2013 09:39:05 +0000 (09:39 +0000)
commit0dd273a3f68364045c0e8bdcc10a4ecd3c07b745
tree004888cf008c3e4d1a3fe92e000c1e366f2c2c1a
parent060e8f5099fc01e06f1f053e6ce9975b41e3e796
Rework the generation of host java libraries.

We currently have two types of host libraries, those
meant for the host VM (Sun, OpenJDK etc.) and those meant
for a host dalvik build. The former need to be compiled
against the host standard libraries and the latter need
to be compiled against libcore. This change introduces
two new build rules to complement the existing the existing
host rules.

BUILD_HOST_DALVIK_JAVA_LIBRARY : Build a java library for
a host build of dalvik. Bootclasspath will be set to a host
build of libcore.
BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY : Build a static java
library for a host build of dalvik. Bootclasspath will be set
to a host build of libcore.

This change also removes support for the LOCAL_BUILD_HOST_DEX
flag, which is now unnecessary.

bug: 8992787

Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
core/base_rules.mk
core/config.mk
core/host_dalvik_java_library.mk [new file with mode: 0644]
core/host_dalvik_static_java_library.mk [new file with mode: 0644]
core/host_java_library.mk
core/host_java_library_common.mk [new file with mode: 0644]