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