blob: ff672c736ac4f553d07d386dc1f24bfb346dafa0 [file] [log] [blame]
Neil Fullerb27c4372018-10-29 17:36:55 +00001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Neil Fullercd2a1472019-02-13 09:56:38 +000015// Defaults shared between real and test versions of the APEX.
16apex_defaults {
17 name: "com.android.tzdata-defaults",
Jiyong Parkd0aa58d2020-02-24 18:39:26 +090018 updatable: true,
Nikita Ioffecc7af282020-11-12 16:11:47 +000019 min_sdk_version: "30",
Neil Fullercd2a1472019-02-13 09:56:38 +000020
Neil Fullerfda1ec72019-02-13 10:03:56 +000021 // Use a custom AndroidManifest.xml used for API targeting.
22 androidManifest: ":com.android.tzdata-androidManifest",
23
Neil Fullercd2a1472019-02-13 09:56:38 +000024 // Explicit because the defaulting behavior only works for the real
25 // module.
Jooyung Hand3b9e9c2019-11-20 17:55:24 +090026 file_contexts: ":com.android.tzdata-file_contexts",
Neil Fullercd2a1472019-02-13 09:56:38 +000027
28 // Shared signing information.
Neil Fullerb27c4372018-10-29 17:36:55 +000029 key: "apex.tzdata.key",
Jiyong Parkd6c51fe2019-02-11 11:01:06 +090030 certificate: ":com.android.tzdata.certificate",
Neil Fullerb27c4372018-10-29 17:36:55 +000031}
32
Neil Fullerfda1ec72019-02-13 10:03:56 +000033filegroup {
34 name: "com.android.tzdata-androidManifest",
35 srcs: ["AndroidManifest.xml"],
36}
37
Neil Fullerb27c4372018-10-29 17:36:55 +000038apex_key {
39 name: "apex.tzdata.key",
Jiyong Parke86064e2018-11-22 16:30:08 +090040 public_key: "com.android.tzdata.avbpubkey",
41 private_key: "com.android.tzdata.pem",
Neil Fullerb27c4372018-10-29 17:36:55 +000042}
43
Jiyong Parkd6c51fe2019-02-11 11:01:06 +090044android_app_certificate {
45 name: "com.android.tzdata.certificate",
46 certificate: "com.android.tzdata",
47}
48
Neil Fullercd2a1472019-02-13 09:56:38 +000049// The definition for the real (not test) tzdata APEX.
50apex {
51 name: "com.android.tzdata",
52 defaults: ["com.android.tzdata-defaults"],
53 manifest: "manifest.json",
54 prebuilts: [
55 "apex_tz_version",
56 "apex_tzlookup.xml",
Neil Fullerf85e8142019-10-28 17:21:55 +000057 "apex_telephonylookup.xml",
Neil Fullercd2a1472019-02-13 09:56:38 +000058 "apex_tzdata",
59 "apex_icu_tzdata.dat",
60 ],
61}
Neil Fullere18ab532020-11-09 15:26:16 +000062