Android.mk revision e9d36871b079d0d2c188ee48fbc6f0356f29bc37
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 17LOCAL_PATH := $(call my-dir) 18include $(CLEAR_VARS) 19 20LOCAL_STATIC_JAVA_LIBRARIES := \ 21 android-ex-camera2 \ 22 android-support-v4 \ 23 android-support-test \ 24 guava \ 25 mockito-target \ 26 platform-test-annotations \ 27 legacy-android-test 28 29LOCAL_SRC_FILES := \ 30 $(call all-java-files-under, src) \ 31 $(call all-java-files-under, ../src) \ 32 $(call all-proto-files-under, ../proto) 33 34LOCAL_PROTOC_OPTIMIZE_TYPE := nano 35LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/../proto/ 36LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors 37 38LOCAL_RESOURCE_DIR := \ 39 $(LOCAL_PATH)/res \ 40 $(LOCAL_PATH)/../res \ 41 $(SUPPORT_LIBRARY_ROOT)/compat/res 42 43LOCAL_JAVA_LIBRARIES := \ 44 android.test.runner \ 45 telephony-common 46 47LOCAL_AAPT_FLAGS := \ 48 --auto-add-overlay \ 49 --extra-packages com.android.server.telecom:android.support.compat 50 51LOCAL_JACK_FLAGS := --multi-dex native 52 53LOCAL_PROGUARD_ENABLED := disabled 54 55LOCAL_PACKAGE_NAME := TelecomUnitTests 56LOCAL_CERTIFICATE := platform 57 58LOCAL_MODULE_TAGS := tests 59 60LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.server.telecom.* 61LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.server.telecom.tests.* 62 63include frameworks/base/packages/SettingsLib/common.mk 64 65include $(BUILD_PACKAGE) 66