1*2fd832c6SAndroid Build Coastguard Worker// Copyright (C) 2019 The Android Open Source Project 2*2fd832c6SAndroid Build Coastguard Worker// 3*2fd832c6SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*2fd832c6SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*2fd832c6SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*2fd832c6SAndroid Build Coastguard Worker// 7*2fd832c6SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*2fd832c6SAndroid Build Coastguard Worker// 9*2fd832c6SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*2fd832c6SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*2fd832c6SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*2fd832c6SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*2fd832c6SAndroid Build Coastguard Worker// limitations under the License. 14*2fd832c6SAndroid Build Coastguard Worker 15*2fd832c6SAndroid Build Coastguard Workerpackage { 16*2fd832c6SAndroid Build Coastguard Worker default_team: "trendy_team_java_core_libraries", 17*2fd832c6SAndroid Build Coastguard Worker // http://go/android-license-faq 18*2fd832c6SAndroid Build Coastguard Worker default_applicable_licenses: ["Android-Apache-2.0"], 19*2fd832c6SAndroid Build Coastguard Worker} 20*2fd832c6SAndroid Build Coastguard Worker 21*2fd832c6SAndroid Build Coastguard Worker// Code common to various time zone host tools. 22*2fd832c6SAndroid Build Coastguard Workerjava_library_host { 23*2fd832c6SAndroid Build Coastguard Worker name: "tztools_common", 24*2fd832c6SAndroid Build Coastguard Worker 25*2fd832c6SAndroid Build Coastguard Worker srcs: ["src/main/java/**/*.java"], 26*2fd832c6SAndroid Build Coastguard Worker} 27*2fd832c6SAndroid Build Coastguard Worker 28*2fd832c6SAndroid Build Coastguard Worker// Code common to various time zone host tests. 29*2fd832c6SAndroid Build Coastguard Workerjava_library_host { 30*2fd832c6SAndroid Build Coastguard Worker name: "tztools_common_testing", 31*2fd832c6SAndroid Build Coastguard Worker 32*2fd832c6SAndroid Build Coastguard Worker srcs: ["src/testing/java/**/*.java"], 33*2fd832c6SAndroid Build Coastguard Worker libs: [ 34*2fd832c6SAndroid Build Coastguard Worker "junit", 35*2fd832c6SAndroid Build Coastguard Worker ], 36*2fd832c6SAndroid Build Coastguard Worker} 37*2fd832c6SAndroid Build Coastguard Worker 38*2fd832c6SAndroid Build Coastguard Worker// Tests for tztools_common and tztools_common_testing. 39*2fd832c6SAndroid Build Coastguard Workerjava_test_host { 40*2fd832c6SAndroid Build Coastguard Worker name: "tztools_common_tests", 41*2fd832c6SAndroid Build Coastguard Worker 42*2fd832c6SAndroid Build Coastguard Worker srcs: ["src/test/java/**/*.java"], 43*2fd832c6SAndroid Build Coastguard Worker test_options: { 44*2fd832c6SAndroid Build Coastguard Worker unit_test: true, 45*2fd832c6SAndroid Build Coastguard Worker }, 46*2fd832c6SAndroid Build Coastguard Worker static_libs: [ 47*2fd832c6SAndroid Build Coastguard Worker "junit", 48*2fd832c6SAndroid Build Coastguard Worker "tztools_common", 49*2fd832c6SAndroid Build Coastguard Worker "tztools_common_testing", 50*2fd832c6SAndroid Build Coastguard Worker ], 51*2fd832c6SAndroid Build Coastguard Worker} 52