1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "device_generic_vulkan-cereal_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 // SPDX-license-identifier-BSD 8 // SPDX-license-identifier-GPL-2.0 9 // SPDX-license-identifier-MIT 10 // legacy_unencumbered 11 default_applicable_licenses: ["device_generic_vulkan-cereal_license"], 12} 13 14cc_library_static { 15 name: "gfxstream_base", 16 defaults: ["gfxstream_defaults"], 17 srcs: [ 18 "AlignedBuf.cpp", 19 "CompressingStream.cpp", 20 "CpuTime.cpp", 21 "DecompressingStream.cpp", 22 "FileUtils.cpp", 23 "FunctorThread.cpp", 24 "GLObjectCounter.cpp", 25 "LayoutResolver.cpp", 26 "MemStream.cpp", 27 "StdioStream.cpp", 28 "MemoryTracker.cpp", 29 "MessageChannel.cpp", 30 "PathUtils.cpp", 31 "ring_buffer.cpp", 32 "SharedLibrary.cpp", 33 "StringFormat.cpp", 34 "Stream.cpp", 35 "StreamSerializing.cpp", 36 "SubAllocator.cpp", 37 "System.cpp", 38 "Tracing.cpp", 39 "Thread_pthread.cpp", 40 ], 41 whole_static_libs: ["perfetto-tracing-only"], 42 static_libs: ["gfxstream_lz4"] 43} 44