blob: f5394378a00ece53ab97712ffeafcf36a43ee6cd [file] [log] [blame]
Tatsuhisa Yamaguchi8d808052015-07-10 18:33:22 +09001# 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE_TAGS := optional
20
21LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
22
23LOCAL_SRC_FILES := $(call all-java-files-under, src)
24
Aaron Holdenc05310c2015-10-21 16:07:05 -070025LOCAL_PACKAGE_NAME := CtsLeanbackJankApp
Anton Hansson1cb8cb52018-02-22 14:33:32 +000026LOCAL_SDK_VERSION := current
Aaron Holdenc05310c2015-10-21 16:07:05 -070027
Stuart Scott2ff78ae2016-02-18 19:25:52 -080028# Tag this module as a cts test artifact
nickrosef1efbc62017-07-05 12:38:06 -070029LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
Tatsuhisa Yamaguchi8d808052015-07-10 18:33:22 +090030
31LOCAL_RESOURCE_DIR := \
32 $(TOP)/frameworks/support/v17/leanback/res \
33 $(TOP)/frameworks/support/v7/recyclerview/res \
34 $(LOCAL_PATH)/res
35
36LOCAL_STATIC_JAVA_LIBRARIES := \
Aaron Holden92591762016-12-07 18:52:10 -080037 compatibility-device-util \
Tatsuhisa Yamaguchi8d808052015-07-10 18:33:22 +090038 ctstestrunner \
39 ub-uiautomator \
40 ub-janktesthelper \
41 android-support-v4 \
42 android-support-v7-recyclerview \
43 android-support-v17-leanback \
44 glide
45
46LOCAL_AAPT_FLAGS := \
47 --auto-add-overlay \
48 --extra-packages android.support.v17.leanback \
49 --extra-packages android.support.v7.recyclerview
50
Bryan Cassell0112ed22017-05-09 15:24:59 -070051LOCAL_PROGUARD_FLAG_FILES := proguard.flags
52
Tatsuhisa Yamaguchi8d808052015-07-10 18:33:22 +090053include $(BUILD_CTS_SUPPORT_PACKAGE)