1// Copyright (C) 2011 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_visibility: ["//visibility:private"], 17 default_applicable_licenses: ["external_apache-harmony_license"], 18} 19 20// Added automatically by a large-scale-change 21// See: http://go/android-license-faq 22license { 23 name: "external_apache-harmony_license", 24 visibility: [":__subpackages__"], 25 license_kinds: [ 26 "SPDX-license-identifier-Apache-2.0", 27 ], 28 license_text: [ 29 "NOTICE", 30 ], 31} 32 33java_test { 34 name: "apache-harmony-tests", 35 visibility: [ 36 "//art/build/sdk", 37 "//cts/tests/libcore/luni", 38 ], 39 hostdex: true, 40 srcs: [ 41 "beans/src/test/java/**/*.java", 42 "logging/src/test/java/**/*.java", 43 "luni/src/test/java/**/*.java", 44 "sql/src/test/java/**/*.java", 45 "support/src/test/java/**/*.java", 46 47 "beans/src/test/support/java/**/*.java", 48 "logging/src/test/support/java/**/*.java", 49 "luni/src/test/support/java/**/*.java", 50 "sql/src/test/support/java/**/*.java", 51 "support/src/test/support/java/**/*.java", 52 53 "luni/src/test/api/common/**/*.java", 54 "luni/src/test/api/unix/**/*.java", 55 "luni/src/test/impl/common/**/*.java", 56 "luni/src/test/impl/unix/**/*.java", 57 ], 58 java_resource_dirs: [ 59 "beans/src/test/resources", 60 "logging/src/test/resources", 61 "sql/src/test/resources", 62 "support/src/test/resources", 63 ], 64 sdk_version: "none", 65 system_modules: "core-all-system-modules", 66 libs: [ 67 "junit", 68 ], 69 static_libs: [ 70 "core-tests-support", 71 ], 72 javacflags: ["-Xmaxwarns 9999999"], 73 // Pin java_version until jarjar is certified to support later versions. http://b/72703434 74 java_version: "1.8", 75 76 // b/73499927 77 errorprone: { 78 javacflags: [ 79 "-Xep:MissingOverride:OFF", 80 "-Xep:DoNotCall:OFF", 81 ], 82 }, 83} 84