1// An example application that uses the reference 2// offlinelocationtimezoneprovider impl. 3package { 4 default_applicable_licenses: ["Android-Apache-2.0"], 5} 6 7android_app { 8 name: "OfflineLocationTimeZoneProviderService", 9 manifest: "AndroidManifest.xml", 10 certificate: "platform", 11 privileged: true, 12 sdk_version: "system_31", 13 java_resource_dirs: ["resources/"], 14 java_resources: [":tzs2.dat-resources"], 15 srcs: [ 16 "src/main/java/**/*.java", 17 ], 18 libs: [ 19 "androidx.annotation_annotation", 20 ], 21 static_libs: [ 22 "guava", 23 "offlinelocationtimezoneprovider", 24 ], 25 required: [ 26 "privapp-permissions-com.android.timezone.location.provider", 27 ], 28 optimize: { 29 proguard_flags_files: ["proguard.txt"], 30 }, 31} 32 33prebuilt_etc { 34 name: "privapp-permissions-com.android.timezone.location.provider", 35 src: "privapp-permissions-com.android.timezone.location.provider.xml", 36 sub_dir: "permissions", 37 filename_from_src: true, 38} 39