| // |
| // Copyright (C) 2017 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| android_test { |
| name: "CtsSelinuxTargetSdkCurrentTestCases", |
| defaults: ["cts_defaults"], |
| compile_multilib: "both", |
| static_libs: [ |
| "ctstestrunner-axt", |
| "compatibility-device-util-axt", |
| ], |
| libs: [ |
| "android.test.base", |
| "android.test.runner", |
| ], |
| jni_libs: [ |
| "libbase", |
| "libc++", |
| "libcrypto", |
| "libcts_jni", |
| "libctsselinux_jni", |
| "libnativehelper", |
| "libnativehelper_compat_libc++", |
| "libpackagelistparser", |
| "libpcre2", |
| "libselinux", |
| ], |
| srcs: [ |
| "src/**/*.java", |
| "common/**/*.java", |
| ], |
| platform_apis: true, |
| test_suites: [ |
| "cts", |
| "general-tests", |
| ], |
| min_sdk_version: "21", |
| } |