blob: 4e8239b562089d05b812ab1e2fb727f9df6ac928 [file] [log] [blame]
The Android Open Source Project96c5af42009-03-03 19:32:22 -08001# 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
15LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
17
Jean-Baptiste Querub5a7afa2010-01-05 11:09:51 -080018LOCAL_MODULE_TAGS := optional
19
The Android Open Source Project96c5af42009-03-03 19:32:22 -080020LOCAL_SRC_FILES := $(call all-java-files-under, src)
Makoto Onuki91237e92010-02-02 15:06:52 -080021# EXCHANGE-REMOVE-SECTION-START
Andrew Stadlerdd462212009-06-23 13:53:08 -070022LOCAL_SRC_FILES += \
Makoto Onukibb9b5162010-01-29 10:25:43 -080023 src/com/android/email/service/IEmailService.aidl \
24 src/com/android/email/service/IEmailServiceCallback.aidl
Makoto Onuki91237e92010-02-02 15:06:52 -080025# EXCHANGE-REMOVE-SECTION-END
Andrew Stadler17250422009-07-07 09:39:11 -070026
Doug Zongkerf44a40c2010-02-08 13:04:03 -080027LOCAL_JAVA_STATIC_LIBRARIES := android-common
The Android Open Source Project96c5af42009-03-03 19:32:22 -080028
29LOCAL_PACKAGE_NAME := Email
30
Makoto Onuki20f09c12010-03-02 14:03:08 -080031LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
32
Guang Zhu16fe2072010-06-14 17:36:44 -070033# 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.
38LOCAL_EMMA_COVERAGE_FILTER := +com.android.email.*,+org.apache.james.mime4j.* \
39 +com.beetstra.jutf7.*,+org.apache.commons.io.*
40# EXCHANGE-REMOVE-SECTION-START
41LOCAL_EMMA_COVERAGE_FILTER += +com.android.exchange.*
42# EXCHANGE-REMOVE-SECTION-END
43
The Android Open Source Project96c5af42009-03-03 19:32:22 -080044include $(BUILD_PACKAGE)
45
46# additionally, build unit tests in a separate .apk
47include $(call all-makefiles-under,$(LOCAL_PATH))