log_service: migrate the system console log mapping from patch
Migrate the patch from the meta-server3-arm
0002-change-the-system-and-ttyS-mapping.patch
Allow user enable the log reversing by "-Dsystem-log-reverse=enabled"
Default is disable
Tested: I have added a test code to see does it has been enable by the "-Dsystem-log-reverse=enabled". I was able to see the string "FII Update Service is ENABLED" in the compiled log.
```
#if ENABLE_SYSTEM_LOG_REVERSE
#pragma message("FII log reverse is ENABLED")
#else
#pragma message("FII log reverse is DISABLED")
#endif
```
Google-Bug-Id: 458777449
Change-Id: I691e05cfa68ced9010adba0aa0bbc7da03ddccbd
Signed-off-by: Neil Chen <neil.chen@fii-na.corp-partner.google.com>
PiperOrigin-RevId: 844836922
1 file changed