summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Ronald Braunstein <rbraunstein@google.com> 2024-06-02 07:07:02 -0700
committer Ronald Braunstein <rbraunstein@google.com> 2024-06-02 07:24:51 -0700
commit01d31bdc9838c5d00edfb1422ab77a3582e8c02f (patch)
tree500cf92a50d7882245c1f3cab544f1bfe8820443 /java/java.go
parentd5e16ac52be02e2c41c47964a3b5dbc776bd6799 (diff)
Reapply "Change test_module_config from copying files to symlink ..."
This reverts commit c6a321e4dee7ce2a832a9308ab4c7279a1cd0dfb. Original commit broke whe building sdk/ndk in postsubmit because of missing target arch. See: https://android-build.corp.google.com/artifact/submitted/11914755/mainline_modules_sdks-trunk_staging-userdebug/latest/view/logs%2Fbuild_error.log Reapplying originaly commit and adding fix in patchest. Test: DIST_DIR=/usr/local/google/dist/bug TARGET_RELEASE=trunk_staging TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true packages/modules/common/build/mainline_modules_sdks.sh Test: m general-tests Change-Id: Id844feb7ff9750bcd5af890a9fd26f7342344965
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 9fa6175ef..ccccbacdb 100644
--- a/java/java.go
+++ b/java/java.go
@@ -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),
})
}