mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
This CL is created as a best effort to migrate test targets to the new android ownership model. If you find incorrect or unnecessary attribution in this CL, please create a separate CL to fix that. For more details please refer to the link below, go/new-android-ownership-model Bug: 304529413 Test: N/A Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
98 lines
2.6 KiB
Plaintext
98 lines
2.6 KiB
Plaintext
/*
|
|
* Copyright (C) 2022 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_team: "trendy_team_android_media_codec_framework",
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_av_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsVndkAidlBufferpool2V1_0TargetSingleTest",
|
|
test_suites: ["device-tests"],
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
|
srcs: [
|
|
"allocator.cpp",
|
|
"single.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libfmq",
|
|
"liblog",
|
|
"libnativewindow",
|
|
"libutils",
|
|
"android.hardware.media.bufferpool2-V2-ndk",
|
|
],
|
|
static_libs: [
|
|
"libaidlcommonsupport",
|
|
"libstagefright_aidl_bufferpool2",
|
|
],
|
|
compile_multilib: "both",
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsVndkAidlBufferpool2V1_0TargetMultiTest",
|
|
test_suites: ["device-tests"],
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
|
srcs: [
|
|
"allocator.cpp",
|
|
"multi.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libfmq",
|
|
"liblog",
|
|
"libnativewindow",
|
|
"libutils",
|
|
"android.hardware.media.bufferpool2-V2-ndk",
|
|
],
|
|
static_libs: [
|
|
"libaidlcommonsupport",
|
|
"libstagefright_aidl_bufferpool2",
|
|
],
|
|
compile_multilib: "both",
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsVndkAidlBufferpool2V1_0TargetCondTest",
|
|
test_suites: ["device-tests"],
|
|
defaults: ["VtsHalTargetTestDefaults"],
|
|
srcs: [
|
|
"allocator.cpp",
|
|
"cond.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libfmq",
|
|
"liblog",
|
|
"libnativewindow",
|
|
"libutils",
|
|
"android.hardware.media.bufferpool2-V2-ndk",
|
|
],
|
|
static_libs: [
|
|
"libaidlcommonsupport",
|
|
"libstagefright_aidl_bufferpool2",
|
|
],
|
|
compile_multilib: "both",
|
|
}
|