1# Copyright 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
17LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
18
19LOCAL_SRC_FILES:= \
20	VendorTagDescriptorTests.cpp \
21	CameraBinderTests.cpp \
22	CameraZSLTests.cpp \
23	CameraCharacteristicsPermission.cpp
24
25LOCAL_SHARED_LIBRARIES := \
26	liblog \
27	libutils \
28	libcutils \
29	libcamera_metadata \
30	libcamera_client \
31	libgui \
32	libsync \
33	libui \
34	libdl \
35	libbinder
36
37LOCAL_C_INCLUDES += \
38	system/media/private/camera/include \
39	system/media/camera/tests \
40	frameworks/av/services/camera/libcameraservice \
41
42LOCAL_CFLAGS += -Wall -Wextra -Werror
43
44LOCAL_MODULE:= camera_client_test
45LOCAL_MODULE_TAGS := tests
46
47include $(BUILD_NATIVE_TEST)
48