blob: f745c9d50bc435fbc2307ed9bad1ca59c769d149 [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 {
// See: http://go/android-license-faq
default_applicable_licenses: ["hardware_google_gfxstream_license"],
}
cc_library_headers {
name: "libgfxstream_guest_errorlog_headers",
host_supported: true,
vendor_available: true,
export_include_dirs: [
".",
],
}
cc_library_shared {
name: "libOpenglCodecCommon",
host_supported: true,
vendor: true,
defaults: [
"libgfxstream_guest_cc_defaults",
],
header_libs: [
"gfxstream_opengl_headers",
"libgfxstream_guest_graphics_headers",
"libgfxstream_guest_iostream",
],
export_header_lib_headers: [
"gfxstream_opengl_headers",
],
shared_libs: [
"libcutils",
"liblog",
"libutils",
],
export_shared_lib_headers: [
"libcutils",
"liblog",
],
export_static_lib_headers: [
"libgfxstream_androidemu_static",
],
static_libs: [
"libgfxstream_etc",
"libgfxstream_androidemu_static",
"libqemupipe.ranchu",
],
cflags: [
"-DLOG_TAG=\"eglCodecCommon\"",
"-Wno-unused-private-field",
],
srcs: [
"ChecksumCalculator.cpp",
"EncoderDebug.cpp",
"GLClientState.cpp",
"GLESTextureUtils.cpp",
"GLSharedGroup.cpp",
"glUtils.cpp",
"IndexRangeCache.cpp",
],
export_include_dirs: [
"include",
],
}