... 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
* The memfd should be sealed.
* align to page size, since KVM mappings require it.
* memfd is core to glibc 2.27 (2018 release). Only the ancient
version of glibc in Android might not have it, and we're
actively moving away from that.
BUG=423003060
* 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
... 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