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 | |
Doug Zongker | f44a40c | 2010-02-08 13:04:03 -0800 | [diff] [blame] | 27 | LOCAL_JAVA_STATIC_LIBRARIES := android-common |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 28 | |
| 29 | LOCAL_PACKAGE_NAME := Email |
| 30 | |
Makoto Onuki | 20f09c1 | 2010-03-02 14:03:08 -0800 | [diff] [blame] | 31 | LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags |
| 32 | |
Guang Zhu | 16fe207 | 2010-06-14 17:36:44 -0700 | [diff] [blame^] | 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 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 44 | include $(BUILD_PACKAGE) |
| 45 | |
| 46 | # additionally, build unit tests in a separate .apk |
| 47 | include $(call all-makefiles-under,$(LOCAL_PATH)) |