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// Module definition producing a tzlookup.xml prebuilt file in
24// /system/etc/tzdata_module/etc/tz for standalone ART testing purposes.
25// This is a temporary change needed until the ART Buildbot and Golem both
26// fully support the Runtime APEX (see b/121117762). This module should
27// never be shipped by default (i.e. should never be part of
28// `PRODUCT_PACKAGE`.)
29
30// TODO(b/121117762, b/129332183): Remove this module definition when
31// the ART Buildbot and Golem have full support for the Time Zone Data APEX.
32prebuilt_etc {
33    name: "tzlookup.xml-art-test-tzdata",
34    src: "tzlookup.xml",
35    filename_from_src: true,
36    sub_dir: "tzdata_module/etc/tz",
37}
38
39// Module definition producing a telephonylookup.xml prebuilt file in
40// /system/etc/tzdata_module/etc/tz for standalone ART testing purposes.
41// This is a temporary change needed until the ART Buildbot and Golem both
42// fully support the Runtime APEX (see b/121117762). This module should
43// never be shipped by default (i.e. should never be part of
44// `PRODUCT_PACKAGE`.)
45
46// TODO(b/121117762, b/129332183): Remove this module definition when
47// the ART Buildbot and Golem have full support for the Time Zone Data APEX.
48prebuilt_etc {
49    name: "telephonylookup.xml-art-test-tzdata",
50    src: "telephonylookup.xml",
51    filename_from_src: true,
52    sub_dir: "tzdata_module/etc/tz",
53}
54