1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_test {
22    name: "VtsHalCameraServiceV2_0TargetTest",
23    defaults: ["VtsHalTargetTestDefaults"],
24
25    srcs: ["VtsHalCameraServiceV2_0TargetTest.cpp"],
26    static_libs: [
27        "android.hardware.camera.common@1.0-helper",
28        "android.frameworks.cameraservice.device@2.0",
29        "android.frameworks.cameraservice.device@2.1",
30        "android.frameworks.cameraservice.service@2.0",
31        "android.frameworks.cameraservice.service@2.1",
32        "android.frameworks.cameraservice.service@2.2",
33        "android.frameworks.cameraservice.common@2.0",
34        "libfmq",
35    ],
36    shared_libs: [
37        "libcamera_metadata",
38        "libmediandk",
39        "libnativewindow",
40        "liblog",
41    ],
42
43    cflags: [
44        // TODO: Currently vts tests can't be vendor:true tests if they use VtsHalHidlTargetTestBase
45        //       (http://b/123320603). This is needed for libmediandk's llndk only api.
46        "-D__ANDROID_VNDK__",
47    ],
48    test_suites: ["vts"],
49}
50