1caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# Copyright (C) 2011 The Android Open Source Project 2caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# 3caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# Licensed under the Apache License, Version 2.0 (the "License"); 4caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# you may not use this file except in compliance with the License. 5caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# You may obtain a copy of the License at 6caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# 7caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# http://www.apache.org/licenses/LICENSE-2.0 8caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# 9caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# Unless required by applicable law or agreed to in writing, software 10caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# distributed under the License is distributed on an "AS IS" BASIS, 11caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# See the License for the specific language governing permissions and 13caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# limitations under the License. 14caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 15caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_PATH := $(call my-dir) 16caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotinclude $(CLEAR_VARS) 17caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 18caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_MODULE_TAGS := tests 19caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 20caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_SRC_FILES := $(call all-java-files-under, src) 21caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 22caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_JAVA_LIBRARIES := android.test.runner 23caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 24caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_PACKAGE_NAME := SystemUITests 25caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 26caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# sign this with platform cert, so this test is allowed to inject key events into 27caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot# UI it doesn't own. This is necessary to allow screenshots to be taken 28caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett ChabotLOCAL_CERTIFICATE := platform 29caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 30caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotinclude $(BUILD_PACKAGE) 31