1*2fd832c6SAndroid Build Coastguard Worker// Copyright (C) 2018 The Android Open Source Project 2*2fd832c6SAndroid Build Coastguard Worker// 3*2fd832c6SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*2fd832c6SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*2fd832c6SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*2fd832c6SAndroid Build Coastguard Worker// 7*2fd832c6SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*2fd832c6SAndroid Build Coastguard Worker// 9*2fd832c6SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*2fd832c6SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*2fd832c6SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*2fd832c6SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*2fd832c6SAndroid Build Coastguard Worker// limitations under the License. 14*2fd832c6SAndroid Build Coastguard Worker 15*2fd832c6SAndroid Build Coastguard Workerpackage { 16*2fd832c6SAndroid Build Coastguard Worker // http://go/android-license-faq 17*2fd832c6SAndroid Build Coastguard Worker default_applicable_licenses: ["Android-Apache-2.0"], 18*2fd832c6SAndroid Build Coastguard Worker} 19*2fd832c6SAndroid Build Coastguard Worker 20*2fd832c6SAndroid Build Coastguard Worker// Defaults shared between real and test versions of the APEX. 21*2fd832c6SAndroid Build Coastguard Workerapex_defaults { 22*2fd832c6SAndroid Build Coastguard Worker name: "com.android.tzdata-defaults", 23*2fd832c6SAndroid Build Coastguard Worker updatable: true, 24*2fd832c6SAndroid Build Coastguard Worker min_sdk_version: "33", 25*2fd832c6SAndroid Build Coastguard Worker 26*2fd832c6SAndroid Build Coastguard Worker // Use a custom AndroidManifest.xml used for API targeting. 27*2fd832c6SAndroid Build Coastguard Worker androidManifest: ":com.android.tzdata-androidManifest", 28*2fd832c6SAndroid Build Coastguard Worker 29*2fd832c6SAndroid Build Coastguard Worker // Explicit because the defaulting behavior only works for the real 30*2fd832c6SAndroid Build Coastguard Worker // module. 31*2fd832c6SAndroid Build Coastguard Worker file_contexts: ":com.android.tzdata-file_contexts", 32*2fd832c6SAndroid Build Coastguard Worker 33*2fd832c6SAndroid Build Coastguard Worker // Shared signing information. 34*2fd832c6SAndroid Build Coastguard Worker key: "apex.tzdata.key", 35*2fd832c6SAndroid Build Coastguard Worker certificate: ":com.android.tzdata.certificate", 36*2fd832c6SAndroid Build Coastguard Worker} 37*2fd832c6SAndroid Build Coastguard Worker 38*2fd832c6SAndroid Build Coastguard Workerfilegroup { 39*2fd832c6SAndroid Build Coastguard Worker name: "com.android.tzdata-androidManifest", 40*2fd832c6SAndroid Build Coastguard Worker srcs: ["AndroidManifest.xml"], 41*2fd832c6SAndroid Build Coastguard Worker} 42*2fd832c6SAndroid Build Coastguard Worker 43*2fd832c6SAndroid Build Coastguard Workerapex_key { 44*2fd832c6SAndroid Build Coastguard Worker name: "apex.tzdata.key", 45*2fd832c6SAndroid Build Coastguard Worker public_key: "com.android.tzdata.avbpubkey", 46*2fd832c6SAndroid Build Coastguard Worker private_key: "com.android.tzdata.pem", 47*2fd832c6SAndroid Build Coastguard Worker} 48*2fd832c6SAndroid Build Coastguard Worker 49*2fd832c6SAndroid Build Coastguard Workerandroid_app_certificate { 50*2fd832c6SAndroid Build Coastguard Worker name: "com.android.tzdata.certificate", 51*2fd832c6SAndroid Build Coastguard Worker certificate: "com.android.tzdata", 52*2fd832c6SAndroid Build Coastguard Worker} 53*2fd832c6SAndroid Build Coastguard Worker 54*2fd832c6SAndroid Build Coastguard Workermodule_exports { 55*2fd832c6SAndroid Build Coastguard Worker name: "tzdata-module-test-exports", 56*2fd832c6SAndroid Build Coastguard Worker java_libs: [ 57*2fd832c6SAndroid Build Coastguard Worker "tzdata-testing", 58*2fd832c6SAndroid Build Coastguard Worker ], 59*2fd832c6SAndroid Build Coastguard Worker} 60*2fd832c6SAndroid Build Coastguard Worker 61*2fd832c6SAndroid Build Coastguard Worker// The definition for the real (not test) tzdata APEX. 62*2fd832c6SAndroid Build Coastguard Workerapex { 63*2fd832c6SAndroid Build Coastguard Worker name: "com.android.tzdata", 64*2fd832c6SAndroid Build Coastguard Worker defaults: ["com.android.tzdata-defaults"], 65*2fd832c6SAndroid Build Coastguard Worker manifest: "manifest.json", 66*2fd832c6SAndroid Build Coastguard Worker prebuilts: [ 67*2fd832c6SAndroid Build Coastguard Worker "apex_tz_version", 68*2fd832c6SAndroid Build Coastguard Worker "apex_tzdata", 69*2fd832c6SAndroid Build Coastguard Worker "apex_tz_version_ver8", 70*2fd832c6SAndroid Build Coastguard Worker "apex_tzlookup.xml_ver8", 71*2fd832c6SAndroid Build Coastguard Worker "apex_telephonylookup.xml_ver8", 72*2fd832c6SAndroid Build Coastguard Worker "apex_tzdata_ver8", 73*2fd832c6SAndroid Build Coastguard Worker "apex_icu_res_files_ver8", 74*2fd832c6SAndroid Build Coastguard Worker ], 75*2fd832c6SAndroid Build Coastguard Worker} 76