package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_base_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_base_license"], } filegroup { name: "framework-location-sources", srcs: [ "java/**/*.java", "java/**/*.aidl", ], } java_sdk_library { name: "framework-location", srcs: [ ":framework-location-sources", ], defaults: ["framework-non-updatable-unbundled-defaults"], permitted_packages: [ "android.location", "com.android.internal.location", ], libs: [ "android.location.flags-aconfig-java", "app-compat-annotations", "unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage ], aidl: { include_dirs: [ "frameworks/base/location/java", "frameworks/base/core/java", ], }, lint: { baseline_filename: "lint-baseline.xml", warning_checks: [ "FlaggedApi", ], }, } platform_compat_config { name: "framework-location-compat-config", src: ":framework-location", }