3 Commits
Author SHA1 Message Date
Jason Macnak 4470b02678 Finish setting up bazel build for end2end tests
Bug: b/416342919
Test: bazel test common/end2end:gfxstream_end2end_tests \
      --test_arg="--gtest_filter=-*MultiThreadedResetCommandBuffer*:*UseDoubleQueuesAndSynchronizeCorrectly*"
Change-Id: I6c926882431949f71f4f1e5e6f2a702bfbbbb377
2025-05-19 08:45:22 -07:00
Jason Macnak 6755c1b30a Add gfxstream_common_base
* Fix up headers

* Fix up namespaces

* Separates out health, library, and metrics into new host
  libraries as those depend on logging

Bug: b/403363880

Test: cd hardware/google/gfxstream
      mma

Test: cd hardware/google/gfxstream
      mkdir build && cd build
      cmake .. -G Ninja
      ninja

Test: meson setup \
        -Ddefault_library=static \
        -Dgfxstream-build=host \
        build

      meson compile -C build

Test: cd <emu master dev repo>
      cd external/qemu
      python android/build/python/cmake.py --gfxstream

Test: cd <emu main next repo>
      prebuilts/bazel/linux-x86_64/bazel test \
      --platforms=@//build/bazel/platforms:linux_x64 \
     @gfxstream//...
Change-Id: I56f8a53bd3ad3ee5e4ddc75ef8ce61eb545df845
2025-05-01 16:27:14 +00:00
Jason Macnak d214f9cf5d Copy hardware/google/aemu/base into hardware/google/gfxstream/common/base
... in order to make it possible to build standalone Gfxstream. A
copy is used instead of a move because there are AEMU libraries
that depend on the existing aemu-base library that are not Gfxstream
related.

NO_TYPO_CHECK=true

Bug: b/403363880
Test: n/a
Change-Id: I8fa969c208c9542b5c4b3ae3dc0e981b4e0f5091
2025-05-01 16:27:14 +00:00