khmel@google.com 017a97825e Add initial GamePerformance test.
This collect first set of metrics, related to game performance. In this
test post buffer time, ready time and latency time is collected.
See GraphicBufferMetrics.java for explanation.

Test: Manually on different devices.
Bug: 116859584
Change-Id: I85eae038363860287b796c593b5192f74231cb72
(cherry picked from commit 20045a43bcf8c8bbbbbb677b4f5d49ebe4ab63f6)
2019-02-14 23:53:35 +00:00

40 lines
1.1 KiB
Makefile

# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# Don't include this package in any target
LOCAL_MODULE_TAGS := tests
LOCAL_DEX_PREOPT := false
LOCAL_PROGUARD_ENABLED := disabled
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
LOCAL_JAVA_LIBRARIES := android.test.base android.test.runner
LOCAL_PACKAGE_NAME := GamePerformance
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)