diff options
author | Arve Hjønnevåg <arve@android.com> | 2024-03-27 15:50:05 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2024-03-27 15:50:05 -0700 |
commit | ea9e410767159441c569b7f28044c16b75fe7b4b (patch) | |
tree | 92e4ff11a0b61b0bd2b0a6645e8f781b5d3121ea | |
parent | 6754be5f3585ea9b50a835127fb086ddb4652a8e (diff) | |
download | acpi-sdk-release.tar.gz |
Generate rules.mk for acpi crateplatform-tools-35.0.1sdk-releasemainbusytown-mac-infra-release
Generated by `cargo2rulesmk.py --run`.
Change-Id: I3f12e6521fb5a3387ff4cef01c585359e50fbdda
-rw-r--r-- | rules.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk new file mode 100644 index 0000000..aa6823e --- /dev/null +++ b/rules.mk @@ -0,0 +1,20 @@ +# This file is generated by cargo2rulesmk.py --run. +# Do not modify this file as changes will be overridden on upgrade. + +LOCAL_DIR := $(GET_LOCAL_DIR) +MODULE := $(LOCAL_DIR) +MODULE_CRATE_NAME := acpi +MODULE_SRCS := \ + $(LOCAL_DIR)/src/lib.rs \ + +MODULE_RUST_EDITION := 2021 +MODULE_RUSTFLAGS += \ + --cfg 'feature="alloc"' \ + --cfg 'feature="allocator_api"' \ + --cfg 'feature="default"' \ + +MODULE_LIBRARY_DEPS := \ + external/rust/crates/bit_field \ + external/rust/crates/log \ + +include make/library.mk |