The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 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 | |
Jean-Baptiste Queru | b5a7afa | 2010-01-05 11:09:51 -0800 | [diff] [blame] | 18 | LOCAL_MODULE_TAGS := optional |
| 19 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 20 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 21 | # EXCHANGE-REMOVE-SECTION-START |
Andrew Stadler | dd46221 | 2009-06-23 13:53:08 -0700 | [diff] [blame] | 22 | LOCAL_SRC_FILES += \ |
Makoto Onuki | bb9b516 | 2010-01-29 10:25:43 -0800 | [diff] [blame] | 23 | src/com/android/email/service/IEmailService.aidl \ |
| 24 | src/com/android/email/service/IEmailServiceCallback.aidl |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 25 | # EXCHANGE-REMOVE-SECTION-END |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 26 | |
Makoto Onuki | 02c0f95 | 2010-09-09 12:00:47 -0700 | [diff] [blame] | 27 | LOCAL_STATIC_JAVA_LIBRARIES := android-common |
Makoto Onuki | 697f98a | 2010-09-09 10:43:18 -0700 | [diff] [blame] | 28 | # Revive this when the app is unbundled. |
| 29 | # LOCAL_SDK_VERSION := current |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 30 | |
| 31 | LOCAL_PACKAGE_NAME := Email |
| 32 | |
Ying Wang | b38a043 | 2010-09-29 15:22:04 -0700 | [diff] [blame] | 33 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Makoto Onuki | 20f09c1 | 2010-03-02 14:03:08 -0800 | [diff] [blame] | 34 | |
Guang Zhu | 16fe207 | 2010-06-14 17:36:44 -0700 | [diff] [blame] | 35 | # 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. |
| 40 | LOCAL_EMMA_COVERAGE_FILTER := +com.android.email.*,+org.apache.james.mime4j.* \ |
| 41 | +com.beetstra.jutf7.*,+org.apache.commons.io.* |
| 42 | # EXCHANGE-REMOVE-SECTION-START |
| 43 | LOCAL_EMMA_COVERAGE_FILTER += +com.android.exchange.* |
| 44 | # EXCHANGE-REMOVE-SECTION-END |
| 45 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 46 | include $(BUILD_PACKAGE) |
| 47 | |
| 48 | # additionally, build unit tests in a separate .apk |
| 49 | include $(call all-makefiles-under,$(LOCAL_PATH)) |