• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    header_libs: ["gfxstream_renderdoc_headers"],
18    srcs: [
19        "AlignedBuf.cpp",
20        "CompressingStream.cpp",
21        "CpuTime.cpp",
22        "DecompressingStream.cpp",
23        "FileUtils.cpp",
24        "FunctorThread.cpp",
25        "GLObjectCounter.cpp",
26        "LayoutResolver.cpp",
27        "MemStream.cpp",
28        "StdioStream.cpp",
29        "MemoryTracker.cpp",
30        "MessageChannel.cpp",
31        "MetricsNoOp.cpp",
32        "PathUtils.cpp",
33        "ring_buffer.cpp",
34        "SharedLibrary.cpp",
35        "StringFormat.cpp",
36        "Stream.cpp",
37        "StreamSerializing.cpp",
38        "SubAllocator.cpp",
39        "System.cpp",
40        "Tracing.cpp",
41        "Thread_pthread.cpp",
42    ],
43    whole_static_libs: ["perfetto-tracing-only"],
44    static_libs: ["gfxstream_lz4"],
45    export_header_lib_headers: ["gfxstream_renderdoc_headers"]
46}
47