1// Copyright (C) 2018 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_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "FrameworksIkeTests", 21 22 srcs: ["src/java/**/*.java"], 23 24 platform_apis: true, 25 certificate: "platform", 26 test_suites: ["general-tests", "mts-ipsec"], 27 28 compile_multilib: "both", 29 30 libs: ["android.test.runner"], 31 32 test_config: "FrameworksIkeTests.xml", 33 34 static_libs: [ 35 // TODO (b/149494912): Do not statically link ike and test against <uses-library> 36 "ike_test", // Runs against a test version of the IKE library, not on the system's copy. 37 "androidx.test.rules", 38 "frameworks-base-testutils", 39 "mockito-target-inline-minus-junit4", 40 "modules-utils-build", 41 "services.core", 42 ], 43 44 jni_libs: [ 45 "libdexmakerjvmtiagent", 46 "libstaticjvmtiagent", 47 "libmultiplejvmtiagentsinterferenceagent", 48 ], 49 50 min_sdk_version: "30", 51} 52