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# CtsCameraUtils package 18 19include $(CLEAR_VARS) 20 21LOCAL_STATIC_JAVA_LIBRARIES := compatibility-device-util \ 22 mockito-target-minus-junit4 \ 23 android-ex-camera2 24 25LOCAL_SRC_FILES := \ 26 $(call all-java-files-under, utils/src) \ 27 $(call all-renderscript-files-under, utils/src) 28 29LOCAL_MODULE := CtsCameraUtils 30 31LOCAL_SDK_VERSION := current 32-include cts/error_prone_rules_tests.mk 33include $(BUILD_STATIC_JAVA_LIBRARY) 34 35# CtsCameraTestCases package 36 37include $(CLEAR_VARS) 38 39LOCAL_MODULE_TAGS := tests 40 41# Include both the 32 and 64 bit versions 42LOCAL_MULTILIB := both 43 44LOCAL_STATIC_JAVA_LIBRARIES := compatibility-device-util \ 45 ctstestrunner \ 46 mockito-target-minus-junit4 \ 47 android-ex-camera2 \ 48 CtsCameraUtils 49 50LOCAL_JNI_SHARED_LIBRARIES := \ 51 libctscamera2_jni \ 52 libnativehelper_compat_libc++ 53 54LOCAL_NDK_STL_VARIANT := c++_shared 55 56LOCAL_SRC_FILES := \ 57 $(call all-java-files-under, src) \ 58 $(call all-renderscript-files-under, src) 59 60# Tag this module as a cts test artifact 61LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 62 63LOCAL_PACKAGE_NAME := CtsCameraTestCases 64 65LOCAL_SDK_VERSION := test_current 66 67LOCAL_JAVA_LIBRARIES := android.test.runner 68 69cts_runtime_hint := 120 70 71include $(BUILD_CTS_PACKAGE) 72 73include $(call all-makefiles-under,$(LOCAL_PATH)) 74