Output informational messages only when BP2BUILD_VERBOSE is set.

Test: manual
Change-Id: Ieeb00a002e07b04449d70614ce205c47c1dd7bce
This commit is contained in:
Sasha Smundak
2022-05-19 19:34:31 -07:00
parent 6a2b7c40b3
commit 0fd93e0756
8 changed files with 28 additions and 19 deletions

View File

@@ -27,7 +27,8 @@ type bazelFilepath struct {
}
func TestCreateBazelFiles_QueryView_AddsTopLevelFiles(t *testing.T) {
files := CreateBazelFiles(map[string]RuleShim{}, map[string]BazelTargets{}, QueryView)
files := CreateBazelFiles(android.NullConfig("out", "out/soong"),
map[string]RuleShim{}, map[string]BazelTargets{}, QueryView)
expectedFilePaths := []bazelFilepath{
{
dir: "",