Home | History | Annotate | Download | only in runner
      1 # Copyright (C) 2009 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 ifeq ($(BUILD_CTSCORE_PACKAGE),)
     18     $(error BUILD_CTSCORE_PACKAGE must be defined)
     19 endif
     20 
     21 include $(CLEAR_VARS)
     22 
     23 # include this package in the tests target for continuous testing
     24 LOCAL_MODULE_TAGS := tests
     25 
     26 LOCAL_PACKAGE_NAME := android.core.tests.runner
     27 
     28 LOCAL_STATIC_JAVA_LIBRARIES := cts-test-runner
     29 
     30 LOCAL_JAVA_LANGUAGE_VERSION := 1.8
     31 
     32 include $(BUILD_CTSCORE_PACKAGE)
     33 
     34 #==========================================================
     35 # Build the core runner.
     36 #==========================================================
     37 
     38 # Build library
     39 include $(CLEAR_VARS)
     40 
     41 LOCAL_MODULE_TAGS := optional
     42 LOCAL_SRC_FILES := $(call all-java-files-under,src)
     43 LOCAL_MODULE := cts-core-test-runner
     44 LOCAL_STATIC_JAVA_LIBRARIES := \
     45     compatibility-device-util \
     46     android-support-test \
     47     android.test.runner \
     48     vogarexpect \
     49     testng
     50 
     51 LOCAL_JAVA_LANGUAGE_VERSION := 1.8
     52 
     53 include $(BUILD_JAVA_LIBRARY)
     54 
     55 #==========================================================
     56 # Build the run listener
     57 #==========================================================
     58 
     59 # Build library
     60 include $(CLEAR_VARS)
     61 
     62 LOCAL_MODULE_TAGS := optional
     63 LOCAL_SRC_FILES := $(call all-java-files-under,src/com/android/cts/runner)
     64 LOCAL_MODULE := cts-test-runner
     65 LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
     66 
     67 include $(BUILD_JAVA_LIBRARY)
     68