OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8476185
)
Force sooner/generic/sim to use camera stub only.
author
Chih-Chung Chang
<chihchung@google.com>
Mon, 10 May 2010 07:04:40 +0000
(15:04 +0800)
committer
Chih-Chung Chang
<chihchung@google.com>
Mon, 10 May 2010 07:04:40 +0000
(15:04 +0800)
Change-Id: Ie3251e3801cd09b3f373bbd4afb5fda82a0c5818
camera/libcameraservice/Android.mk
patch
|
blob
|
history
diff --git
a/camera/libcameraservice/Android.mk
b/camera/libcameraservice/Android.mk
index
624b23a
..
a0d6ee1
100644
(file)
--- 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