Herbert Xue | 5d96bb4 | 2023-12-18 11:10:47 +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 | |
| 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | default_applicable_licenses: [ |
| 18 | "frameworks_av_camera_license", |
| 19 | ], |
| 20 | } |
| 21 | |
| 22 | cc_test { |
| 23 | name: "camera_client_test", |
| 24 | srcs: [ |
| 25 | "VendorTagDescriptorTests.cpp", |
| 26 | "CameraBinderTests.cpp", |
| 27 | "CameraZSLTests.cpp", |
| 28 | "CameraCharacteristicsPermission.cpp", |
| 29 | ], |
| 30 | shared_libs: [ |
| 31 | "liblog", |
| 32 | "libutils", |
| 33 | "libcutils", |
| 34 | "libcamera_metadata", |
| 35 | "libcamera_client", |
| 36 | "libgui", |
| 37 | "libsync", |
| 38 | "libui", |
| 39 | "libdl", |
| 40 | "libbinder", |
| 41 | ], |
| 42 | include_dirs: [ |
| 43 | "system/media/private/camera/include", |
| 44 | "system/media/camera/tests", |
| 45 | "frameworks/av/services/camera/libcameraservice", |
| 46 | ], |
| 47 | cflags: [ |
| 48 | "-Wall", |
| 49 | "-Wextra", |
| 50 | "-Werror", |
| 51 | ], |
| 52 | } |