forked from openkylin/platform_build
Include dalvik+libcore dependencies in core product definitions.
Also conditionally include host-only dependencies when the host is being built. Change-Id: I0e8c9c1bef5ee60d4c1ce1c158f41b7642f9a8f2
This commit is contained in:
parent
ec5ffbabd3
commit
852f43bd29
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue