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

Commit 9e6a9dc1 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Remove unnecessary dependency on updater

Only add updater(a non-AB) dependency if target is explicitly
configured as non-AB(AB_OTA_UPDATER=false). For AB targets, or
SDK targets(which do not set AB_OTA_UPDATER at all), this
dependency is removed.

Test: build sdk_car_arm64-trunk_staging-userdebug
Bug: 380352124
Change-Id: Iaa21cab2e19d4467b0aad356e3a75f06db658a53
parent 91a72b55
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6199,11 +6199,14 @@ endef

built_ota_tools :=


# We can't build static executables when SANITIZE_TARGET=address
ifeq (,$(filter address, $(SANITIZE_TARGET)))
ifeq (false,$(AB_OTA_UPDATER))
built_ota_tools += \
    $(call intermediates-dir-for,EXECUTABLES,updater)/updater
endif
endif

$(BUILT_TARGET_FILES_DIR): PRIVATE_OTA_TOOLS := $(built_ota_tools)