mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
704bec9aea
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>
8 lines
183 B
Meson
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',
|
|
)
|