diff options
author | 2020-07-13 15:36:20 -0700 | |
---|---|---|
committer | 2020-07-13 15:41:20 -0700 | |
commit | f971af799795f1ca61391a45a76e0e012da377d6 (patch) | |
tree | 36a85eaaaab5d8b8139e736d8fb6fa231fac18c8 /java/prebuilt_apis.go | |
parent | ed62b9cc2a24dd0874f8689902bad759a722497a (diff) |
Set sdk_version for prebuilt_api to scope
Remove old TODO setting sdk_version to "current" as the associated bug
appears to have been fixed.
Test: m checkapi
Change-Id: I7737fbd17d2f54fc4578e04d07875b4b8d408ef9
Diffstat (limited to 'java/prebuilt_apis.go')
-rw-r--r-- | java/prebuilt_apis.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/prebuilt_apis.go b/java/prebuilt_apis.go index 999c72f3c..b10e6c7fe 100644 --- a/java/prebuilt_apis.go +++ b/java/prebuilt_apis.go @@ -83,8 +83,7 @@ func createImport(mctx android.LoadHookContext, module string, scope string, api }{} props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, module, scope, apiver)) props.Jars = append(props.Jars, path) - // TODO(hansson): change to scope after migration is done. - props.Sdk_version = proptools.StringPtr("current") + props.Sdk_version = proptools.StringPtr(scope) props.Installable = proptools.BoolPtr(false) mctx.CreateModule(ImportFactory, &props) |