blob: 0c8f71fbb39671266e75aea868e720992aca1113 [file] [log] [blame]
The Android Open Source Projectf8057102009-03-15 16:47:16 -07001# Copyright (C) 2008 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)
16include $(CLEAR_VARS)
17
Phil Dubach231bd252009-04-20 17:57:22 -070018LOCAL_MODULE_TAGS := tests
The Android Open Source Projectf8057102009-03-15 16:47:16 -070019
Scott Su0bcd3d02009-04-14 23:11:35 -070020LOCAL_SRC_FILES := $(call all-java-files-under, src)\
Stephen Hines4aeee062011-02-24 18:30:30 -080021 $(call all-renderscript-files-under, src)\
Scott Su0bcd3d02009-04-14 23:11:35 -070022 src/android/app/cts/ISecondary.aidl\
Kenny Rootfd41eda2013-08-30 14:32:57 -070023 src/android/os/cts/IEmptyService.aidl\
24 src/android/security/cts/activity/ISecureRandomService.aidl
The Android Open Source Projectf8057102009-03-15 16:47:16 -070025
26LOCAL_JAVA_LIBRARIES := android.test.runner
27
Brian Muramatsu8c005b32010-07-07 16:43:01 -070028LOCAL_JNI_SHARED_LIBRARIES := libcts_jni
29
Dianne Hackbornc6dd74e2009-11-01 21:18:44 -080030# Resource unit tests use a private locale and some densities
Dianne Hackborn63d85b52012-03-09 13:18:36 -080031LOCAL_AAPT_FLAGS = -c xx_YY -c cs -c small -c normal -c large -c xlarge \
32 -c 320dpi -c 240dpi -c 160dpi -c 32dpi \
Narayan Kamathe80d5b02014-02-03 11:36:14 +000033 -c kok,kok_IN,kok_419,kok_419_VARIANT,kok_Knda_419,kok_Knda_419_VARIANT,kok_VARIANT,kok_Knda \
Dianne Hackborn49a978a2011-11-11 18:19:25 -080034 --preferred-configurations 320dpi --preferred-configurations 240dpi \
35 --preferred-configurations 160dpi --preferred-configurations 32dpi
Brett Chabote947cdc2009-07-28 19:32:53 -070036
The Android Open Source Projectf8057102009-03-15 16:47:16 -070037LOCAL_PACKAGE_NAME := CtsTestStubs
38
Stuart Scotta132af62013-11-07 10:30:32 -080039LOCAL_STATIC_JAVA_LIBRARIES := ctsdeviceutil ctstestserver ctstestrunner
Brian Muramatsu471beda2012-03-05 18:46:33 -080040
Brian Carlstromcb711272012-06-16 23:32:47 -070041LOCAL_DEX_PREOPT := false
42
The Android Open Source Projectf8057102009-03-15 16:47:16 -070043include $(BUILD_PACKAGE)
44
45# Build the test APK using its own makefile, and any other CTS-related packages
46include $(call all-makefiles-under,$(LOCAL_PATH))