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