Neil Fuller | 392019a | 2018-07-12 14:36:43 +0100 | [diff] [blame] | 1 | // Copyright (C) 2015 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 | |
Paul Duffin | d772e59 | 2019-06-03 16:09:02 +0100 | [diff] [blame] | 15 | package { |
| 16 | default_visibility: ["//visibility:private"], |
| 17 | } |
| 18 | |
Neil Fuller | 392019a | 2018-07-12 14:36:43 +0100 | [diff] [blame] | 19 | // build the android_icu4j srcgen jar |
| 20 | // ============================================================ |
| 21 | |
| 22 | java_library_host { |
| 23 | name: "android_icu4j_srcgen", |
Neil Fuller | 392019a | 2018-07-12 14:36:43 +0100 | [diff] [blame] | 24 | srcs: ["src/**/*.java"], |
Victor Chang | d3ccbf9 | 2018-09-25 17:28:30 +0100 | [diff] [blame] | 25 | static_libs: [ |
| 26 | "currysrc", |
| 27 | "icu4j", |
| 28 | ], |
Neil Fuller | 392019a | 2018-07-12 14:36:43 +0100 | [diff] [blame] | 29 | } |
Victor Chang | e993598 | 2018-09-21 14:55:40 +0100 | [diff] [blame] | 30 | |
| 31 | java_binary_host { |
| 32 | name: "android_icu4j_srcgen_binary", |
| 33 | manifest: "src/manifest.txt", |
| 34 | static_libs: [ |
| 35 | "android_icu4j_srcgen", |
| 36 | "currysrc", |
| 37 | ], |
| 38 | } |
| 39 | |
| 40 | filegroup { |
| 41 | name: "generate_android_icu4j_script", |
Paul Duffin | d772e59 | 2019-06-03 16:09:02 +0100 | [diff] [blame] | 42 | visibility: ["//external/icu/icu4j"], |
Victor Chang | e993598 | 2018-09-21 14:55:40 +0100 | [diff] [blame] | 43 | srcs: ["generate_android_icu4j.sh"], |
| 44 | } |