17c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# Copyright 2008, The Android Open Source Project 27c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# 37c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# Licensed under the Apache License, Version 2.0 (the "License"); 47c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# you may not use this file except in compliance with the License. 57c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# You may obtain a copy of the License at 67c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# 77c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# http://www.apache.org/licenses/LICENSE-2.0 87c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# 97c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# Unless required by applicable law or agreed to in writing, software 107c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# distributed under the License is distributed on an "AS IS" BASIS, 117c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 127c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# See the License for the specific language governing permissions and 137c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# limitations under the License. 147c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 157c6efa13f129dbae5319f0981a430d4662f43354Xia WangLOCAL_PATH:= $(call my-dir) 167c6efa13f129dbae5319f0981a430d4662f43354Xia Wanginclude $(CLEAR_VARS) 177c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 187c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# We only want this apk build for tests. 197c6efa13f129dbae5319f0981a430d4662f43354Xia WangLOCAL_MODULE_TAGS := tests 207c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 217c6efa13f129dbae5319f0981a430d4662f43354Xia WangLOCAL_JAVA_LIBRARIES := android.test.runner 227c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 237c6efa13f129dbae5319f0981a430d4662f43354Xia Wang# Include all test java files. 247c6efa13f129dbae5319f0981a430d4662f43354Xia WangLOCAL_SRC_FILES := $(call all-java-files-under, src) 257c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 267c6efa13f129dbae5319f0981a430d4662f43354Xia WangLOCAL_PACKAGE_NAME := BrowserPowerTests 277c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 287c6efa13f129dbae5319f0981a430d4662f43354Xia Wang#LOCAL_INSTRUMENTATION_FOR := browserpowertest 297c6efa13f129dbae5319f0981a430d4662f43354Xia Wang 307c6efa13f129dbae5319f0981a430d4662f43354Xia Wanginclude $(BUILD_PACKAGE) 31