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 15LOCAL_PATH:= $(call my-dir) 16 17include $(CLEAR_VARS) 18 19LOCAL_MODULE_TAGS := tests 20 21LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 22 23# Tag this module as a cts test artifact 24LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 25 26LOCAL_JAVA_LIBRARIES := bouncycastle 27 28LOCAL_STATIC_JAVA_LIBRARIES := \ 29 android-support-test \ 30 core-tests-support \ 31 compatibility-device-util \ 32 ctstestrunner \ 33 guava \ 34 junit \ 35 cts-security-test-support-library \ 36 platformprotosnano 37 38LOCAL_SRC_FILES := $(call all-java-files-under, src) 39 40LOCAL_JACK_FLAGS := --multi-dex native 41 42LOCAL_PACKAGE_NAME := CtsKeystoreTestCases 43 44# Can't use public/test API only because some tests use hidden API 45# (e.g. device-provided Bouncy Castle). 46# 47# The comment below is not particularly accurate, but it's copied from other 48# tests that do the same thing, so anyone grepping for it will find it here. 49# 50# Uncomment when b/13282254 is fixed. 51# LOCAL_SDK_VERSION := current 52LOCAL_PRIVATE_PLATFORM_APIS := true 53LOCAL_JAVA_LIBRARIES += android.test.runner.stubs 54LOCAL_JAVA_LIBRARIES += android.test.base.stubs 55 56include $(BUILD_CTS_PACKAGE) 57 58include $(call all-makefiles-under,$(LOCAL_PATH)) 59