summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-10-29 22:28:05 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 18:00:02 +0100
commitabad783728ff1beb13ad4ced6970103a9a0c4536 (patch)
tree4eb0ed284b3ab3d689d7979dc58c3e5867503653
parent324579cd4e2e31cfbcc3693eda12e4c5ad57f491 (diff)
downloadbuild-abad783728ff1beb13ad4ced6970103a9a0c4536.zip
build-abad783728ff1beb13ad4ced6970103a9a0c4536.tar.gz
build-abad783728ff1beb13ad4ced6970103a9a0c4536.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> Conflicts: target/product/generic_no_telephony.mk
-rw-r--r--target/product/generic_no_telephony.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk
index 0f9935a..5cee873 100644
--- a/target/product/generic_no_telephony.mk
+++ b/target/product/generic_no_telephony.mk
@@ -20,8 +20,6 @@
PRODUCT_PACKAGES := \
Bluetooth \
BluetoothMidiService \
- Camera2 \
- Gallery2 \
Music \
MusicFX \
OneTimeInitializer \
@@ -29,6 +27,16 @@ PRODUCT_PACKAGES := \
SystemUI \
WallpaperCropper
+ifeq ($(USE_OPENGL_RENDERER),true)
+PRODUCT_PACKAGES += \
+ Gallery2 \
+ Camera2
+else
+PRODUCT_PACKAGES += \
+ Gallery \
+ LegacyCamera
+endif
+
PRODUCT_PACKAGES += \
clatd \
clatd.conf \