Home | History | Annotate | Download | only in Email
      1 # Copyright 2008, 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 include $(CLEAR_VARS)
     17 
     18 LOCAL_MODULE_TAGS := optional
     19 
     20 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     21 # EXCHANGE-REMOVE-SECTION-START
     22 LOCAL_SRC_FILES += \
     23     src/com/android/email/service/IEmailService.aidl \
     24     src/com/android/email/service/IEmailServiceCallback.aidl
     25 # EXCHANGE-REMOVE-SECTION-END
     26 
     27 LOCAL_JAVA_STATIC_LIBRARIES := android-common
     28 
     29 LOCAL_PACKAGE_NAME := Email
     30 
     31 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
     32 
     33 # The Emma tool analyzes code coverage when running unit tests on the
     34 # application. This configuration line selects which packages will be analyzed,
     35 # leaving out code which is tested by other means (e.g. static libraries) that
     36 # would dilute the coverage results. These options do not affect regular
     37 # production builds.
     38 LOCAL_EMMA_COVERAGE_FILTER := +com.android.email.*,+org.apache.james.mime4j.* \
     39 	+com.beetstra.jutf7.*,+org.apache.commons.io.*
     40 # EXCHANGE-REMOVE-SECTION-START
     41 LOCAL_EMMA_COVERAGE_FILTER += +com.android.exchange.*
     42 # EXCHANGE-REMOVE-SECTION-END
     43 
     44 include $(BUILD_PACKAGE)
     45 
     46 # additionally, build unit tests in a separate .apk
     47 include $(call all-makefiles-under,$(LOCAL_PATH))
     48