Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eed61a29 authored by Mark Yacoub's avatar Mark Yacoub Committed by Automerger Merge Worker
Browse files

Merge "VTS: Create libhwc_aidl_test out of HWC VTS" into main am: 17b3fa3c

parents a4c42315 17b3fa3c
Loading
Loading
Loading
Loading
+71 −0
Original line number Diff line number Diff line
/**
 * Copyright (c) 2025, 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_core_graphics_stack",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_interfaces_license"
    // to get the below license kinds:
    // SPDX-license-identifier-Apache-2.0
}

cc_library_static {
    name: "libhwc_aidl_test",
    export_include_dirs: ["include"],
    defaults: [
        "use_libaidlvintf_gtest_helper_static",
        "librenderengine_deps",
        "android.hardware.graphics.common-ndk_static",
        "android.hardware.graphics.composer3-ndk_static",
    ],
    srcs: [
        "ComposerClientWrapper.cpp",
        "GraphicsComposerCallback.cpp",
        "Readback.cpp",
        "RenderEngine.cpp",
    ],
    shared_libs: [
        "libEGL",
        "libGLESv2",
        "libbinder_ndk",
        "libbinder",
        "libfmq",
        "libbase",
        "libsync",
        "libui",
        "libgui",
    ],
    header_libs: [
        "android.hardware.graphics.composer3-command-buffer",
    ],
    static_libs: [
        "android.hardware.graphics.common@1.2",
        "android.hardware.common-V2-ndk",
        "android.hardware.common.fmq-V1-ndk",
        "libaidlcommonsupport",
        "libarect",
        "libbase",
        "libfmq",
        "libgtest",
        "librenderengine",
        "libsync",
        "libsurfaceflinger_common",
    ],
    cflags: [
        "-Wconversion",
    ],
}
Loading