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:
Treehugger Robot
2020-01-13 15:31:42 +00:00
committed by Gerrit Code Review

View File

@@ -34,6 +34,36 @@ stubs_defaults {
stubs_defaults { stubs_defaults {
name: "framework-module-stubs-defaults-systemapi", 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, installable: false,
} }