blob: 8529354be86bd46ae8995e0db9ebafa93a3d45be [file] [log] [blame]
Neil Fuller392019a2018-07-12 14:36:43 +01001// 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 Duffind772e592019-06-03 16:09:02 +010015package {
16 default_visibility: ["//visibility:private"],
17}
18
Neil Fuller392019a2018-07-12 14:36:43 +010019// build the android_icu4j srcgen jar
20// ============================================================
21
22java_library_host {
23 name: "android_icu4j_srcgen",
Neil Fuller392019a2018-07-12 14:36:43 +010024 srcs: ["src/**/*.java"],
Victor Changd3ccbf92018-09-25 17:28:30 +010025 static_libs: [
26 "currysrc",
27 "icu4j",
28 ],
Neil Fuller392019a2018-07-12 14:36:43 +010029}
Victor Change9935982018-09-21 14:55:40 +010030
31java_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
40filegroup {
41 name: "generate_android_icu4j_script",
Paul Duffind772e592019-06-03 16:09:02 +010042 visibility: ["//external/icu/icu4j"],
Victor Change9935982018-09-21 14:55:40 +010043 srcs: ["generate_android_icu4j.sh"],
44}