| ##### |
| # DEXOPT |
| # |
| |
| ifeq ($(HOST_OS),linux) |
| # Enable dexpreopt to speed boot time on userdebug |
| ifeq ($(TARGET_BUILD_VARIANT),userdebug) |
| ifeq ($(WITH_DEXPREOPT),) |
| WITH_DEXPREOPT := true |
| WITH_DEXPREOPT_BOOT_IMG_ONLY := true # For Android O |
| WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true # For Android O_MR1 |
| endif |
| endif |
| |
| # Enable dexpreopt for everything on user builds |
| ifeq ($(TARGET_BUILD_VARIANT),user) |
| ifeq ($(WITH_DEXPREOPT),) |
| WITH_DEXPREOPT := true |
| endif |
| endif |
| |
| # Disable dexpreopt for prebuilts |
| # DONT_DEXPREOPT_PREBUILTS := true |
| endif |
| |
| # |
| # |
| ##### |
| |
| ##### |
| # Factory |
| # |
| |
| # Set to true if building for factory (non release build) |
| TARGET_FACTORY_BUILD := false |
| |
| # |
| # |
| ##### |
| |
| #### |
| # Sepolicy |
| # |
| |
| include device/shift/sepolicy/common/sepolicy.mk |
| |
| # |
| #### |