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 15package { 16 default_team: "trendy_team_java_core_libraries", 17 default_visibility: ["//visibility:private"], 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "external_icu_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 // SPDX-license-identifier-EPL 24 default_applicable_licenses: ["external_icu_license"], 25} 26 27// build the android_icu4j srcgen jar 28// ============================================================ 29 30java_library_host { 31 name: "android_icu4j_srcgen", 32 srcs: ["src/**/*.java"], 33 static_libs: [ 34 "currysrc", 35 "icu4j", 36 ], 37} 38 39java_binary_host { 40 name: "android_icu4j_srcgen_binary", 41 manifest: "src/manifest.txt", 42 static_libs: [ 43 "android_icu4j_srcgen", 44 "currysrc", 45 ], 46} 47 48filegroup { 49 name: "generate_android_icu4j_script", 50 visibility: ["//external/icu/icu4j"], 51 srcs: ["generate_android_icu4j.sh"], 52} 53