Files
frameworks_base/location/lib/Android.bp
Soonil Nagarkar 44efeaef4d Add RequiresApi annotations to LocationProvider
Ensures that lint tests can run properly from client code which uses
this library.

Bug: 130188099
Test: manual
Change-Id: I1d3c8e486c38633d73c405f2c6f9b350ef1e6946
2019-04-15 18:45:22 -07:00

28 lines
967 B
Plaintext

//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
java_sdk_library {
name: "com.android.location.provider",
srcs: ["java/**/*.java"],
libs: [
"androidx.annotation_annotation",
],
api_packages: ["com.android.location.provider"],
srcs_lib: "framework",
srcs_lib_whitelist_dirs: ["location/java"],
srcs_lib_whitelist_pkgs: ["com.android.internal.location"],
}