commit | 1ba6afa3e2214feb277839b6ec2bfa09cc5c1c81 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Fri Mar 06 17:09:02 2020 +0800 |
committer | Ken Chen <cken@google.com> | Tue Mar 24 00:22:03 2020 +0800 |
tree | b68acf73eb62e120ad1ea5342101575565173f41 | |
parent | 29af8895432ef6409e500caadd07b4e3429ad5fa [diff] |
Add a .pbtxt to .pb auto converter Add a host tool which automatically convert human-readable protobuf configurations (.pbtxt) to serialized binaries (.pb) in build-time. Bug: 145176964 Test: atest resolv_gold_test pass Test: mts-tradefed run -m resolv_gold_test pass Change-Id: I45723669f82aa2f3a9a4eed0f566e1d81963d001
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.