Files
BPI-CM9-Linux/aml-comp/vendor/amlogic/meson_display/common/Android.bp
T
2026-08-24 10:03:24 +08:00

85 lines
2.6 KiB
Plaintext

// Copyright (C) 2008 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.
// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
// CONSULT THE OWNERS AND [email protected] BEFORE
// DEPENDING ON IT IN YOUR PROJECT. ***
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_amlogic_hwcomposer_license"
// to get the below license kinds:
// legacy_by_exception_only (by exception only)
// legacy_proprietary (by exception only)
default_applicable_licenses: ["hardware_amlogic_hwcomposer_license"],
}
cc_library_static {
name: "mesondisplay.common_static",
defaults: [
"hwcomposer_cc_defaults",
"mesondisplay_cc_defaults",
],
vendor: true,
srcs: [
"base/DrmTypes.cpp",
"base/DrmFramebufferBase.cpp",
"base/DrmSync.cpp",
"utils/DebugHelper.cpp",
"display/HwDisplayPlaneBase.cpp",
"display/DrmProperty.cpp",
"display/DrmAsyncCommitor.cpp",
"display/DrmBoBase.cpp",
"hwc/HwcVsyncBase.cpp",
],
export_include_dirs: [
"base/include",
"utils/include",
"display/include",
"hwc/include",
],
}
filegroup {
name: "mesondisplay_common_display_unit_test_srcs",
srcs: [
"base/DrmTypes.cpp",
"base/DrmFramebufferBase.cpp",
"base/DrmSync.cpp",
"display/HwDisplayPlaneBase.cpp",
"display/DrmProperty.cpp",
"display/DrmBoBase.cpp",
"display/DrmAsyncCommitor.cpp",
"utils/DebugHelper.cpp",
],
}
filegroup {
name: "mesondisplay_common_wrapper_unit_test_srcs",
srcs: [
"base/DrmTypes.cpp",
"base/DrmFramebufferBase.cpp",
"base/DrmSync.cpp",
"display/HwDisplayPlaneBase.cpp",
"display/DrmProperty.cpp",
"display/DrmBoBase.cpp",
"display/DrmAsyncCommitor.cpp",
"hwc/HwcVsyncBase.cpp",
"utils/DebugHelper.cpp",
],
}