blob: 2366174a10f1cfb338a79c8d87cbdd8a53ca1719 [file] [log] [blame]
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -08001#
2# Copyright (C) 2008 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH := $(call my-dir)
17include $(CLEAR_VARS)
18
Jean-Baptiste Queru85964c62010-01-05 16:27:27 -080019LOCAL_MODULE_TAGS := optional
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080020
Bjorn Bringertdeefe072010-10-08 16:32:54 +010021LOCAL_STATIC_JAVA_LIBRARIES := guava \
Andy McFadden93e0bbb2011-07-06 15:18:22 -070022 android-common \
23 calendar-common
Fabrice Di Meglio25e5cde2010-03-17 16:04:00 -070024
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080025LOCAL_SRC_FILES := $(call all-java-files-under,src)
Jeff Hamilton25b0f0e2010-05-25 22:14:41 -050026LOCAL_SRC_FILES += \
27 src/com/android/providers/calendar/EventLogTags.logtags
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080028
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080029LOCAL_PACKAGE_NAME := CalendarProvider
Anton Hansson0f1dc4b2018-02-22 18:07:01 +000030LOCAL_PRIVATE_PLATFORM_APIS := true
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080031
Christopher Tate935d2d32013-05-10 14:11:46 -070032LOCAL_PRIVILEGED_MODULE := true
33
Sebastien Hertz23af0ab2016-04-06 18:28:31 +020034# The Jacoco tool analyzes code coverage when running unit tests on the
Guang Zhu82e83a92010-07-29 10:50:01 -070035# application. This configuration line selects which packages will be analyzed,
36# leaving out code which is tested by other means (e.g. static libraries) that
37# would dilute the coverage results. These options do not affect regular
38# production builds.
Sebastien Hertz23af0ab2016-04-06 18:28:31 +020039LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.providers.calendar.*
Guang Zhu82e83a92010-07-29 10:50:01 -070040
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080041include $(BUILD_PACKAGE)
42
43# Use the following include to make our test apk.
44include $(call all-makefiles-under,$(LOCAL_PATH))