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    // A large-scale-change added 'default_applicable_licenses' to import
18    // the below license kinds from "system_timezone_license":
19    //   legacy_notice
20    default_applicable_licenses: ["system_timezone_license"],
21}
22
23// A test version of apex.tzdata that contains corrupt data.
24// It causes a boot loop on device, for the purposes of testing platform
25// rollback mechanisms.
26// It has a version code that should beat a "real" APEX and enables end-to-end
27// installation testing on devices with the latests real data.
28apex {
29    name: "test3_com.android.tzdata",
30    defaults: ["com.android.tzdata-defaults"],
31    manifest: "manifest.json",
32    prebuilts: [
33        "apex_tz_version_test3",
34        "apex_tzlookup.xml_test3",
35        "apex_tzdata_test3",
36        "apex_icu_tzdata.dat_test3",
37    ],
38
39    // installable: false as we do not want test APEX versions in the system
40    // image.
41    installable: false,
42}
43