platform_build/core
Narayan Kamath 40dae1fefa 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

(cherry picked from commit 0dd273a3f6)

Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
2013-11-25 10:17:53 +00:00
..
combo Merge commit 'c73341006286c391ae4d268a77f5e008045d5308' into HEAD 2013-11-22 11:06:11 -08:00
tasks am 36e95f31: Merge "don\'t check paths of non-installed or host modules" into klp-dev 2013-10-03 15:38:36 -07:00
apicheck_msg_current.txt
apicheck_msg_last.txt
base_rules.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
binary.mk Add support for WITHOUT_CLANG 2013-09-16 10:20:08 -07:00
build-system.html Remove the hacks needed to support ash and mksh concurrently. 2013-11-05 11:13:49 -08:00
build_id.mk update dev build ID 2013-10-15 10:37:53 -07:00
checktree
cleanbuild.mk Don't bother going through the source tree 2013-08-09 10:08:30 -07:00
cleanspec.mk core: don't hardcode "out" during findleaves.py invocations. 2013-07-11 19:08:06 -07:00
clear_vars.mk am 392d042c: am b6da30c3: am 2408479c: Allow module to specify LOCAL_INSTALLED_MODULE_STEM 2013-09-25 12:40:29 -07:00
config.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
copy_headers.mk
definitions.mk am ec3c15e5: am 04c4d34d: am 7311a344: Make it easier to enable obfuscation and optimization. 2013-08-23 10:12:26 -07:00
device.mk
dex_preopt.mk Enable art for user builds 2013-09-19 15:07:28 -07:00
distdir.mk
droiddoc.mk Split framework jar. 2013-07-17 21:08:18 -07:00
dumpvar.mk Switch x86 default compiler to multilib version 2013-08-26 10:42:42 +04:00
dynamic_binary.mk Allow module to specify LOCAL_INSTALLED_MODULE_STEM 2013-09-25 12:30:59 -07:00
envsetup.mk add a fake data target. 2013-05-14 10:58:26 -07:00
executable.mk
filter_symbols.sh
find-jdk-tools-jar.sh
help.mk Don't bother going through the source tree 2013-08-09 10:08:30 -07:00
host_dalvik_java_library.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
host_dalvik_static_java_library.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
host_executable.mk
host_java_library.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
host_java_library_common.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk
host_static_library.mk
java.mk Drop the [no]proguard. prefix for the intermediate targets 2013-09-12 17:50:11 -07:00
java_library.mk Enable art for user builds 2013-09-19 15:07:28 -07:00
legacy_prebuilts.mk Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH 2013-07-24 15:15:55 -07:00
llvm_config.mk Cleanup x86 and x86_64 flags 2013-10-15 18:15:57 +04:00
main.mk Merge commit 'c73341006286c391ae4d268a77f5e008045d5308' into HEAD 2013-11-22 11:06:11 -08:00
Makefile resolved conflicts for merge of 65d5e788 to klp-dev-plus-aosp 2013-09-13 17:50:29 -07:00
multi_prebuilt.mk Error and exit if BUILD_MULTI_PREBUILT is incorrectly used 2013-07-31 16:26:01 -07:00
native_test.mk
node_fns.mk
notice_files.mk Collect NOTICE files for apps_only build. 2013-08-24 13:55:59 -07:00
package.mk Enable art for user builds 2013-09-19 15:07:28 -07:00
pathmap.mk am 7cba6168: am 9a3fb871: Merge "Revert "remove renderscript support lib from javadocs" ... put support lib javadocs for renderscript back in." into jb-mr2-ub-dev 2013-09-12 12:17:26 -07:00
pdk_config.mk Add android-ex-camera2 static java library to PDK. 2013-09-24 16:57:28 -07:00
phony_package.mk Add LOCAL_ADDITIONAL_DEPENDENCIES support to BUILD_PHONY_PACKAGE 2013-07-15 16:44:26 -07:00
post_clean.mk
prebuilt.mk am 405dac7f: am 8f01a3c0: Merge "Add missing LOCAL_ADDITIONAL_DEPENDENCIES dependency to BUILD_PREBUILT." 2013-08-13 18:29:30 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product.mk Remove the vendor-specific vars from the protected list. 2013-08-26 14:57:52 -07:00
product_config.mk Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH 2013-07-24 15:15:55 -07:00
proguard.emma.flags
proguard.flags Make it easier to enable obfuscation and optimization. 2013-08-22 17:12:38 -07:00
proguard_basic_keeps.flags Remove -allowaccessmodification from the basic Proguard flags 2013-08-13 17:40:24 -07:00
proguard_tests.flags Make it easier to enable obfuscation and optimization. 2013-08-22 17:12:38 -07:00
raw_executable.mk
raw_static_library.mk
root.mk
shared_library.mk
static_java_library.mk Better handle of need_compile_java. 2013-08-28 14:05:20 -07:00
static_library.mk
version_defaults.mk So long Key Lime Pie, it was nice knowing you. 2013-10-03 12:30:00 -07:00