Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c43aaea authored by Ying Wang's avatar Ying Wang Committed by Gerrit Code Review
Browse files

Merge "Remove the redundant DISABLE_DEXPREOPT"

parents 4f9d6f57 c6848b39
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -71,5 +71,4 @@ endif
else
$(warning No DALVIK_VM_LIB, disable dexpreopt.)
WITH_DEXPREOPT := false
DISABLE_DEXPREOPT := true
endif  # DALVIK_VM_LIB is defined.
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ ifneq (,$(user_variant))
  # Turn on Dalvik preoptimization for user builds, but only if not
  # explicitly disabled and the build is running on Linux (since host
  # Dalvik isn't built for non-Linux hosts).
  ifneq (true,$(DISABLE_DEXPREOPT))
  ifeq (,$(WITH_DEXPREOPT))
    ifeq ($(user_variant),user)
      ifeq ($(HOST_OS),linux)
        WITH_DEXPREOPT := true
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ BOARD_MALLOC_ALIGNMENT := 16
# Enable dex-preoptimization to speed up the first boot sequence
# of an SDK AVD. Note that this operation only works on Linux for now
ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT := true
WITH_DEXPREOPT ?= true
endif

# Build OpenGLES emulation host and guest libraries
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ BOARD_MALLOC_ALIGNMENT := 16
# Enable dex-preoptimization to speed up the first boot sequence
# of an SDK AVD. Note that this operation only works on Linux for now
ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT := true
WITH_DEXPREOPT ?= true
endif

# disable the emulator
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
#

TARGET_ARCH=x86
DISABLE_DEXPREOPT := true
TARGET_COMPRESS_MODULE_SYMBOLS := false
TARGET_NO_RECOVERY := true
TARGET_HARDWARE_3D := false
@@ -32,6 +31,7 @@ TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
# Reserve 265M  for the system partition
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456

WITH_DEXPREOPT := false

# The eth0 device should be started with dhcp on boot.
# Useful for emulators that don't provide a wifi connection.