crosvm/tools/mac-build
A. Cody Schuffelen 9cd31f1669 Stub out bare minimum to compile base on MacOS
Also add compilation scripts

Bug: b/309011910
Test: tools/install-mac-deps && tools/mac-build
Change-Id: I5aa200238fb83c94115ca2f3624ca84a34d9555a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4997935
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Cody Schuffelen <schuffelen@google.com>
2023-11-03 19:09:27 +00:00

10 lines
293 B
Bash
Executable file

#!/usr/bin/env bash
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -ex
cd $(dirname $0)/..
cargo build -p base --target=aarch64-apple-darwin
cargo clippy -p base --target=aarch64-apple-darwin