Home | History | Annotate | Download | only in statsdapp
      1 # Copyright (C) 2017 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 
     15 LOCAL_PATH:= $(call my-dir)
     16 
     17 include $(CLEAR_VARS)
     18 
     19 LOCAL_PACKAGE_NAME := CtsStatsdApp
     20 LOCAL_PRIVATE_PLATFORM_APIS := true
     21 
     22 # don't include this package in any target
     23 LOCAL_MODULE_TAGS := optional
     24 # and when built explicitly put it in the data partition
     25 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
     26 
     27 LOCAL_SRC_FILES := \
     28     $(call all-java-files-under, src)
     29 
     30 LOCAL_JAVA_LIBRARIES := android.test.runner.stubs cts-junit org.apache.http.legacy
     31 
     32 LOCAL_PRIVILEGED_MODULE := true
     33 
     34 LOCAL_STATIC_JAVA_LIBRARIES := \
     35     ctstestrunner \
     36     compatibility-device-util \
     37     androidx.legacy_legacy-support-v4 \
     38     legacy-android-test \
     39     android-support-test \
     40     statsdprotolite
     41 
     42 # tag this module as a cts test artifact
     43 LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
     44 
     45 include $(BUILD_CTS_PACKAGE)
     46