blob: ad603cc17619c82ebf84acfb23908a324ba492ed [file] [log] [blame]
// 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.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
aidl_interface {
name: "ctshardware-aidl",
srcs: [
"aidl/**/*.aidl",
],
local_include_dir: "aidl",
include_dirs: [
"frameworks/base/core/java",
],
unstable: true,
backend: {
java: {
enabled: true,
},
cpp: {
enabled: false,
},
ndk: {
enabled: true,
additional_shared_libraries: [
"libnativewindow",
],
},
},
}
android_test {
name: "CtsHardwareTestCases",
defaults: ["cts_defaults"],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
],
compile_multilib: "both",
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"androidx.annotation_annotation",
"androidx.test.ext.junit",
"compatibility-device-util-axt",
"cts-input-lib",
"cts-kernelinfo-lib",
"ctstestrunner-axt",
"cts-wm-util",
"mockito-target-minus-junit4",
"platform-test-annotations",
"ub-uiautomator",
"ctshardware-aidl-java",
],
jni_libs: [
"libctshardware_jni",
"libnativehelper_compat_libc++",
],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
sdk_version: "test_current",
}