Remove obsolete var apiFileMakeVariableSuffix

Not used anymore, as the make variables have been deleted.

Test: m
Change-Id: I1b29ec33951588ab479fc3e14f85e9aa189b971b
This commit is contained in:
Anton Hansson 2020-04-28 16:47:41 +01:00 committed by Paul Duffin
parent 0b3b3db525
commit 6affb1f4fe
1 changed files with 10 additions and 15 deletions

View File

@ -83,9 +83,6 @@ type apiScope struct {
// module name. // module name.
moduleSuffix string moduleSuffix string
// The suffix to add to the make variable that references the location of the api file.
apiFileMakeVariableSuffix string
// SDK version that the stubs library is built against. Note that this is always // SDK version that the stubs library is built against. Note that this is always
// *current. Older stubs library built with a numbered SDK version is created from // *current. Older stubs library built with a numbered SDK version is created from
// the prebuilt jar. // the prebuilt jar.
@ -133,20 +130,18 @@ var (
sdkVersion: "current", sdkVersion: "current",
}) })
apiScopeSystem = initApiScope(&apiScope{ apiScopeSystem = initApiScope(&apiScope{
name: "system", name: "system",
apiFilePrefix: "system-", apiFilePrefix: "system-",
moduleSuffix: sdkSystemApiSuffix, moduleSuffix: sdkSystemApiSuffix,
apiFileMakeVariableSuffix: "_SYSTEM", sdkVersion: "system_current",
sdkVersion: "system_current", droidstubsArgs: []string{"-showAnnotation android.annotation.SystemApi"},
droidstubsArgs: []string{"-showAnnotation android.annotation.SystemApi"},
}) })
apiScopeTest = initApiScope(&apiScope{ apiScopeTest = initApiScope(&apiScope{
name: "test", name: "test",
apiFilePrefix: "test-", apiFilePrefix: "test-",
moduleSuffix: sdkTestApiSuffix, moduleSuffix: sdkTestApiSuffix,
apiFileMakeVariableSuffix: "_TEST", sdkVersion: "test_current",
sdkVersion: "test_current", droidstubsArgs: []string{"-showAnnotation android.annotation.TestApi"},
droidstubsArgs: []string{"-showAnnotation android.annotation.TestApi"},
}) })
allApiScopes = apiScopes{ allApiScopes = apiScopes{
apiScopePublic, apiScopePublic,