blob: e5c163137c19a1e467f5d7732bf516520450f1af [file] [log] [blame]
Ruben Brunkd1176ef2014-02-21 10:51:38 -08001# 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
Igor Murashkin1d880232013-02-20 16:50:13 -080015LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
Dan Albert0cb2c992014-09-08 19:06:54 -070017LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Igor Murashkin1d880232013-02-20 16:50:13 -080018
19LOCAL_SRC_FILES:= \
Ruben Brunk3450ba72015-06-16 11:00:37 -070020 VendorTagDescriptorTests.cpp \
Emilian Peevb12fb5d2017-01-26 13:04:06 -080021 CameraBinderTests.cpp \
Emilian Peeve20c6372018-08-14 18:45:53 +010022 CameraZSLTests.cpp \
23 CameraCharacteristicsPermission.cpp
Igor Murashkin1d880232013-02-20 16:50:13 -080024
25LOCAL_SHARED_LIBRARIES := \
Dimitry Ivanovcdf15732016-02-12 16:41:00 -080026 liblog \
Igor Murashkin1d880232013-02-20 16:50:13 -080027 libutils \
28 libcutils \
Igor Murashkin1d880232013-02-20 16:50:13 -080029 libcamera_metadata \
30 libcamera_client \
31 libgui \
32 libsync \
33 libui \
Igor Murashkin53765732013-02-20 17:41:57 -080034 libdl \
35 libbinder
Igor Murashkin1d880232013-02-20 16:50:13 -080036
Igor Murashkin1d880232013-02-20 16:50:13 -080037LOCAL_C_INCLUDES += \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080038 system/media/private/camera/include \
39 system/media/camera/tests \
Igor Murashkin1d880232013-02-20 16:50:13 -080040 frameworks/av/services/camera/libcameraservice \
Igor Murashkin1d880232013-02-20 16:50:13 -080041
Eino-Ville Talvala02bf0322016-02-18 12:41:10 -080042LOCAL_CFLAGS += -Wall -Wextra -Werror
Igor Murashkin1d880232013-02-20 16:50:13 -080043
44LOCAL_MODULE:= camera_client_test
45LOCAL_MODULE_TAGS := tests
46
Yu Shan Emily Lau41f37e72013-04-12 14:52:52 -070047include $(BUILD_NATIVE_TEST)