xref: /aosp_15_r20/hardware/interfaces/graphics/composer/2.2/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: [
18        "hardware_interfaces_license",
19    ],
20}
21
22cc_binary {
23    name: "[email protected]",
24    vendor: true,
25    relative_install_path: "hw",
26    cflags: [
27        "-Wall",
28        "-Werror",
29        "-DLOG_TAG=\"ComposerHal\"",
30    ],
31    srcs: ["service.cpp"],
32    init_rc: ["[email protected]"],
33    header_libs: ["[email protected]"],
34    shared_libs: [
35        "[email protected]",
36        "[email protected]",
37        "[email protected]",
38        "[email protected]",
39        "libbase",
40        "libbinder",
41        "libcutils",
42        "libfmq",
43        "libhardware",
44        "libhidlbase",
45        "libhwc2on1adapter",
46        "libhwc2onfbadapter",
47        "liblog",
48        "libsync",
49        "libutils",
50    ],
51}
52