blob: 641d053963c9067be9aac05c861c0c008b8804dc [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)\
Phil Dubach5671dd62009-05-07 10:34:41 -070022 $(call all-java-files-under, core/runner/src)\
Scott Su0bcd3d02009-04-14 23:11:35 -070023 src/android/app/cts/ISecondary.aidl\
Scott Su89a09702009-04-23 22:02:53 -070024 src/android/os/cts/IEmptyService.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
31LOCAL_AAPT_FLAGS = -c xx_YY -c cs -c 32dpi -c 240dpi -c 160dpi
Brett Chabote947cdc2009-07-28 19:32:53 -070032
The Android Open Source Projectf8057102009-03-15 16:47:16 -070033LOCAL_PACKAGE_NAME := CtsTestStubs
34
35include $(BUILD_PACKAGE)
36
37# Build the test APK using its own makefile, and any other CTS-related packages
38include $(call all-makefiles-under,$(LOCAL_PATH))