commit | 84f8101db185ba26d028a32f1a6d212182b8162c | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri Jul 16 16:59:14 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri Jul 16 09:07:54 2021 +0000 |
tree | e73413b4b00ae2adbd0c78b25fdf2c7e9663159b | |
parent | 2fe9c73fb0f751bfb69e2f66fe55cb5d9f8acfdf [diff] |
Fix resolv_{unit,gold}_test linking problem caused by Rust libs The new linked Rust libs in DnsReoslver caused the resolv_{unit,gold}_test executive problems due to missing libunwind symbol. Add libunwind into whole_static_libs list to fix the problem. Test: manually run resolv_{unit,gold}_test in Android 10 device Bug: 193850030 Change-Id: I9013085a20f8fd8bfb8b6f7e9fb7e33a327b98fe
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.