forked from openkylin/platform_build
am ce7d5023: Turn dalvikvm host builds on by default when linux is the host OS.
Merge commit 'ce7d5023c3df4c16ae395d64d51dd8345e40a39e' into gingerbread-plus-aosp * commit 'ce7d5023c3df4c16ae395d64d51dd8345e40a39e': Turn dalvikvm host builds on by default when linux is the host OS.
This commit is contained in:
commit
77070aa757
|
@ -119,6 +119,11 @@ else
|
||||||
HOST_PREBUILT_TAG := $(HOST_OS)-$(HOST_ARCH)
|
HOST_PREBUILT_TAG := $(HOST_OS)-$(HOST_ARCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Build dalvikvm on hosts that support it
|
||||||
|
ifeq ($(HOST_OS),linux)
|
||||||
|
WITH_HOST_DALVIK := true
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Set up configuration for target machine.
|
# Set up configuration for target machine.
|
||||||
|
|
|
@ -225,11 +225,6 @@ ifneq (,$(user_variant))
|
||||||
WITH_DEXPREOPT := true
|
WITH_DEXPREOPT := true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# TODO: Always set WITH_HOST_DALVIK (for user builds) once it works on OSX.
|
|
||||||
ifeq ($(HOST_OS),linux)
|
|
||||||
WITH_HOST_DALVIK := true
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Disallow mock locations by default for user builds
|
# Disallow mock locations by default for user builds
|
||||||
ADDITIONAL_DEFAULT_PROPERTIES += ro.allow.mock.location=0
|
ADDITIONAL_DEFAULT_PROPERTIES += ro.allow.mock.location=0
|
||||||
|
|
||||||
|
|
|
@ -74,14 +74,6 @@ PRODUCT_PACKAGES := \
|
||||||
DefaultContainerService \
|
DefaultContainerService \
|
||||||
Bugreport
|
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)))
|
|
||||||
ifeq ($(HOST_OS),linux)
|
|
||||||
WITH_HOST_DALVIK := true
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# host-only dependencies
|
# host-only dependencies
|
||||||
ifeq ($(WITH_HOST_DALVIK),true)
|
ifeq ($(WITH_HOST_DALVIK),true)
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
Loading…
Reference in New Issue