For emulator builds preopt system apps even if doing eng build
Following change disabled preopt for system apps when doing eng build:
4df565786a
Build: Only preopt boot images in eng builds
As a middle way between full preopt/high performance/long builds,
and no preopt/low performance/fast turnaround, preopt only the
boot image in eng builds.
I4a2692f3ce84823cd40c6b7d672fd73257739ef8
This works well for devices, but first boot on emulator takes 10+mins.
Bypass the change by forcing preopt inside the BoardConfig.
Change-Id: I58d100cd65d2a09b644a90d91261102aab31fcbb
This commit is contained in:
parent
f69e48b30b
commit
dcef8d3470
target/board
generic
generic_arm64
generic_mips
generic_mips64
generic_x86
generic_x86_64
generic_x86_arm
|
@ -35,6 +35,7 @@ USE_CAMERA_STUB := true
|
|||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY := false
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ USE_CAMERA_STUB := true
|
|||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY := false
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ USE_CAMERA_STUB := true
|
|||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY := false
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ USE_CAMERA_STUB := true
|
|||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY := false
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ USE_CAMERA_STUB := true
|
|||
# of an SDK AVD. Note that this operation only works on Linux for now
|
||||
ifeq ($(HOST_OS),linux)
|
||||
WITH_DEXPREOPT ?= true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY ?= false
|
||||
endif
|
||||
|
||||
# Build OpenGLES emulation host and guest libraries
|
||||
|
|
|
@ -28,6 +28,7 @@ USE_CAMERA_STUB := true
|
|||
# of an SDK AVD. Note that this operation only works on Linux for now
|
||||
ifeq ($(HOST_OS),linux)
|
||||
WITH_DEXPREOPT ?= true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY ?= false
|
||||
endif
|
||||
|
||||
# Build OpenGLES emulation host and guest libraries
|
||||
|
|
|
@ -39,6 +39,7 @@ USE_CAMERA_STUB := true
|
|||
ifeq ($(HOST_OS),linux)
|
||||
ifeq ($(WITH_DEXPREOPT),)
|
||||
WITH_DEXPREOPT := true
|
||||
WITH_DEXPREOPT_BOOT_IMG_ONLY := false
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue