From afe7baf47db292f1837d658a42dd3920b8e2bc10 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Tue, 9 Jan 2024 22:47:39 +0000 Subject: Propagate aconfig providers for more modules. Bug: 308625757 Test: manual Change-Id: Iaf6d45a4259f1c6c34476c34c431344283ae2830 --- python/test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/test.go') diff --git a/python/test.go b/python/test.go index 782f39f20..7eb913620 100644 --- a/python/test.go +++ b/python/test.go @@ -149,6 +149,7 @@ func (p *PythonTestModule) GenerateAndroidBuildActions(ctx android.ModuleContext // just use buildBinary() so that the binary is not installed into the location // it would be for regular binaries. p.PythonLibraryModule.GenerateAndroidBuildActions(ctx) + android.CollectDependencyAconfigFiles(ctx, &p.mergedAconfigFiles) p.buildBinary(ctx) var configs []tradefed.Option @@ -228,6 +229,7 @@ func (p *PythonTestModule) AndroidMkEntries() []android.AndroidMkEntries { } entries.SetBoolIfTrue("LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG", !BoolDefault(p.binaryProperties.Auto_gen_config, true)) + android.SetAconfigFileMkEntries(&p.ModuleBase, entries, p.mergedAconfigFiles) p.testProperties.Test_options.SetAndroidMkEntries(entries) }) -- cgit v1.2.3-59-g8ed1b