Add dependencies for API level annotations.

In order to convert offline/online sdk targets (those who depend on
libcore sources which are blocker for java9) in frameworks/base to
 Metalava, Api level annotations have to be supported.

Test: `m -j api-stubs-docs` with api level annotations flag enabled in
Android.bp
Bug: b/78245848

Change-Id: Ie6416c45cecf7d4c94326c93dccb0a6c8861c96a
1 file changed