blob: 5753bb0861c7bbb92cb2a9aa02888c8a645a470a [file] [log] [blame]
Bill Yangce222a22024-09-19 06:37:15 +00001// 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: "android.hardware.graphics.composer@2.2-service",
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: ["android.hardware.graphics.composer@2.2-service.rc"],
33 header_libs: ["android.hardware.graphics.composer@2.2-passthrough"],
34 shared_libs: [
35 "android.hardware.graphics.composer@2.1",
36 "android.hardware.graphics.composer@2.2",
37 "android.hardware.graphics.composer@2.1-resources",
38 "android.hardware.graphics.composer@2.2-resources",
39 "libbase",
40 "libbinder",
41 "libcutils",
42 "libfmq",
43 "libhardware",
44 "libhidlbase",
45 "libhwc2on1adapter",
46 "libhwc2onfbadapter",
47 "liblog",
48 "libsync",
49 "libutils",
50 ],
51}