1d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# Copyright 2013 The Android Open Source Project
2d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk#
3d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# Licensed under the Apache License, Version 2.0 (the "License");
4d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# you may not use this file except in compliance with the License.
5d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# You may obtain a copy of the License at
6d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk#
7d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk#      http://www.apache.org/licenses/LICENSE-2.0
8d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk#
9d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# Unless required by applicable law or agreed to in writing, software
10d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# distributed under the License is distributed on an "AS IS" BASIS,
11d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# See the License for the specific language governing permissions and
13d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk# limitations under the License.
14d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk
151d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_PATH:= $(call my-dir)
161d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkininclude $(CLEAR_VARS)
170cb2c99f70dec2e4b93b72de9b433f2919c1540eDan AlbertLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
181d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
191d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_SRC_FILES:= \
203450ba7879be6522ea46a56c5e66e5382f5dd5baRuben Brunk	VendorTagDescriptorTests.cpp \
213450ba7879be6522ea46a56c5e66e5382f5dd5baRuben Brunk	CameraBinderTests.cpp
221d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
231d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_SHARED_LIBRARIES := \
241d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libutils \
251d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libcutils \
261d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libcamera_metadata \
271d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libcamera_client \
281d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libgui \
291d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libsync \
301d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	libui \
315376573eff55f370f041889618c9a7a9e1894615Igor Murashkin	libdl \
325376573eff55f370f041889618c9a7a9e1894615Igor Murashkin	libbinder
331d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
341d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_C_INCLUDES += \
351d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	system/media/camera/include \
36d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk	system/media/private/camera/include \
37d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk	system/media/camera/tests \
381d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	frameworks/av/services/camera/libcameraservice \
391d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	frameworks/av/include/camera \
401d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin	frameworks/native/include \
411d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
421d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_CFLAGS += -Wall -Wextra
431d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
441d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_MODULE:= camera_client_test
451d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_MODULE_TAGS := tests
461d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin
4741f37e7c29b5cc3bbd9ee60ea73c4d857d2ad717Yu Shan Emily Lauinclude $(BUILD_NATIVE_TEST)
48