opengapps/aosp_build

AndroidForWork isn't added to GAPPS_VARIANT super

Closed this issue · 1 comments

acr92 commented
ifeq ($(call get-allowed-api-levels),23)
PRODUCT_PACKAGES += AndroidForWork
endif

get-allowed-api-levels will return 1 2 3 4 .. 23, not just 23. This should be a filter call.

ifeq (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23,23)
$(info EQ)
else
$(info NEQ)
endif

ifeq (23, $(filter 23, 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23))
$(info EQ)
else
$(info NEQ)
endif

all:
    @:
$ make
NEQ
EQ