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 = "file", 26 srcs = [ 27 "Behavior.java", 28 "MonitorInputStream.java", 29 "MonitorOutputStream.java", 30 "OpenContext.java", 31 "Opener.java", 32 "SynchronousFileStorage.java", 33 ], 34 deps = [ 35 "//java/com/google/android/libraries/mobiledatadownload/file/common", 36 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:forwarding_stream", 37 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:lite_transform_fragments", 38 "//java/com/google/android/libraries/mobiledatadownload/file/common/internal:preconditions", 39 "//java/com/google/android/libraries/mobiledatadownload/file/spi", 40 "@com_google_code_findbugs_jsr305", 41 "@com_google_errorprone_error_prone_annotations", 42 "@com_google_guava_guava", 43 ], 44) 45