summaryrefslogtreecommitdiff
path: root/java/sdk_library.go
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2020-04-28 16:47:41 +0100
committer Paul Duffin <paulduffin@google.com> 2020-04-28 20:30:25 +0100
commit6affb1f4fed0e8d025406bc32dadc943b99dffb0 (patch)
tree934ce3cad7e717a2c5b604c1f87fe7575b647aaf /java/sdk_library.go
parent0b3b3db525f7ce236dcaece80ee93048d21536ab (diff)
Remove obsolete var apiFileMakeVariableSuffix
Not used anymore, as the make variables have been deleted. Test: m Change-Id: I1b29ec33951588ab479fc3e14f85e9aa189b971b
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r--java/sdk_library.go25
1 files changed, 10 insertions, 15 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 51e680b7f..6fa315082 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,