summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-10-29 21:28:05 (GMT)
committerPaul Kocialkowski <contact@paulk.fr>2013-10-29 21:28:05 (GMT)
commita4c4b5a0697bab1ac496912eed233f88c10bf5c0 (patch)
tree469a0fe60848c1c9e9343b991c13e3137bede75d
parent6803944b97ccfdfa0cbf931745f4549e82ede100 (diff)
downloadbuild-a4c4b5a0697bab1ac496912eed233f88c10bf5c0.zip
build-a4c4b5a0697bab1ac496912eed233f88c10bf5c0.tar.gz
build-a4c4b5a0697bab1ac496912eed233f88c10bf5c0.tar.bz2
Build Gallery3D only when there is OpenGL support, else fallback on legacy apps
Change-Id: Ib8f1596e73951000e32bcf8bc9a3f0790d3b37f9 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--target/product/generic_no_telephony.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk
index 155b9c3..5185d61 100644
--- a/target/product/generic_no_telephony.mk
+++ b/target/product/generic_no_telephony.mk
@@ -29,7 +29,6 @@ PRODUCT_PACKAGES := \
Email2 \
Exchange2 \
FusedLocation \
- Gallery2 \
InputDevices \
LatinIME \
Launcher2 \
@@ -44,6 +43,15 @@ PRODUCT_PACKAGES := \
hostapd \
wpa_supplicant.conf
+ifeq ($(USE_OPENGL_RENDERER),true)
+PRODUCT_PACKAGES += \
+ Gallery2
+else
+PRODUCT_PACKAGES += \
+ Gallery \
+ LegacyCamera
+endif
+
PRODUCT_PACKAGES += \
audio \
dhcpcd.conf \