| 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"], |
| } |
| |
| //location sources that will populate the new module |
| filegroup { |
| name: "framework-location-nonupdatable-sources", |
| srcs: [ |
| "placeholder_java/android/location/Placeholder.java", |
| ], |
| } |
| |
| java_sdk_library { |
| name: "framework-location", |
| srcs: [ |
| ":framework-location-nonupdatable-sources", |
| ], |
| defaults: ["framework-non-updatable-unbundled-defaults"], |
| permitted_packages: [ |
| "android.location", |
| "com.android.internal.location", |
| ], |
| libs: [ |
| "app-compat-annotations", |
| "unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage |
| ], |
| hidden_api_packages: [ |
| "com.android.internal.location", |
| ], |
| aidl: { |
| include_dirs: [ |
| "frameworks/base/location/java", |
| "frameworks/base/core/java", |
| ], |
| }, |
| } |