Merge changes I5f425928,I397d361f
* changes: Define stubs_defaults for the new API surfaces Add SystemApi params to framework-module defaults
This commit is contained in:
@@ -34,6 +34,36 @@ stubs_defaults {
|
||||
|
||||
stubs_defaults {
|
||||
name: "framework-module-stubs-defaults-systemapi",
|
||||
args: mainline_stubs_args + " --show-annotation android.annotation.SystemApi ",
|
||||
args: mainline_stubs_args +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) ",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
stubs_defaults {
|
||||
name: "framework-module-stubs-defaults-module_apps_api",
|
||||
args: mainline_stubs_args +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) " +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.MODULE_APPS," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) ",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
stubs_defaults {
|
||||
name: "framework-module-stubs-defaults-module_libs_api",
|
||||
args: mainline_stubs_args +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) " +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.MODULE_APPS," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) " +
|
||||
" --show-annotation android.annotation.SystemApi\\(" +
|
||||
"client=android.annotation.SystemApi.Client.MODULE_LIBRARIES," +
|
||||
"process=android.annotation.SystemApi.Process.ALL\\) ",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user