Loading core/main.mk +8 −6 Original line number Diff line number Diff line Loading @@ -235,14 +235,16 @@ ifneq (,$(user_variant)) enable_target_debugging := endif # TODO: Remove this and the corresponding block in # config/product_config.make once host-based Dalvik preoptimization is # working. # 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 ($(HOST_OS)-$(WITH_DEXPREOPT_buildbot),linux-true) ifeq ($(user_variant),user) ifeq ($(HOST_OS),linux) WITH_DEXPREOPT := true endif endif endif # Disallow mock locations by default for user builds ADDITIONAL_DEFAULT_PROPERTIES += ro.allow.mock.location=0 Loading core/product_config.mk +0 −9 Original line number Diff line number Diff line Loading @@ -124,15 +124,6 @@ ifdef product_goals default_goal_substitution := tests-build-target endif # Hack to make the linux build servers use dexpreopt (emulator-based # preoptimization). Most engineers don't use this type of target # ("make PRODUCT-blah-user"), so this should only tend to happen when # using buildbot. # TODO: Remove this once host Dalvik preoptimization is working. ifeq ($(TARGET_BUILD_VARIANT),user) WITH_DEXPREOPT_buildbot := true endif # Replace the PRODUCT-* goal with the build goal that it refers to. # Note that this will ensure that it appears in the same relative # position, in case it matters. Loading Loading
core/main.mk +8 −6 Original line number Diff line number Diff line Loading @@ -235,14 +235,16 @@ ifneq (,$(user_variant)) enable_target_debugging := endif # TODO: Remove this and the corresponding block in # config/product_config.make once host-based Dalvik preoptimization is # working. # 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 ($(HOST_OS)-$(WITH_DEXPREOPT_buildbot),linux-true) ifeq ($(user_variant),user) ifeq ($(HOST_OS),linux) WITH_DEXPREOPT := true endif endif endif # Disallow mock locations by default for user builds ADDITIONAL_DEFAULT_PROPERTIES += ro.allow.mock.location=0 Loading
core/product_config.mk +0 −9 Original line number Diff line number Diff line Loading @@ -124,15 +124,6 @@ ifdef product_goals default_goal_substitution := tests-build-target endif # Hack to make the linux build servers use dexpreopt (emulator-based # preoptimization). Most engineers don't use this type of target # ("make PRODUCT-blah-user"), so this should only tend to happen when # using buildbot. # TODO: Remove this once host Dalvik preoptimization is working. ifeq ($(TARGET_BUILD_VARIANT),user) WITH_DEXPREOPT_buildbot := true endif # Replace the PRODUCT-* goal with the build goal that it refers to. # Note that this will ensure that it appears in the same relative # position, in case it matters. Loading