Home | History | Annotate | Download | only in tests
      1 #
      2 # Copyright (C) 2013 The Android Open Source Project
      3 #
      4 # Licensed under the Apache License, Version 2.0 (the "License");
      5 # you may not use this file except in compliance with the License.
      6 # You may obtain a copy of the License at
      7 #
      8 #      http://www.apache.org/licenses/LICENSE-2.0
      9 #
     10 # Unless required by applicable law or agreed to in writing, software
     11 # distributed under the License is distributed on an "AS IS" BASIS,
     12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 # See the License for the specific language governing permissions and
     14 # limitations under the License.
     15 #
     16 
     17 LOCAL_PATH := $(call my-dir)
     18 include $(CLEAR_VARS)
     19 
     20 LOCAL_STATIC_JAVA_LIBRARIES := \
     21         android-ex-camera2 \
     22         android-support-v4 \
     23         guava \
     24         mockito-target
     25 
     26 LOCAL_SRC_FILES := \
     27         $(call all-java-files-under, src) \
     28         $(call all-java-files-under, ../src)
     29 
     30 LOCAL_RESOURCE_DIR := \
     31     $(LOCAL_PATH)/res \
     32     $(LOCAL_PATH)/../res
     33 
     34 LOCAL_JAVA_LIBRARIES := \
     35         android.test.runner \
     36         telephony-common
     37 
     38 LOCAL_AAPT_FLAGS := \
     39     --auto-add-overlay \
     40     --extra-packages com.android.server.telecom
     41 
     42 LOCAL_PROGUARD_ENABLED := disabled
     43 
     44 LOCAL_PACKAGE_NAME := TelecomUnitTests
     45 LOCAL_CERTIFICATE := platform
     46 
     47 LOCAL_MODULE_TAGS := tests
     48 
     49 include frameworks/base/packages/SettingsLib/common.mk
     50 
     51 include $(BUILD_PACKAGE)
     52