cc: export LOCAL_ACONFIG_FILES for printflags

Bug: 308625757
Test: manual
Change-Id: I211fe4736098bdca040c2a58b8b5e468c9d2e542
diff --git a/cc/cc.go b/cc/cc.go
index 2e42761..6d8ca90 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -2344,6 +2344,10 @@
 	}
 }
 
+func (c *Module) getTransitiveAconfigFiles(container string) []android.Path {
+	return c.transitiveAconfigFiles[container].ToList()
+}
+
 // maybeInstall is called at the end of both GenerateAndroidBuildActions and
 // ProcessBazelQueryResponse to run the install hooks for installable modules,
 // like binaries and tests.