Merge "Change test_module_config from copying files to symlink files." into main am: fb9191bcfe
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3060229 Change-Id: I8eefa9e1fae6a3d7909d0d4638648bc1405b03b5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1380,6 +1380,8 @@ func (a *AndroidTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
HostRequiredModuleNames: a.HostRequiredModuleNames(),
|
||||
TestSuites: a.testProperties.Test_suites,
|
||||
IsHost: false,
|
||||
LocalCertificate: a.certificate.AndroidMkString(),
|
||||
IsUnitTest: Bool(a.testProperties.Test_options.Unit_test),
|
||||
})
|
||||
android.SetProvider(ctx, android.TestOnlyProviderKey, android.TestModuleInformation{
|
||||
TestOnly: true,
|
||||
|
@@ -1504,6 +1504,8 @@ func (j *TestHost) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
RequiredModuleNames: j.RequiredModuleNames(),
|
||||
TestSuites: j.testProperties.Test_suites,
|
||||
IsHost: true,
|
||||
LocalSdkVersion: j.sdkVersion.String(),
|
||||
IsUnitTest: Bool(j.testProperties.Test_options.Unit_test),
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user