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

Commit 54d4f2c8 authored by Nolen Johnson's avatar Nolen Johnson
Browse files

build: handheld_product: Allow devices to not have cameras

Change-Id: I6feb538153b13cd1825f37ee7a45ebb046b12ec0
parent e2bc33ee
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/media_product.mk)
PRODUCT_PACKAGES += \
    Browser2 \
    Calendar \
    Camera2 \
    Contacts \
    DeskClock \
    Gallery2 \
@@ -35,6 +34,11 @@ PRODUCT_PACKAGES += \
    SettingsIntelligence \
    frameworks-base-overlays

ifneq ($(PRODUCT_NO_CAMERA),true)
PRODUCT_PACKAGES += \
    Camera2
endif

ifeq ($(LINEAGE_BUILD),)
PRODUCT_PACKAGES += \
    LatinIME