Add documentation on how lints are defined and used in Android. Merge the deny_warnings attribute with a new attribute (no_lint) which can be used to disable the default linting parameters. Explicitly allow all lints for external/ and prebuilts/, which remove any warning when building sysroot for the devices. Test: cd external/rust/crates; mma Test: add dummy internal Rust module; mma Change-Id: I62be1c41aeda4068fb9e288038727c1de5ffe547
21 lines
444 B
Plaintext
21 lines
444 B
Plaintext
bootstrap_go_package {
|
|
name: "soong-rust-config",
|
|
pkgPath: "android/soong/rust/config",
|
|
deps: [
|
|
"soong-android",
|
|
"soong-cc-config",
|
|
],
|
|
srcs: [
|
|
"arm_device.go",
|
|
"arm64_device.go",
|
|
"global.go",
|
|
"lints.go",
|
|
"toolchain.go",
|
|
"allowed_list.go",
|
|
"x86_darwin_host.go",
|
|
"x86_linux_host.go",
|
|
"x86_device.go",
|
|
"x86_64_device.go",
|
|
],
|
|
}
|