Files
hardware_interfaces/graphics/composer/2.2/default/Android.bp
Bill Yang ce222a2cbc Convert android.hardware.graphics.composer@2.2-service to soong
The conversion skip the if condition for
TARGET_USES_DISPLAY_RENDER_INTENTS due to the cflag it set is never
being used actually.

Bug: 368204639
Test: m android.hardware.graphics.composer@2.2-service
Change-Id: I7347fa5cef192385f94954f620bebee6a24ebb82
2024-09-19 06:37:15 +00:00

52 lines
1.6 KiB
Plaintext

// Copyright (C) 2024 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 {
// See: http://go/android-license-faq
default_applicable_licenses: [
"hardware_interfaces_license",
],
}
cc_binary {
name: "android.hardware.graphics.composer@2.2-service",
vendor: true,
relative_install_path: "hw",
cflags: [
"-Wall",
"-Werror",
"-DLOG_TAG=\"ComposerHal\"",
],
srcs: ["service.cpp"],
init_rc: ["android.hardware.graphics.composer@2.2-service.rc"],
header_libs: ["android.hardware.graphics.composer@2.2-passthrough"],
shared_libs: [
"android.hardware.graphics.composer@2.1",
"android.hardware.graphics.composer@2.2",
"android.hardware.graphics.composer@2.1-resources",
"android.hardware.graphics.composer@2.2-resources",
"libbase",
"libbinder",
"libcutils",
"libfmq",
"libhardware",
"libhidlbase",
"libhwc2on1adapter",
"libhwc2onfbadapter",
"liblog",
"libsync",
"libutils",
],
}