Mark White | 9ee1866 | 2023-08-07 11:18:09 +0000 | [diff] [blame^] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_base_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_base_license"], |
| 8 | } |
| 9 | |
| 10 | //location sources that will populate the new module |
| 11 | filegroup { |
| 12 | name: "framework-location-nonupdatable-sources", |
| 13 | srcs: [ |
| 14 | "placeholder_java/android/location/Placeholder.java", |
| 15 | ], |
| 16 | } |
| 17 | |
| 18 | java_sdk_library { |
| 19 | name: "framework-location", |
| 20 | srcs: [ |
| 21 | ":framework-location-nonupdatable-sources", |
| 22 | ], |
| 23 | defaults: ["framework-non-updatable-unbundled-defaults"], |
| 24 | permitted_packages: [ |
| 25 | "android.location", |
| 26 | "com.android.internal.location", |
| 27 | ], |
| 28 | libs: [ |
| 29 | "app-compat-annotations", |
| 30 | "unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage |
| 31 | ], |
| 32 | hidden_api_packages: [ |
| 33 | "com.android.internal.location", |
| 34 | ], |
| 35 | aidl: { |
| 36 | include_dirs: [ |
| 37 | "frameworks/base/location/java", |
| 38 | "frameworks/base/core/java", |
| 39 | ], |
| 40 | }, |
| 41 | } |