xref: /aosp_15_r20/system/timezone/testing/data/test3/apex/Android.bp (revision 2fd832c65f8b41db7ddb4ac802b9196762fe4888)
1// Copyright (C) 2019 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
15package {
16    // http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20// A test version of apex.tzdata that contains corrupt data.
21// It causes a boot loop on device, for the purposes of testing platform
22// rollback mechanisms.
23// It has a version code that should beat a "real" APEX and enables end-to-end
24// installation testing on devices with the latests real data.
25apex {
26    name: "test3_com.android.tzdata",
27    defaults: ["com.android.tzdata-defaults"],
28    manifest: "manifest.json",
29    prebuilts: [
30        "apex_tz_version_test3",
31        "apex_tzlookup.xml_test3",
32        "apex_telephonylookup.xml_test3",
33        "apex_tzdata_test3",
34        "apex_tz_version_ver8_test3",
35        "apex_tzlookup.xml_ver8_test3",
36        "apex_telephonylookup.xml_ver8_test3",
37        "apex_tzdata_ver8_test3",
38        "apex_icu_res_files_ver8_test3",
39    ],
40
41    // installable: false as we do not want test APEX versions in the system
42    // image.
43    installable: false,
44}
45