crosvm/rutabaga_gfx/ffi/meson_options.txt
Gurchetan Singh 704bec9aea rutabaga_gfx/ffi: add meson build
This is somewhat more modern than the Makefile.  Both just invoke
cargo under the hood.  The proper solution may come when Meson
starts supporting external crates:

https://github.com/mesonbuild/meson/issues/2173

Right now, this is a just a minimal version for developers.  A known
issue is modifying dependent crates (rutabaga_gfx) doesn't cause
a rebuild.  A solution is just `touch src/lib.rs` in ffi.

Also, `ninja -C build/ clean` isn't recommended.  Just do cargo
clean.

BUG=344998548
TEST=meson setup build
     ninja -C build/ install

Change-Id: Id5a142cc5cb5a8001198afc4d1cdbe800ec2ec23
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5599139
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
2024-06-05 00:35:53 +00:00

8 lines
183 B
Meson

# 2024 Android Open Source Project
# SPDX-License-Identifier: MIT
option(
'gfxstream',
type : 'boolean',
value : false,
description : 'Build gfxstream in rutabaga_gfx_ffi',
)