1*0e209d39SAndroid Build Coastguard Worker#!/bin/bash 2*0e209d39SAndroid Build Coastguard Worker 3*0e209d39SAndroid Build Coastguard Worker# Copyright (C) 2015 The Android Open Source Project 4*0e209d39SAndroid Build Coastguard Worker# 5*0e209d39SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 6*0e209d39SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 7*0e209d39SAndroid Build Coastguard Worker# You may obtain a copy of the License at 8*0e209d39SAndroid Build Coastguard Worker# 9*0e209d39SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 10*0e209d39SAndroid Build Coastguard Worker# 11*0e209d39SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 12*0e209d39SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 13*0e209d39SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*0e209d39SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 15*0e209d39SAndroid Build Coastguard Worker# limitations under the License. 16*0e209d39SAndroid Build Coastguard Worker 17*0e209d39SAndroid Build Coastguard Worker# A script for checking the android_icu4j source for errors. 18*0e209d39SAndroid Build Coastguard Worker 19*0e209d39SAndroid Build Coastguard Workersource ./common.sh 20*0e209d39SAndroid Build Coastguard Worker 21*0e209d39SAndroid Build Coastguard Worker${SRCGEN_JAVA_BINARY} -cp ${CLASSPATH} com.android.icu4j.srcgen.checker.CheckAndroidIcu4JSource \ 22*0e209d39SAndroid Build Coastguard Worker ${ANDROID_ICU4J_DIR}/src/main/java \ 23*0e209d39SAndroid Build Coastguard Worker ./android_icu4j_source_report.txt 24