Neil Fuller | 0cb7180 | 2019-06-06 16:47:11 +0100 | [diff] [blame] | 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 | |
Bob Badour | a8ca344 | 2021-02-03 18:16:54 -0800 | [diff] [blame^] | 15 | package { |
| 16 | default_applicable_licenses: [ |
| 17 | "system_timezone_output_data_icu_overlay_license", |
| 18 | ], |
| 19 | } |
| 20 | |
| 21 | // Added automatically by a large-scale-change that took the approach of |
| 22 | // 'apply every license found to every target'. While this makes sure we respect |
| 23 | // every license restriction, it may not be entirely correct. |
| 24 | // |
| 25 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 26 | // |
| 27 | // Please consider splitting the single license below into multiple licenses, |
| 28 | // taking care not to lose any license_kind information, and overriding the |
| 29 | // default license using the 'licenses: [...]' property on targets as needed. |
| 30 | // |
| 31 | // For unused files, consider creating a 'filegroup' with "//visibility:private" |
| 32 | // to attach the license to, and including a comment whether the files may be |
| 33 | // used in the current project. |
| 34 | // http://go/android-license-faq |
| 35 | license { |
| 36 | name: "system_timezone_output_data_icu_overlay_license", |
| 37 | visibility: [":__subpackages__"], |
| 38 | license_kinds: [ |
| 39 | "SPDX-license-identifier-BSD", |
| 40 | "SPDX-license-identifier-MIT", |
| 41 | "SPDX-license-identifier-Unicode-DFS", |
| 42 | ], |
| 43 | license_text: [ |
| 44 | "LICENSE", |
| 45 | ], |
| 46 | } |
| 47 | |
Neil Fuller | 0cb7180 | 2019-06-06 16:47:11 +0100 | [diff] [blame] | 48 | // Module definition producing a tzdata prebuilt file in |
| 49 | // /system/etc/tzdata_module/etc/tz for standalone ART testing purposes. |
| 50 | // This is a temporary change needed until the ART Buildbot and Golem both fully |
| 51 | // support the Time Zone Data APEX (see b/121117762). This module should never |
| 52 | // be shipped by default (i.e. should never be part of `PRODUCT_PACKAGE`.) |
| 53 | |
| 54 | // TODO(b/121117762, b/129332183): Remove this module definition when |
| 55 | // the ART Buildbot and Golem have full support for the Time Zone Data APEX. |
| 56 | prebuilt_etc { |
| 57 | name: "icu_overlay-art-test-tzdata", |
| 58 | src: "icu_tzdata.dat", |
| 59 | filename_from_src: true, |
| 60 | sub_dir: "tzdata_module/etc/icu", |
| 61 | } |