1// Copyright (C) 2018 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 16package { 17 default_applicable_licenses: [ 18 "packages_providers_DownloadProvider_license", 19 ], 20} 21 22// Added automatically by a large-scale-change 23// See: http://go/android-license-faq 24license { 25 name: "packages_providers_DownloadProvider_license", 26 visibility: [":__subpackages__"], 27 license_kinds: [ 28 "SPDX-license-identifier-Apache-2.0", 29 ], 30 license_text: [ 31 "NOTICE", 32 ], 33} 34 35android_app { 36 name: "DownloadProvider", 37 defaults: ["platform_app_defaults"], 38 39 manifest: "AndroidManifest.xml", 40 41 srcs: [ 42 "src/**/*.java", 43 ], 44 45 resource_dirs: [ 46 "res", 47 ], 48 49 platform_apis: true, 50 51 certificate: "media", 52 53 privileged: true, 54 55 static_libs: ["guava"], 56 57 jacoco: { 58 include_filter: ["com.android.providers.downloads.*"], 59 }, 60} 61 62filegroup { 63 name: "download_provider-files", 64 65 srcs: [ 66 "src/com/android/providers/downloads/Constants.java", 67 "src/com/android/providers/downloads/DownloadDrmHelper.java", 68 "src/com/android/providers/downloads/OpenHelper.java", 69 "src/com/android/providers/downloads/RawDocumentsHelper.java", 70 "src/com/android/providers/downloads/MediaStoreDownloadsHelper.java", 71 ], 72} 73