1// Copyright (C) 2020 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: "CtsIkeTestCases", 21 defaults: ["cts_defaults"], 22 23 // Include both the 32 and 64 bit versions 24 compile_multilib: "both", 25 26 libs: [ 27 "android.net.ipsec.ike.stubs.system", 28 "android.test.base", 29 ], 30 31 srcs: [ 32 "src/**/*.java", 33 ], 34 35 static_libs: [ 36 "androidx.test.ext.junit", 37 "compatibility-device-util-axt", 38 "ctstestrunner-axt", 39 "modules-utils-build", 40 "net-tests-utils", 41 "ike-test-utils", 42 ], 43 44 platform_apis: true, 45 46 // Tag this module as a cts test artifact 47 test_suites: [ 48 "cts", 49 "mts-ipsec", 50 "vts", 51 "general-tests", 52 ], 53 54 min_sdk_version: "30", 55} 56 57java_library { 58 name: "ike-tun-utils", 59 srcs: [ 60 "src/**/IkeTunUtils.java", 61 "src/**/PacketUtils.java", 62 "src/**/TunUtils.java", 63 ], 64 static_libs: [ 65 "junit", 66 ], 67} 68