blob: 05a57a4a5adf6aeedfc605cf4c15425db0d1f118 [file] [log] [blame]
/*
* Copyright (C) 2023 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_applicable_licenses: ["device_generic_goldfish-opengl_license"],
}
cc_library_shared {
name: "gralloc.goldfish",
vendor: true,
relative_install_path: "hw",
shared_libs: [
"libcutils",
"libdl",
"libdrm",
"liblog",
"libGLESv1_enc",
"lib_renderControl_enc",
"libOpenglCodecCommon",
"libOpenglSystemCommon",
],
static_libs: [
"mesa_goldfish_address_space",
"libqemupipe.ranchu",
],
cflags: [
"-DVIRTIO_GPU",
"-DLOG_TAG=\"gralloc_goldfish\"",
"-Wno-gnu-designator",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",
],
srcs: [
"gralloc_old.cpp",
],
}
cc_library_shared {
name: "gralloc.ranchu",
vendor: true,
relative_install_path: "hw",
shared_libs: [
"libcutils",
"libdl",
"libdrm",
"liblog",
"libGLESv1_enc",
"lib_renderControl_enc",
"libOpenglCodecCommon",
"libOpenglSystemCommon",
],
static_libs: [
"mesa_goldfish_address_space",
"libqemupipe.ranchu",
],
cflags: [
"-DVIRTIO_GPU",
"-DLOG_TAG=\"gralloc_ranchu\"",
"-Wno-gnu-designator",
"-Wno-unused-parameter",
],
srcs: [
"gralloc_old.cpp",
],
}