blob: f1eba9b59718c0fff42933b351decc87c921bfe2 [file]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "device_generic_vulkan-cereal_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-BSD
default_applicable_licenses: ["device_generic_vulkan-cereal_license"],
}
cc_library_static {
name: "gfxstream_host_common",
defaults: [ "gfxstream_defaults" ],
static_libs: [
"gfxstream_base",
],
srcs: [
"crash_reporter.cpp",
"vm_operations.cpp",
"feature_control.cpp",
"FeatureControlOverride.cpp",
"dma_device.cpp",
"sync_device.cpp",
"misc.cpp",
"window_operations.cpp",
"logging.cpp",
"GfxstreamFatalError.cpp",
"AndroidPipe.cpp",
"HostmemIdMapping.cpp",
"RefcountPipe.cpp",
"GraphicsAgentFactory.cpp",
"GoldfishSyncCommandQueue.cpp",
"goldfish_sync.cpp",
"DmaMap.cpp",
"GoldfishDma.cpp",
"address_space_device_control_ops.cpp",
"address_space_device.cpp",
"address_space_host_memory_allocator.cpp",
"address_space_shared_slots_host_memory_allocator.cpp",
"address_space_graphics.cpp",
"address_space_host_media.cpp",
"hw-config.cpp",
"opengles.cpp",
"opengl/EmuglBackendList.cpp",
"opengl/emugl_config.cpp",
"opengl/GLProcessPipe.cpp",
"opengl/GpuFrameBridge.cpp",
"opengl/gpuinfo.cpp",
"opengl/logger.cpp",
"opengl/OpenglEsPipe.cpp",
"opengl/NativeGpuInfo_linux.cpp",
],
local_include_dirs: [
"include/host-common",
"include/host-common/opengl",
],
}