• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2008 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#
16LOCAL_PATH:= $(call my-dir)
17
18include $(CLEAR_VARS)
19
20LOCAL_MODULE_TAGS := tests
21
22LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
23
24# Tag this module as a cts test artifact
25LOCAL_COMPATIBILITY_SUITE := cts
26
27# Include both the 32 and 64 bit versions
28LOCAL_MULTILIB := both
29
30LOCAL_JAVA_LIBRARIES := telephony-common
31
32LOCAL_STATIC_JAVA_LIBRARIES := \
33    ctstestrunner guava android-ex-camera2
34
35LOCAL_JNI_SHARED_LIBRARIES := libctspermission_jni libnativehelper_compat_libc++
36
37LOCAL_SRC_FILES := $(call all-java-files-under, src)
38
39LOCAL_PACKAGE_NAME := CtsPermissionTestCases
40
41# uncomment when b/13249777 is fixed
42#LOCAL_SDK_VERSION := current
43LOCAL_JAVA_LIBRARIES += android.test.runner
44
45include $(BUILD_CTS_PACKAGE)
46
47include $(call all-makefiles-under,$(LOCAL_PATH))
48