• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
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//
16
17package {
18    default_applicable_licenses: [
19        "packages_providers_CalendarProvider_license",
20    ],
21}
22
23// Added automatically by a large-scale-change
24// See: http://go/android-license-faq
25license {
26    name: "packages_providers_CalendarProvider_license",
27    visibility: [":__subpackages__"],
28    license_kinds: [
29        "SPDX-license-identifier-Apache-2.0",
30    ],
31    license_text: [
32        "NOTICE",
33    ],
34}
35
36android_app {
37    name: "CalendarProvider",
38    defaults: ["platform_app_defaults"],
39    static_libs: [
40        "guava",
41        "android-common",
42        "calendar-common",
43    ],
44    srcs: [
45        "src/**/*.java",
46        "src/com/android/providers/calendar/EventLogTags.logtags",
47    ],
48    libs: ["app-compat-annotations"],
49    platform_apis: true,
50    privileged: true,
51
52    // The Jacoco tool analyzes code coverage when running unit tests on the
53    // application. This configuration line selects which packages will be analyzed,
54    // leaving out code which is tested by other means (e.g. static libraries) that
55    // would dilute the coverage results. These options do not affect regular
56    // production builds.
57    jacoco: {
58        include_filter: ["com.android.providers.calendar.*"],
59    },
60}
61
62platform_compat_config {
63    name: "calendar-provider-compat-config",
64    src: ":CalendarProvider",
65}
66