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