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) 171d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 181d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_SRC_FILES:= \ 191d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin main.cpp \ 20634a51509ee50475f3e9f8ccf897e90fc72ded31Igor Murashkin ProCameraTests.cpp \ 21d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk VendorTagDescriptorTests.cpp 221d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 231d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_SHARED_LIBRARIES := \ 241d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libutils \ 251d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libcutils \ 261d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libstlport \ 271d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libcamera_metadata \ 281d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libcamera_client \ 291d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libgui \ 301d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libsync \ 311d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libui \ 325376573eff55f370f041889618c9a7a9e1894615Igor Murashkin libdl \ 335376573eff55f370f041889618c9a7a9e1894615Igor Murashkin libbinder 341d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 351d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_STATIC_LIBRARIES := \ 361d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin libgtest 371d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 381d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_C_INCLUDES += \ 391d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin bionic \ 401d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin bionic/libstdc++/include \ 411d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin external/gtest/include \ 421d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin external/stlport/stlport \ 431d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin system/media/camera/include \ 44d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk system/media/private/camera/include \ 45d1176ef16677b6c94fb893edb6a864cdccc0b190Ruben Brunk system/media/camera/tests \ 461d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin frameworks/av/services/camera/libcameraservice \ 471d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin frameworks/av/include/camera \ 481d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin frameworks/native/include \ 491d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 501d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_CFLAGS += -Wall -Wextra 511d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 521d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_MODULE:= camera_client_test 531d88023e1de6b9f370eb4be944dd9c4480d01f11Igor MurashkinLOCAL_MODULE_TAGS := tests 541d88023e1de6b9f370eb4be944dd9c4480d01f11Igor Murashkin 5541f37e7c29b5cc3bbd9ee60ea73c4d857d2ad717Yu Shan Emily Lauinclude $(BUILD_NATIVE_TEST) 56