1# Copyright 2022 Google LLC 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. 14load("@build_bazel_rules_android//android:rules.bzl", "android_library") 15 16package( 17 default_applicable_licenses = ["//:license"], 18 default_visibility = [ 19 "//visibility:public", 20 ], 21 licenses = ["notice"], 22) 23 24android_library( 25 name = "FileDownloader", 26 srcs = [ 27 "CheckContentChangeRequest.java", 28 "CheckContentChangeResponse.java", 29 "DownloadConstraints.java", 30 "DownloadRequest.java", 31 "FileDownloader.java", 32 "InlineDownloadParams.java", 33 "MultiSchemeFileDownloader.java", 34 "OAuthTokenProvider.java", 35 ], 36 deps = [ 37 "//java/com/google/android/libraries/mobiledatadownload:DownloadException", 38 "//java/com/google/android/libraries/mobiledatadownload:FileSource", 39 "//java/com/google/android/libraries/mobiledatadownload/internal:MddConstants", 40 "//java/com/google/android/libraries/mobiledatadownload/internal/logging:LogUtil", 41 "@androidx_annotation_annotation", 42 "@com_google_auto_value", 43 "@com_google_code_findbugs_jsr305", 44 "@com_google_guava_guava", 45 ], 46) 47 48android_library( 49 name = "Constants", 50 srcs = ["Constants.java"], 51) 52