From e366fffa512a94340b6e722f87e0886f9aa27eb3 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 28 Apr 2020 16:47:41 +0100 Subject: [PATCH] Remove obsolete var apiFileMakeVariableSuffix Not used anymore, as the make variables have been deleted. Bug: 152479829 Test: m Change-Id: I1b29ec33951588ab479fc3e14f85e9aa189b971b Merged-In: I1b29ec33951588ab479fc3e14f85e9aa189b971b --- java/sdk_library.go | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/java/sdk_library.go b/java/sdk_library.go index a478a7d80..e62a71510 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -83,9 +83,6 @@ type apiScope struct { // module name. 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 // *current. Older stubs library built with a numbered SDK version is created from // the prebuilt jar. @@ -133,20 +130,18 @@ var ( sdkVersion: "current", }) apiScopeSystem = initApiScope(&apiScope{ - name: "system", - apiFilePrefix: "system-", - moduleSuffix: sdkSystemApiSuffix, - apiFileMakeVariableSuffix: "_SYSTEM", - sdkVersion: "system_current", - droidstubsArgs: []string{"-showAnnotation android.annotation.SystemApi"}, + name: "system", + apiFilePrefix: "system-", + moduleSuffix: sdkSystemApiSuffix, + sdkVersion: "system_current", + droidstubsArgs: []string{"-showAnnotation android.annotation.SystemApi"}, }) apiScopeTest = initApiScope(&apiScope{ - name: "test", - apiFilePrefix: "test-", - moduleSuffix: sdkTestApiSuffix, - apiFileMakeVariableSuffix: "_TEST", - sdkVersion: "test_current", - droidstubsArgs: []string{"-showAnnotation android.annotation.TestApi"}, + name: "test", + apiFilePrefix: "test-", + moduleSuffix: sdkTestApiSuffix, + sdkVersion: "test_current", + droidstubsArgs: []string{"-showAnnotation android.annotation.TestApi"}, }) allApiScopes = apiScopes{ apiScopePublic,