Merge "java_sdk_library: Define relationship between api scopes" am: aa71638941
Change-Id: Ia704d3ba4157806f8b901f4b54279f4c5525f675
This commit is contained in:
@@ -67,6 +67,9 @@ type apiScope struct {
|
|||||||
// The name of the api scope, e.g. public, system, test
|
// The name of the api scope, e.g. public, system, test
|
||||||
name string
|
name string
|
||||||
|
|
||||||
|
// The api scope that this scope extends.
|
||||||
|
extends *apiScope
|
||||||
|
|
||||||
// The name of the field in the dynamically created structure.
|
// The name of the field in the dynamically created structure.
|
||||||
fieldName string
|
fieldName string
|
||||||
|
|
||||||
@@ -134,6 +137,7 @@ var (
|
|||||||
})
|
})
|
||||||
apiScopeSystem = initApiScope(&apiScope{
|
apiScopeSystem = initApiScope(&apiScope{
|
||||||
name: "system",
|
name: "system",
|
||||||
|
extends: apiScopePublic,
|
||||||
apiFilePrefix: "system-",
|
apiFilePrefix: "system-",
|
||||||
moduleSuffix: sdkSystemApiSuffix,
|
moduleSuffix: sdkSystemApiSuffix,
|
||||||
sdkVersion: "system_current",
|
sdkVersion: "system_current",
|
||||||
@@ -141,6 +145,7 @@ var (
|
|||||||
})
|
})
|
||||||
apiScopeTest = initApiScope(&apiScope{
|
apiScopeTest = initApiScope(&apiScope{
|
||||||
name: "test",
|
name: "test",
|
||||||
|
extends: apiScopePublic,
|
||||||
apiFilePrefix: "test-",
|
apiFilePrefix: "test-",
|
||||||
moduleSuffix: sdkTestApiSuffix,
|
moduleSuffix: sdkTestApiSuffix,
|
||||||
sdkVersion: "test_current",
|
sdkVersion: "test_current",
|
||||||
|
Reference in New Issue
Block a user