aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJihoon Kang <jihoonkang@google.com>2024-02-23 02:36:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-23 02:36:45 +0000
commitd8811244817d5ba33973cd57443ffc82a2aee259 (patch)
tree4935948a96810c8b14061a878946dec8ecf473d6 /java
parent14c69449f3408056e9f48cb0c3720692397e7811 (diff)
parent35349466cd725513a997a2f7e1cd38e90f0397b8 (diff)
Convert the build flag RELEASE_EXPORT_RUNTIME_APIS to a product variable am: 35349466cd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2973435 Change-Id: If699df9c820f06564446c5fac15ad79e2bb9365f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java')
-rw-r--r--java/droidstubs_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/droidstubs_test.go b/java/droidstubs_test.go
index caa834535..e5ffd2847 100644
--- a/java/droidstubs_test.go
+++ b/java/droidstubs_test.go
@@ -22,6 +22,8 @@ import (
"testing"
"android/soong/android"
+
+ "github.com/google/blueprint/proptools"
)
func TestDroidstubs(t *testing.T) {
@@ -419,8 +421,8 @@ func TestReleaseExportRuntimeApis(t *testing.T) {
android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) {
variables.BuildFlags = map[string]string{
"RELEASE_HIDDEN_API_EXPORTABLE_STUBS": "true",
- "RELEASE_EXPORT_RUNTIME_APIS": "true",
}
+ variables.ExportRuntimeApis = proptools.BoolPtr(true)
}),
android.FixtureMergeMockFs(map[string][]byte{
"a/A.java": nil,