summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-09-16 14:56:08 -0700
committerJesse Wilson <jessewilson@google.com>2010-09-16 15:34:00 -0700
commit852f43bd29da34ff15799b88c3db166428cea6d8 (patch)
treee6ab2882d5076725012985a0fbcdeb70492b28cd
parentec5ffbabd3a3ba65bac934305f7ffcb7e15fb744 (diff)
downloadbuild-852f43bd29da34ff15799b88c3db166428cea6d8.zip
build-852f43bd29da34ff15799b88c3db166428cea6d8.tar.gz
build-852f43bd29da34ff15799b88c3db166428cea6d8.tar.bz2
Include dalvik+libcore dependencies in core product definitions.
Also conditionally include host-only dependencies when the host is being built. Change-Id: I0e8c9c1bef5ee60d4c1ce1c158f41b7642f9a8f2
-rw-r--r--core/user_tags.mk29
-rw-r--r--target/product/core.mk44
2 files changed, 44 insertions, 29 deletions
diff --git a/core/user_tags.mk b/core/user_tags.mk
index f1eab9b..92eefab 100644
--- a/core/user_tags.mk
+++ b/core/user_tags.mk
@@ -61,7 +61,6 @@ GRANDFATHERED_USER_MODULES += \
bluetoothd \
bmgr \
bootanimation \
- bouncycastle \
brcm_patchram_plus \
bugreport \
cfassembler \
@@ -73,15 +72,11 @@ GRANDFATHERED_USER_MODULES += \
com.android.phone.common \
commons-compress-1.0 \
copybit.qsd8k \
- core \
- core-junit \
coverage \
cpufeatures \
- create_test_dmtrace \
cts \
CtsAppSecurityTests \
cts-dalvik-buildutil \
- dalvikvm \
dasm \
dbus-daemon \
ddmlib \
@@ -89,17 +84,12 @@ GRANDFATHERED_USER_MODULES += \
ddmuilib \
debuggerd \
descGen \
- dexdeps \
- dexdump \
- dexlist \
- dexopt \
dexpreopt \
dex-tools \
dhcpcd \
dhcpcd.conf \
dhcpcd-run-hooks \
dictTest \
- dmtracedump \
dnsmasq \
draw9patch \
droiddoc \
@@ -108,8 +98,6 @@ GRANDFATHERED_USER_MODULES += \
dump_regions \
dumpstate \
dumpsys \
- dvz \
- dx \
dx-tests \
easymock \
edify \
@@ -125,7 +113,6 @@ GRANDFATHERED_USER_MODULES += \
etc1tool \
eventanalyzer \
exc_dump \
- ext \
fastboot \
framework \
FrameworkCoreHostTests \
@@ -147,7 +134,6 @@ GRANDFATHERED_USER_MODULES += \
hierarchyviewer \
hist_trace \
hosttestlib \
- hprof-conv \
icudata \
idegen \
ime \
@@ -159,8 +145,6 @@ GRANDFATHERED_USER_MODULES += \
iself \
isprelinked \
jarjar \
- jasmin \
- jasmin.jar \
javax.obex \
jcommon-1.0.12 \
jdiff \
@@ -208,17 +192,14 @@ GRANDFATHERED_USER_MODULES += \
libcamerastub \
libc_common \
libc_nomalloc \
- libcrypto \
libctest \
libcutils \
libdb \
libdbus \
- libdex \
libdiskconfig \
libdl \
libdrm1 \
libdrm1_jni \
- libdvm \
libebl \
libebl_arm \
libebl_sh \
@@ -231,7 +212,6 @@ GRANDFATHERED_USER_MODULES += \
libESR_Shared \
libETC1 \
libexif \
- libexpat \
libext \
libfdlibm \
libfdlibm-host \
@@ -248,12 +228,8 @@ GRANDFATHERED_USER_MODULES += \
libhardware \
libhardware_legacy \
libhost \
- libicui18n \
- libicuuc \
libiprouteutil \
libiptc \
- libjavacore \
- libjavacore-host \
libjnigraphics \
libjni_latinime \
libjni_pinyinime \
@@ -271,7 +247,6 @@ GRANDFATHERED_USER_MODULES += \
libminzip \
libmtdutils \
libmusicbundle \
- libnativehelper \
libneo_cgi \
libneo_cs \
libneo_util \
@@ -307,7 +282,6 @@ GRANDFATHERED_USER_MODULES += \
libspeex \
libsqlite \
libsqlite3_android \
- libsqlite_jni \
libSR_AcousticModels \
libSR_AcousticState \
libSR_AudioIn \
@@ -321,7 +295,6 @@ GRANDFATHERED_USER_MODULES += \
libSR_Semproc \
libSR_Session \
libSR_Vocabulary \
- libssl \
libstagefright \
libstagefright_aacdec \
libstagefright_aacenc \
@@ -376,7 +349,6 @@ GRANDFATHERED_USER_MODULES += \
libwpa_client \
libwrapsim \
libxml2 \
- libz \
libzipfile \
lights.kraken \
lights.qsd8k \
@@ -470,7 +442,6 @@ GRANDFATHERED_USER_MODULES += \
soslim \
spec-progress \
sqlite3 \
- sqlite-jdbc \
stack_dump \
stringtemplate \
surfaceflinger \
diff --git a/target/product/core.mk b/target/product/core.mk
index 8ee073a..188d8fd 100644
--- a/target/product/core.mk
+++ b/target/product/core.mk
@@ -23,7 +23,36 @@ PRODUCT_PROPERTY_OVERRIDES := \
ro.config.alarm_alert=Alarm_Classic.ogg
PRODUCT_PACKAGES := \
+ bouncycastle \
+ core \
+ core-junit \
+ create_test_dmtrace \
+ dalvikvm \
+ dexdeps \
+ dexdump \
+ dexlist \
+ dexopt \
+ dmtracedump \
+ dvz \
+ dx \
+ ext \
framework-res \
+ hprof-conv \
+ icu.dat \
+ jasmin \
+ jasmin.jar \
+ libcrypto \
+ libdex \
+ libdvm \
+ libexpat \
+ libicui18n \
+ libicuuc \
+ libjavacore \
+ libnativehelper \
+ libsqlite_jni \
+ libssl \
+ libz \
+ sqlite-jdbc \
Browser \
CarHomeLauncher \
Contacts \
@@ -43,3 +72,18 @@ PRODUCT_PACKAGES := \
PackageInstaller \
DefaultContainerService \
Bugreport
+
+# force WITH_HOST_DALVIK on userdebug and user builds.
+# TODO: this is redundant with a similar clause in build/core/main.mk.
+ifneq (,$(filter userdebug user,$(TARGET_BUILD_VARIANT)))
+ WITH_HOST_DALVIK := true
+endif
+
+# host-only dependencies
+ifeq ($(WITH_HOST_DALVIK),true)
+ PRODUCT_PACKAGES += \
+ bouncycastle-hostdex \
+ core-hostdex \
+ libjavacore-host
+endif
+