diff options
author | Mathias Agopian <mathias@google.com> | 2010-07-14 17:59:35 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-07-14 17:59:35 -0700 |
commit | 65ab47156e1c7dfcd8cc4266253a5ff30219e7f0 (patch) | |
tree | da088916c7cadadcddf47467f20cc8b0b6ff7f41 /services/camera/libcameraservice/Android.mk | |
parent | 98fe12aba55e8b8bb14b23c4c3cdba9a99a9753c (diff) | |
download | frameworks_av-65ab47156e1c7dfcd8cc4266253a5ff30219e7f0.zip frameworks_av-65ab47156e1c7dfcd8cc4266253a5ff30219e7f0.tar.gz frameworks_av-65ab47156e1c7dfcd8cc4266253a5ff30219e7f0.tar.bz2 |
move native services under services/
moved surfaceflinger, audioflinger, cameraservice
all native services should now reside in this location.
Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
Diffstat (limited to 'services/camera/libcameraservice/Android.mk')
-rw-r--r-- | services/camera/libcameraservice/Android.mk | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/Android.mk b/services/camera/libcameraservice/Android.mk new file mode 100644 index 0000000..87975af --- /dev/null +++ b/services/camera/libcameraservice/Android.mk @@ -0,0 +1,66 @@ +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),) + USE_CAMERA_STUB:=false +endif + +ifeq ($(USE_CAMERA_STUB),true) +# +# libcamerastub +# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + CameraHardwareStub.cpp \ + FakeCamera.cpp + +LOCAL_MODULE:= libcamerastub + +ifeq ($(TARGET_SIMULATOR),true) +LOCAL_CFLAGS += -DSINGLE_PROCESS +endif + +LOCAL_SHARED_LIBRARIES:= libui + +include $(BUILD_STATIC_LIBRARY) +endif # USE_CAMERA_STUB + +# +# libcameraservice +# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + CameraService.cpp + +LOCAL_SHARED_LIBRARIES:= \ + libui \ + libutils \ + libbinder \ + libcutils \ + libmedia \ + libcamera_client \ + libsurfaceflinger_client + +LOCAL_MODULE:= libcameraservice + +ifeq ($(TARGET_SIMULATOR),true) +LOCAL_CFLAGS += -DSINGLE_PROCESS +endif + +ifeq ($(USE_CAMERA_STUB), true) +LOCAL_STATIC_LIBRARIES += libcamerastub +else +LOCAL_SHARED_LIBRARIES += libcamera +endif + +include $(BUILD_SHARED_LIBRARY) |