summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-07-29 21:18:46 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-07-29 21:38:11 +0000
commit48e2ac926b00d50762abc303549eb883af93524c (patch)
tree07f40ea0f96a3afbf1477fba0cb29d8224e67b47 /java/sdk_library.go
parent0cdc351829270d8a58a23d63f348e1ff4adfdafc (diff)
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
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go4
1 files changed, 4 insertions, 0 deletions
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
}