Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 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 | |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | LOCAL_SRC_FILES:= \ |
| 19 | main.cpp \ |
Igor Murashkin | 634a515 | 2013-02-20 17:15:11 -0800 | [diff] [blame] | 20 | ProCameraTests.cpp \ |
Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 21 | VendorTagDescriptorTests.cpp |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 22 | |
| 23 | LOCAL_SHARED_LIBRARIES := \ |
| 24 | libutils \ |
| 25 | libcutils \ |
| 26 | libstlport \ |
| 27 | libcamera_metadata \ |
| 28 | libcamera_client \ |
| 29 | libgui \ |
| 30 | libsync \ |
| 31 | libui \ |
Igor Murashkin | 5376573 | 2013-02-20 17:41:57 -0800 | [diff] [blame] | 32 | libdl \ |
| 33 | libbinder |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 34 | |
| 35 | LOCAL_STATIC_LIBRARIES := \ |
| 36 | libgtest |
| 37 | |
| 38 | LOCAL_C_INCLUDES += \ |
| 39 | bionic \ |
| 40 | bionic/libstdc++/include \ |
| 41 | external/gtest/include \ |
| 42 | external/stlport/stlport \ |
| 43 | system/media/camera/include \ |
Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 44 | system/media/private/camera/include \ |
| 45 | system/media/camera/tests \ |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 46 | frameworks/av/services/camera/libcameraservice \ |
| 47 | frameworks/av/include/camera \ |
| 48 | frameworks/native/include \ |
| 49 | |
| 50 | LOCAL_CFLAGS += -Wall -Wextra |
| 51 | |
| 52 | LOCAL_MODULE:= camera_client_test |
| 53 | LOCAL_MODULE_TAGS := tests |
| 54 | |
Yu Shan Emily Lau | 41f37e7 | 2013-04-12 14:52:52 -0700 | [diff] [blame] | 55 | include $(BUILD_NATIVE_TEST) |