xref: /aosp_15_r20/system/timezone/output_data/icu_overlay/Android.bp (revision 2fd832c65f8b41db7ddb4ac802b9196762fe4888)
1*2fd832c6SAndroid Build Coastguard Worker// Copyright (C) 2019 The Android Open Source Project
2*2fd832c6SAndroid Build Coastguard Worker//
3*2fd832c6SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*2fd832c6SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*2fd832c6SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*2fd832c6SAndroid Build Coastguard Worker//
7*2fd832c6SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*2fd832c6SAndroid Build Coastguard Worker//
9*2fd832c6SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*2fd832c6SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*2fd832c6SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*2fd832c6SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*2fd832c6SAndroid Build Coastguard Worker// limitations under the License.
14*2fd832c6SAndroid Build Coastguard Worker
15*2fd832c6SAndroid Build Coastguard Workerpackage {
16*2fd832c6SAndroid Build Coastguard Worker    default_applicable_licenses: [
17*2fd832c6SAndroid Build Coastguard Worker        "system_timezone_output_data_icu_overlay_license",
18*2fd832c6SAndroid Build Coastguard Worker    ],
19*2fd832c6SAndroid Build Coastguard Worker}
20*2fd832c6SAndroid Build Coastguard Worker
21*2fd832c6SAndroid Build Coastguard Worker// Added automatically by a large-scale-change that took the approach of
22*2fd832c6SAndroid Build Coastguard Worker// 'apply every license found to every target'. While this makes sure we respect
23*2fd832c6SAndroid Build Coastguard Worker// every license restriction, it may not be entirely correct.
24*2fd832c6SAndroid Build Coastguard Worker//
25*2fd832c6SAndroid Build Coastguard Worker// e.g. GPL in an MIT project might only apply to the contrib/ directory.
26*2fd832c6SAndroid Build Coastguard Worker//
27*2fd832c6SAndroid Build Coastguard Worker// Please consider splitting the single license below into multiple licenses,
28*2fd832c6SAndroid Build Coastguard Worker// taking care not to lose any license_kind information, and overriding the
29*2fd832c6SAndroid Build Coastguard Worker// default license using the 'licenses: [...]' property on targets as needed.
30*2fd832c6SAndroid Build Coastguard Worker//
31*2fd832c6SAndroid Build Coastguard Worker// For unused files, consider creating a 'filegroup' with "//visibility:private"
32*2fd832c6SAndroid Build Coastguard Worker// to attach the license to, and including a comment whether the files may be
33*2fd832c6SAndroid Build Coastguard Worker// used in the current project.
34*2fd832c6SAndroid Build Coastguard Worker// http://go/android-license-faq
35*2fd832c6SAndroid Build Coastguard Workerlicense {
36*2fd832c6SAndroid Build Coastguard Worker    name: "system_timezone_output_data_icu_overlay_license",
37*2fd832c6SAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
38*2fd832c6SAndroid Build Coastguard Worker    license_kinds: [
39*2fd832c6SAndroid Build Coastguard Worker        "SPDX-license-identifier-BSD",
40*2fd832c6SAndroid Build Coastguard Worker        "SPDX-license-identifier-MIT",
41*2fd832c6SAndroid Build Coastguard Worker        "SPDX-license-identifier-Unicode-3.0",
42*2fd832c6SAndroid Build Coastguard Worker    ],
43*2fd832c6SAndroid Build Coastguard Worker    license_text: [
44*2fd832c6SAndroid Build Coastguard Worker        "LICENSE",
45*2fd832c6SAndroid Build Coastguard Worker    ],
46*2fd832c6SAndroid Build Coastguard Worker}
47*2fd832c6SAndroid Build Coastguard Worker
48*2fd832c6SAndroid Build Coastguard Workerprebuilt_root_host {
49*2fd832c6SAndroid Build Coastguard Worker    name: "tzdata_icu_res_files_host_prebuilts",
50*2fd832c6SAndroid Build Coastguard Worker    srcs: [
51*2fd832c6SAndroid Build Coastguard Worker        "metaZones.res",
52*2fd832c6SAndroid Build Coastguard Worker        "timezoneTypes.res",
53*2fd832c6SAndroid Build Coastguard Worker        "windowsZones.res",
54*2fd832c6SAndroid Build Coastguard Worker        "zoneinfo64.res",
55*2fd832c6SAndroid Build Coastguard Worker    ],
56*2fd832c6SAndroid Build Coastguard Worker    relative_install_path: "com.android.tzdata/etc/tz/versioned/8/icu",
57*2fd832c6SAndroid Build Coastguard Worker}
58