commit | 5b7787ece4db431035da8808a71349f9c97f50f2 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Mar 17 16:34:26 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Mar 18 00:57:17 2021 +0800 |
tree | 51a9197049382302cca42f06c9c9cf4810c4bc2e | |
parent | 47d1ca1621cdc03ba407e768b4a0339bae7819e2 [diff] |
Add a soong var that will be used to enable/disabe rust relevant targets Add a soong variable which will be used to enable/disable rust relevant targets. This makes it easy to enable or disable the targets all together. It also makes it much easier to automerge Android.bp changes from AOSP to mainline-prod without merge conflict, because the build target definitions are always the same, only the variable at the top of the file changes. Bug: 155855709 Test: m Change-Id: I21945b25e3e4e04e6110030d45b82fa1acf6c409 Merged-In: I21945b25e3e4e04e6110030d45b82fa1acf6c409
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.