summaryrefslogtreecommitdiff
path: root/android/sdk.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-05-02 21:55:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-02 21:55:15 +0000
commit9e4c6c9cc762c7e4583d523ae9269ce78d6872fc (patch)
tree09d9bd1cb21355e3baffe80921e82dfe39f3d2f5 /android/sdk.go
parent91ac31c160b0204509972ddf250534857b7adb86 (diff)
parent3486740cc5ae4bf9f24083237929e1c6f48c37c1 (diff)
Merge "Use api_levels_released_versions from starlark"
Diffstat (limited to 'android/sdk.go')
-rw-r--r--android/sdk.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/sdk.go b/android/sdk.go
index 63e0bbeec..6b598ab9e 100644
--- a/android/sdk.go
+++ b/android/sdk.go
@@ -830,6 +830,9 @@ type SdkMemberContext interface {
// IsTargetBuildBeforeTiramisu return true if the target build release for which this snapshot is
// being generated is before Tiramisu, i.e. S.
IsTargetBuildBeforeTiramisu() bool
+
+ // ModuleErrorf reports an error at the line number of the module type in the module definition.
+ ModuleErrorf(fmt string, args ...interface{})
}
// ExportedComponentsInfo contains information about the components that this module exports to an