• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2025, The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package {
18    default_team: "trendy_team_android_core_graphics_stack",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "hardware_interfaces_license"
22    // to get the below license kinds:
23    // SPDX-license-identifier-Apache-2.0
24}
25
26cc_library_static {
27    name: "libhwc_aidl_test",
28    export_include_dirs: ["include"],
29    defaults: [
30        "use_libaidlvintf_gtest_helper_static",
31        "librenderengine_deps",
32        "android.hardware.graphics.common-ndk_static",
33        "android.hardware.graphics.composer3-ndk_static",
34    ],
35    srcs: [
36        "ComposerClientWrapper.cpp",
37        "GraphicsComposerCallback.cpp",
38        "Readback.cpp",
39        "RenderEngine.cpp",
40    ],
41    shared_libs: [
42        "libEGL",
43        "libGLESv2",
44        "libbinder_ndk",
45        "libbinder",
46        "libfmq",
47        "libbase",
48        "libsync",
49        "libui",
50        "libgui",
51    ],
52    header_libs: [
53        "android.hardware.graphics.composer3-command-buffer",
54    ],
55    static_libs: [
56        "android.hardware.graphics.common@1.2",
57        "android.hardware.common-V2-ndk",
58        "android.hardware.common.fmq-V1-ndk",
59        "libaidlcommonsupport",
60        "libarect",
61        "libbase",
62        "libfmq",
63        "libgtest",
64        "librenderengine",
65        "libsync",
66        "libsurfaceflinger_common",
67    ],
68    cflags: [
69        "-Wconversion",
70    ],
71}
72