blob: 104fa3e575d6426dbdb8867776fcdc3be4d3778d [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
Makoto Onuki02c0f952010-09-09 12:00:47 -070027LOCAL_STATIC_JAVA_LIBRARIES := android-common
Makoto Onuki697f98a2010-09-09 10:43:18 -070028# Revive this when the app is unbundled.
29# LOCAL_SDK_VERSION := current
The Android Open Source Project96c5af42009-03-03 19:32:22 -080030
31LOCAL_PACKAGE_NAME := Email
32
Ying Wangb38a0432010-09-29 15:22:04 -070033LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Makoto Onuki20f09c12010-03-02 14:03:08 -080034
Guang Zhu16fe2072010-06-14 17:36:44 -070035# The Emma tool analyzes code coverage when running unit tests on the
36# application. This configuration line selects which packages will be analyzed,
37# leaving out code which is tested by other means (e.g. static libraries) that
38# would dilute the coverage results. These options do not affect regular
39# production builds.
40LOCAL_EMMA_COVERAGE_FILTER := +com.android.email.*,+org.apache.james.mime4j.* \
41 +com.beetstra.jutf7.*,+org.apache.commons.io.*
42# EXCHANGE-REMOVE-SECTION-START
43LOCAL_EMMA_COVERAGE_FILTER += +com.android.exchange.*
44# EXCHANGE-REMOVE-SECTION-END
45
The Android Open Source Project96c5af42009-03-03 19:32:22 -080046include $(BUILD_PACKAGE)
47
48# additionally, build unit tests in a separate .apk
49include $(call all-makefiles-under,$(LOCAL_PATH))