blob: adb0f9fc98bfcc9eb976d95eef935e7166de35c7 [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 {
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_test {
name: "CtsNNAPITestCases",
host_supported: true,
compile_multilib: "both",
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
whole_static_libs: ["CtsNNAPITests_static"],
shared_libs: [
"liblog",
"libneuralnetworks",
],
test_suites: [
"general-tests",
],
target: {
android: {
shared_libs: [
"libandroid",
"libvulkan",
],
static_libs: [
"libbase_ndk",
"libgtest_ndk_c++",
"libgmock_ndk",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"mts",
"mts-neuralnetworks",
"mcts-neuralnetworks",
],
test_config: "AndroidTestDevice.xml",
},
host: {
static_libs: [
"libbase",
"libgmock",
"libgtest",
],
test_config: "AndroidTestHost.xml",
},
},
sdk_version: "current",
stl: "c++_static",
min_sdk_version: "30",
}