commit | 68a4bdb3eb48e8b618e0d54b9d1db464aec199a7 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Fri Feb 09 16:42:27 2024 -0800 |
committer | Stephen Hines <srhines@google.com> | Fri Feb 09 16:46:48 2024 -0800 |
tree | 0aca3e7ddecfd318a36839eb04e852cb4ae0b3df | |
parent | 6b115846339aa3fc3c2bba724b39feedb9079bde [diff] |
Test modules should always be last ``` error: items after a test module --> build/make/tools/aconfig/aconfig/src/test.rs:18:1 | 18 | pub mod test_utils { | ^^^^^^^^^^^^^^^^^^ ... 345 | pub use test_utils::*; | ^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module = note: `-D clippy::items-after-test-module` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::items_after_test_module)]` ``` Bug: http://b/321303117 Test: toolchain/android_rust/test_compiler.py --prebuilt-path dist/rust-dev.tar.xz --target aosp_cf_x86_64_phone --all-rust Change-Id: I2c95af50a5d389fc37e1abc677e9b4d34b6562b4
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.