From 48e2ac926b00d50762abc303549eb883af93524c Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Mon, 29 Jul 2024 21:18:46 +0000 Subject: [PATCH] Introduce build_from_text_stubs property in java_sdk_library Note that this property is currently a no-op. This change is submitted separately in order to prevent submitting the entire topic in git_main to mark a main-only module with this property. Test: m nothing Bug: 327507877 Change-Id: I62c2e3522bf9d0c5f7955e7c9bd2e0f66458e48c --- java/sdk_library.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/sdk_library.go b/java/sdk_library.go index 3931456e4..c5f7a1ce0 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -661,6 +661,10 @@ type sdkLibraryProperties struct { // depend on. Aconfig_declarations []string + // Determines if the module generates the stubs from the api signature files + // instead of the source Java files. Defaults to true. + Build_from_text_stub *bool + // TODO: determines whether to create HTML doc or not // Html_doc *bool }