summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-05-10 15:04:40 +0800
committerChih-Chung Chang <chihchung@google.com>2010-05-10 15:04:40 +0800
commitdc3e26071399789c5966b9cd67180437f44eb9dd (patch)
tree8e5b5706608ced1d4704657dd342989c5a3cfaeb /camera
parent7768892c82f3b037c19c608c6d8309938fd5ca21 (diff)
downloadframeworks_base-dc3e26071399789c5966b9cd67180437f44eb9dd.zip
frameworks_base-dc3e26071399789c5966b9cd67180437f44eb9dd.tar.gz
frameworks_base-dc3e26071399789c5966b9cd67180437f44eb9dd.tar.bz2
Force sooner/generic/sim to use camera stub only.
Change-Id: Ie3251e3801cd09b3f373bbd4afb5fda82a0c5818
Diffstat (limited to 'camera')
-rw-r--r--camera/libcameraservice/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/camera/libcameraservice/Android.mk b/camera/libcameraservice/Android.mk
index 624b23a..a0d6ee1 100644
--- a/camera/libcameraservice/Android.mk
+++ b/camera/libcameraservice/Android.mk
@@ -2,6 +2,11 @@ LOCAL_PATH:= $(call my-dir)
# Set USE_CAMERA_STUB if you don't want to use the hardware camera.
+# force these builds to use camera stub only
+ifneq ($(filter sooner generic sim,$(TARGET_DEVICE)),)
+ USE_CAMERA_STUB:=true
+endif
+
ifeq ($(USE_CAMERA_STUB),true)
INCLUDE_CAMERA_STUB:=true
INCLUDE_CAMERA_HARDWARE:=false