1# Copyright (C) 2015 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
15LOCAL_PATH:= $(call my-dir)
16
17# CtsCameraTestCases package
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE_TAGS := tests
22
23# Include both the 32 and 64 bit versions
24LOCAL_MULTILIB := both
25
26LOCAL_STATIC_JAVA_LIBRARIES := compatibility-device-util-axt \
27	ctstestrunner-axt \
28	mockito-target-minus-junit4 \
29	android-ex-camera2 \
30	CtsCameraUtils \
31	truth-prebuilt \
32	androidx.heifwriter_heifwriter \
33	androidx.test.rules
34
35LOCAL_JNI_SHARED_LIBRARIES := \
36	libctscamera2_jni \
37	libnativehelper_compat_libc++ \
38
39LOCAL_NDK_STL_VARIANT := c++_shared
40
41LOCAL_SRC_FILES := \
42	$(call all-java-files-under, src) \
43	$(call all-renderscript-files-under, src)
44
45# Tag this module as a cts test artifact
46LOCAL_COMPATIBILITY_SUITE := cts general-tests
47
48LOCAL_PACKAGE_NAME := CtsCameraTestCases
49LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
50LOCAL_LICENSE_CONDITIONS := notice
51
52LOCAL_SDK_VERSION := test_current
53
54LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs
55
56cts_runtime_hint := 120
57
58include $(BUILD_CTS_PACKAGE)
59
60include $(call all-makefiles-under,$(LOCAL_PATH))
61