Files
Jason Macnak 75af0b4810 Add new dependency in build rules
... to fix up strict header checks after ag/34205193
made common/base depend on common/logging.

Also fix a couple of warnings from adding in defaults.

Bug: b/426644045
Test: build
Change-Id: Iea7da5660005e83f18935bdb5e9590f6d93e35b8
2025-06-26 17:18:27 +00:00

50 lines
1.1 KiB
Plaintext

package {
default_team: "trendy_team_automotive",
default_applicable_licenses: ["hardware_google_gfxstream_license"],
}
cc_library_static {
name: "libgfxstream_common_base",
defaults: ["gfxstream_defaults"],
srcs: [
"AlignedBuf.cpp",
"CpuTime.cpp",
"FileUtils.cpp",
"MessageChannel.cpp",
"PathUtils.cpp",
"SharedMemory_posix.cpp",
"StringFormat.cpp",
"System.cpp",
"Tracing.cpp",
"Thread_pthread.cpp",
],
target: {
android: {
cppflags: [
"-DHAVE_MEMFD_CREATE",
],
srcs: [
"UdmabufCreator_linux.cpp",
],
},
host: {
srcs: [
"UdmabufCreator_stub.cpp",
],
},
},
export_include_dirs: [
"include",
],
static_libs: [
"libgfxstream_common_logging",
],
export_static_lib_headers: [
"libgfxstream_common_logging",
],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
}