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 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20prebuilt_usr_share { 21 name: "tz_version_prebuilt", 22 src: "tz_version", 23 filename_from_src: true, 24 sub_dir: "zoneinfo", 25} 26 27// A host version of the tz_version module for use by 28// hostdex rules. 29 30prebuilt_usr_share_host { 31 name: "tz_version_host", 32 src: "tz_version", 33 filename_from_src: true, 34 sub_dir: "zoneinfo", 35 target: { 36 darwin: { 37 enabled: false, 38 }, 39 }, 40} 41 42prebuilt_root_host { 43 name: "tz_version_host_tzdata_apex", 44 src: "tz_version", 45 filename_from_src: true, 46 relative_install_path: "com.android.tzdata/etc/tz", 47} 48