Migrate DynamicCodeLoggerIntegrationTests to Soong

Also migrates related dependencies, and needed to make a small code
change to make it work.

Fixes: 202986197
Test: Ran the tests
Test: Treehugger
Change-Id: Ie30ca52200b93d4f7bff9f60ceb0ba95d052b5c8
3 files changed