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 15 LOCAL_PATH:= $(call my-dir) 16 include $(CLEAR_VARS) 17 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 18 19 LOCAL_SRC_FILES:= \ 20 VendorTagDescriptorTests.cpp \ 21 CameraBinderTests.cpp \ 22 CameraZSLTests.cpp \ 23 CameraCharacteristicsPermission.cpp 24 25 LOCAL_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 37 LOCAL_C_INCLUDES += \ 38 system/media/private/camera/include \ 39 system/media/camera/tests \ 40 frameworks/av/services/camera/libcameraservice \ 41 42 LOCAL_CFLAGS += -Wall -Wextra -Werror 43 44 LOCAL_MODULE:= camera_client_test 45 LOCAL_MODULE_TAGS := tests 46 47 include $(BUILD_NATIVE_TEST) 48