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 15prebuilt_usr_share { 16 name: "tzdata", 17 src: "tzdata", 18 sub_dir: "zoneinfo", 19} 20 21// A host version of the tzdata module for use by 22// hostdex rules. 23 24// Simulate /system 25prebuilt_usr_share_host { 26 name: "tzdata_host", 27 src: "tzdata", 28 filename_from_src: true, 29 sub_dir: "zoneinfo", 30 target: { 31 darwin: { 32 enabled: false, 33 }, 34 }, 35} 36 37// Module definition producing a tzdata prebuilt file in 38// /system/etc/tzdata_module/etc/tz for standalone ART testing purposes. 39// This is a temporary change needed until the ART Buildbot and Golem both 40// fully support the Runtime APEX (see b/121117762). This module should never 41// be shipped by default (i.e. should never be part of `PRODUCT_PACKAGE`.) 42 43// TODO(b/121117762, b/129332183): Remove this module definition when 44// the ART Buildbot and Golem have full support for the Time Zone Data APEX. 45prebuilt_etc { 46 name: "tzdata-art-test-tzdata", 47 src: "tzdata", 48 filename_from_src: true, 49 sub_dir: "tzdata_module/etc/tz", 50} 51