blob: 8bf1efa1039fe982e0634d018d2fa43bd8a348c7 [file] [log] [blame]
Patrice Arrudabc2b4612019-05-13 09:13:07 -07001// 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
15prebuilt_usr_share {
16 name: "tz_version",
17 src: "tz_version",
18 sub_dir: "zoneinfo",
19}
20
21// A host version of the tz_version module for use by
22// hostdex rules.
23
24prebuilt_usr_share_host {
25 name: "tz_version_host",
26 src: "tz_version",
27 filename_from_src: true,
28 sub_dir: "zoneinfo",
29 target: {
30 darwin: {
31 enabled: false,
32 },
33 },
34}
35
36// Module definition producing a tz_version prebuilt file in
Neil Fuller6b84e742019-06-07 14:19:18 +010037// /system/etc/tzdata_module/etc/tz for standalone ART testing purposes.
38// This is a temporary change needed until the ART Buildbot and Golem both fully
Patrice Arrudabc2b4612019-05-13 09:13:07 -070039// support the Runtime APEX (see b/121117762). This module should never
Neil Fuller6b84e742019-06-07 14:19:18 +010040// be shipped by default (i.e. should never be part of `PRODUCT_PACKAGE`.)
Neil Fuller0cb71802019-06-06 16:47:11 +010041
42// TODO(b/121117762, b/129332183): Remove this module definition when
43// the ART Buildbot and Golem have full support for the Time Zone Data APEX.
44prebuilt_etc {
45 name: "tz_version-art-test-tzdata",
46 src: "tz_version",
47 filename_from_src: true,
48 sub_dir: "tzdata_module/etc/tz",
49}