blob: 6a8dfe8b5d0a52220f67d6efb8c26d1b73e8724a [file] [log] [blame]
Vishnu Nair8248b7c2018-08-01 10:13:36 -07001#
2# Copyright (C) 2018 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#
16
17LOCAL_PATH := $(call my-dir)
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := flickerlib
21LOCAL_MODULE_TAGS := tests optional
22# sign this with platform cert, so this test is allowed to call private platform apis
23LOCAL_CERTIFICATE := platform
24LOCAL_PRIVATE_PLATFORM_APIS := true
25LOCAL_SRC_FILES := $(call all-java-files-under, src)
26LOCAL_STATIC_JAVA_LIBRARIES := \
27 ub-janktesthelper \
28 cts-amwm-util \
29 platformprotosnano \
30 layersprotosnano \
31 truth-prebuilt \
32 sysui-helper \
33 launcher-helper-lib \
34
35include $(BUILD_STATIC_JAVA_LIBRARY)
36
37include $(CLEAR_VARS)
38LOCAL_MODULE := flickerautomationhelperlib
39LOCAL_SDK_VERSION := current
40LOCAL_SRC_FILES := src/com/android/server/wm/flicker/AutomationUtils.java \
41 src/com/android/server/wm/flicker/WindowUtils.java
42LOCAL_STATIC_JAVA_LIBRARIES := sysui-helper \
43 launcher-helper-lib \
44 compatibility-device-util
45
46include $(BUILD_STATIC_JAVA_LIBRARY)
47
48include $(call all-makefiles-under,$(LOCAL_PATH))