diff options
author | 2010-05-10 15:04:40 +0800 | |
---|---|---|
committer | 2010-05-10 15:04:40 +0800 | |
commit | 2ff1971b68e723d79a5d701028c33f8ed28fa1ea (patch) | |
tree | 40243a4bf95b5bfe4f7f264691cba165c15fe081 | |
parent | 8476185a96406a92703384d03a37025776595f31 (diff) |
Force sooner/generic/sim to use camera stub only.
Change-Id: Ie3251e3801cd09b3f373bbd4afb5fda82a0c5818
-rw-r--r-- | camera/libcameraservice/Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/camera/libcameraservice/Android.mk b/camera/libcameraservice/Android.mk index 624b23a193..a0d6ee15de 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 |