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 = "common", 26 srcs = [ 27 "FileChannelConvertible.java", 28 "FileConvertible.java", 29 "FileStorageUnavailableException.java", 30 "GcParam.java", 31 "InvalidAccountException.java", 32 "LazyInitializable.java", 33 "LimitExceededException.java", 34 "Lock.java", 35 "LockScope.java", 36 "MalformedUriException.java", 37 "ReleasableResource.java", 38 "Sizable.java", 39 "Syncable.java", 40 "UnsupportedFileStorageOperation.java", 41 ], 42 deps = [ 43 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:exponential_backoff_iterator", 44 "@com_google_guava_guava", 45 "@com_google_errorprone_error_prone_annotations", 46 "@com_google_code_findbugs_jsr305", 47 # NOTE: dependency of gmscore client lib <internal> 48 ], 49) 50 51android_library( 52 name = "fragment", 53 srcs = [ 54 "Fragment.java", 55 "ParamComputer.java", 56 ], 57 deps = [ 58 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:charsets", 59 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:preconditions", 60 "@com_google_errorprone_error_prone_annotations", 61 "@com_google_code_findbugs_jsr305", 62 # NOTE: dependency of gmscore client lib <internal> 63 ], 64) 65