blob: 58cb9afa06bfb3160799062461a98059a5796e33 [file] [log] [blame]
Dan Albert2a8d9c22016-09-23 15:55:49 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Colin Cross5f4dcf62017-11-16 00:15:28 -080015// Build the master framework library.
16
17// READ ME: ########################################################
18//
19// When updating this list of aidl files, consider if that aidl is
20// part of the SDK API. If it is, also add it to the list in Android.mk
21// that is preprocessed and distributed with the SDK. This list should
22// not contain any aidl files for parcelables, but the one below should
23// if you intend for 3rd parties to be able to send those objects
24// across process boundaries.
25//
26// READ ME: ########################################################
27
28java_library {
29 name: "framework",
30
31 srcs: [
32 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
33 "core/java/**/*.java",
34 "graphics/java/**/*.java",
35 "location/java/**/*.java",
36 "lowpan/java/**/*.java",
37 "media/java/**/*.java",
38 "media/mca/effect/java/**/*.java",
39 "media/mca/filterfw/java/**/*.java",
40 "media/mca/filterpacks/java/**/*.java",
41 "drm/java/**/*.java",
42 "opengl/java/**/*.java",
43 "sax/java/**/*.java",
44 "telecomm/java/**/*.java",
45 "telephony/java/**/*.java",
46 "wifi/java/**/*.java",
47 "keystore/java/**/*.java",
48 "rs/java/**/*.java",
49
50 ":framework-javastream-protos",
51
52 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
53 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
54 "core/java/android/accounts/IAccountManager.aidl",
55 "core/java/android/accounts/IAccountManagerResponse.aidl",
56 "core/java/android/accounts/IAccountAuthenticator.aidl",
57 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
58 "core/java/android/app/IActivityController.aidl",
59 "core/java/android/app/IActivityManager.aidl",
60 "core/java/android/app/IActivityPendingResult.aidl",
61 "core/java/android/app/IAlarmCompleteListener.aidl",
62 "core/java/android/app/IAlarmListener.aidl",
63 "core/java/android/app/IAlarmManager.aidl",
64 "core/java/android/app/IAppTask.aidl",
65 "core/java/android/app/IApplicationThread.aidl",
66 "core/java/android/app/ITaskStackListener.aidl",
67 "core/java/android/app/IBackupAgent.aidl",
68 "core/java/android/app/IEphemeralResolver.aidl",
69 "core/java/android/app/IInputForwarder.aidl",
70 "core/java/android/app/IInstantAppResolver.aidl",
71 "core/java/android/app/IInstrumentationWatcher.aidl",
72 "core/java/android/app/INotificationManager.aidl",
73 "core/java/android/app/IProcessObserver.aidl",
74 "core/java/android/app/ISearchManager.aidl",
75 "core/java/android/app/ISearchManagerCallback.aidl",
76 "core/java/android/app/IServiceConnection.aidl",
77 "core/java/android/app/IStopUserCallback.aidl",
78 "core/java/android/app/job/IJobCallback.aidl",
79 "core/java/android/app/job/IJobScheduler.aidl",
80 "core/java/android/app/job/IJobService.aidl",
81 "core/java/android/app/ITransientNotification.aidl",
82 "core/java/android/app/IUidObserver.aidl",
83 "core/java/android/app/IUiAutomationConnection.aidl",
84 "core/java/android/app/IUiModeManager.aidl",
85 "core/java/android/app/IUserSwitchObserver.aidl",
86 "core/java/android/app/IWallpaperManager.aidl",
87 "core/java/android/app/IWallpaperManagerCallback.aidl",
88 "core/java/android/app/admin/IDeviceAdminService.aidl",
89 "core/java/android/app/admin/IDevicePolicyManager.aidl",
90 "core/java/android/app/trust/IStrongAuthTracker.aidl",
91 "core/java/android/app/trust/ITrustManager.aidl",
92 "core/java/android/app/trust/ITrustListener.aidl",
93 "core/java/android/app/backup/IBackupManager.aidl",
94 "core/java/android/app/backup/IBackupObserver.aidl",
95 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
96 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
97 "core/java/android/app/backup/IRestoreObserver.aidl",
98 "core/java/android/app/backup/IRestoreSession.aidl",
99 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
100 "core/java/android/app/timezone/ICallback.aidl",
101 "core/java/android/app/timezone/IRulesManager.aidl",
102 "core/java/android/app/usage/ICacheQuotaService.aidl",
103 "core/java/android/app/usage/IStorageStatsManager.aidl",
104 "core/java/android/app/usage/IUsageStatsManager.aidl",
105 ":libbluetooth-binder-aidl",
106 "core/java/android/content/IClipboard.aidl",
107 "core/java/android/content/IContentService.aidl",
108 "core/java/android/content/IIntentReceiver.aidl",
109 "core/java/android/content/IIntentSender.aidl",
110 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
111 "core/java/android/content/IRestrictionsManager.aidl",
112 "core/java/android/content/ISyncAdapter.aidl",
113 "core/java/android/content/ISyncContext.aidl",
114 "core/java/android/content/ISyncServiceAdapter.aidl",
115 "core/java/android/content/ISyncStatusObserver.aidl",
116 "core/java/android/content/om/IOverlayManager.aidl",
117 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
118 "core/java/android/content/pm/ILauncherApps.aidl",
119 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
120 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
121 "core/java/android/content/pm/IOtaDexopt.aidl",
122 "core/java/android/content/pm/IPackageDataObserver.aidl",
123 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
124 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
125 "core/java/android/content/pm/IPackageInstallObserver.aidl",
126 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
127 "core/java/android/content/pm/IPackageInstaller.aidl",
128 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
129 "core/java/android/content/pm/IPackageInstallerSession.aidl",
130 "core/java/android/content/pm/IPackageManager.aidl",
131 ":libbinder_aidl",
132 "core/java/android/content/pm/IPackageMoveObserver.aidl",
133 "core/java/android/content/pm/IPackageStatsObserver.aidl",
134 "core/java/android/content/pm/IPinItemRequest.aidl",
135 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle1d875ad2017-11-07 18:49:43 -0800136 "core/java/android/content/pm/dex/IArtManager.aidl",
137 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800138 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
139 "core/java/android/database/IContentObserver.aidl",
140 ":libcamera_client_aidl",
141 ":libcamera_client_framework_aidl",
142 "core/java/android/hardware/IConsumerIrService.aidl",
143 "core/java/android/hardware/ISerialManager.aidl",
144 "core/java/android/hardware/display/IDisplayManager.aidl",
145 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
146 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
147 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
148 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
149 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
150 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
151 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
152 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
153 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
154 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
155 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
156 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
157 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
158 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
159 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
160 "core/java/android/hardware/input/IInputManager.aidl",
161 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
162 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
163 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
164 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
165 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
166 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800167 "core/java/android/hardware/location/IGeofenceHardware.aidl",
168 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
169 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
170 "core/java/android/hardware/location/IContextHubCallback.aidl",
171 "core/java/android/hardware/location/IContextHubService.aidl",
172 "core/java/android/hardware/radio/IRadioService.aidl",
173 "core/java/android/hardware/radio/ITuner.aidl",
174 "core/java/android/hardware/radio/ITunerCallback.aidl",
175 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
176 "core/java/android/hardware/usb/IUsbManager.aidl",
177 "core/java/android/net/ICaptivePortal.aidl",
178 "core/java/android/net/IConnectivityManager.aidl",
179 "core/java/android/net/IIpConnectivityMetrics.aidl",
180 "core/java/android/net/IEthernetManager.aidl",
181 "core/java/android/net/IEthernetServiceListener.aidl",
182 "core/java/android/net/INetdEventCallback.aidl",
183 "core/java/android/net/IIpSecService.aidl",
184 "core/java/android/net/INetworkManagementEventObserver.aidl",
185 "core/java/android/net/INetworkPolicyListener.aidl",
186 "core/java/android/net/INetworkPolicyManager.aidl",
187 "core/java/android/net/INetworkRecommendationProvider.aidl",
188 "core/java/android/net/INetworkScoreCache.aidl",
189 "core/java/android/net/INetworkScoreService.aidl",
190 "core/java/android/net/INetworkStatsService.aidl",
191 "core/java/android/net/INetworkStatsSession.aidl",
192 "core/java/android/net/ITetheringStatsProvider.aidl",
193 "core/java/android/net/nsd/INsdManager.aidl",
194 "core/java/android/nfc/IAppCallback.aidl",
195 "core/java/android/nfc/INfcAdapter.aidl",
196 "core/java/android/nfc/INfcAdapterExtras.aidl",
197 "core/java/android/nfc/INfcTag.aidl",
198 "core/java/android/nfc/INfcCardEmulation.aidl",
199 "core/java/android/nfc/INfcFCardEmulation.aidl",
200 "core/java/android/nfc/INfcUnlockHandler.aidl",
201 "core/java/android/nfc/INfcDta.aidl",
202 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800203 "core/java/android/se/omapi/ISecureElementService.aidl",
204 "core/java/android/se/omapi/ISecureElementListener.aidl",
205 "core/java/android/se/omapi/ISecureElementChannel.aidl",
206 "core/java/android/se/omapi/ISecureElementReader.aidl",
207 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800208 "core/java/android/os/IBatteryPropertiesListener.aidl",
209 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
210 "core/java/android/os/ICancellationSignal.aidl",
211 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
212 "core/java/android/os/IDeviceIdleController.aidl",
213 "core/java/android/os/IHardwarePropertiesManager.aidl",
214 "core/java/android/os/IIncidentManager.aidl",
215 "core/java/android/os/IIncidentReportCompletedListener.aidl",
216 "core/java/android/os/IIncidentReportStatusListener.aidl",
217 "core/java/android/os/IMaintenanceActivityListener.aidl",
218 "core/java/android/os/IMessenger.aidl",
219 "core/java/android/os/INetworkActivityListener.aidl",
220 "core/java/android/os/INetworkManagementService.aidl",
221 "core/java/android/os/IPermissionController.aidl",
222 "core/java/android/os/IProcessInfoService.aidl",
223 "core/java/android/os/IProgressListener.aidl",
224 "core/java/android/os/IPowerManager.aidl",
225 "core/java/android/os/IRecoverySystem.aidl",
226 "core/java/android/os/IRecoverySystemProgressListener.aidl",
227 "core/java/android/os/IRemoteCallback.aidl",
228 "core/java/android/os/ISchedulingPolicyService.aidl",
229 "core/java/android/os/IThermalEventListener.aidl",
230 "core/java/android/os/IThermalService.aidl",
231 "core/java/android/os/IUpdateLock.aidl",
232 "core/java/android/os/IUserManager.aidl",
233 "core/java/android/os/IVibratorService.aidl",
234 "core/java/android/os/storage/IStorageManager.aidl",
235 "core/java/android/os/storage/IStorageEventListener.aidl",
236 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
237 "core/java/android/os/storage/IObbActionListener.aidl",
238 "core/java/android/security/IKeystoreService.aidl",
239 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
240 "core/java/android/service/autofill/IAutoFillService.aidl",
241 "core/java/android/service/autofill/IFillCallback.aidl",
242 "core/java/android/service/autofill/ISaveCallback.aidl",
243 "core/java/android/service/carrier/ICarrierService.aidl",
244 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
245 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
246 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
247 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
248 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
249 "core/java/android/service/euicc/IEuiccService.aidl",
250 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
251 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
252 "core/java/android/service/euicc/IGetEidCallback.aidl",
253 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
254 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Licc6ad8c2017-12-13 15:13:02 -0800255 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li8314fa72017-12-14 15:36:06 -0800256 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800257 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
258 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
259 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
260 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
261 "core/java/android/service/notification/INotificationListener.aidl",
262 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
263 "core/java/android/service/notification/IConditionListener.aidl",
264 "core/java/android/service/notification/IConditionProvider.aidl",
265 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
266 "core/java/android/service/vr/IVrListener.aidl",
267 "core/java/android/service/vr/IVrManager.aidl",
268 "core/java/android/service/vr/IVrStateCallbacks.aidl",
269 "core/java/android/print/ILayoutResultCallback.aidl",
270 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
271 "core/java/android/print/IPrintDocumentAdapter.aidl",
272 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
273 "core/java/android/print/IPrintJobStateChangeListener.aidl",
274 "core/java/android/print/IPrintServicesChangeListener.aidl",
275 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
276 "core/java/android/print/IPrintManager.aidl",
277 "core/java/android/print/IPrintSpooler.aidl",
278 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
279 "core/java/android/print/IPrintSpoolerClient.aidl",
280 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
281 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
282 "core/java/android/print/IWriteResultCallback.aidl",
283 "core/java/android/printservice/IPrintService.aidl",
284 "core/java/android/printservice/IPrintServiceClient.aidl",
285 "core/java/android/companion/ICompanionDeviceManager.aidl",
286 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
287 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
288 "core/java/android/companion/IFindDeviceCallback.aidl",
289 "core/java/android/service/dreams/IDreamManager.aidl",
290 "core/java/android/service/dreams/IDreamService.aidl",
291 "core/java/android/service/oemlock/IOemLockService.aidl",
292 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
293 "core/java/android/service/trust/ITrustAgentService.aidl",
294 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
295 "core/java/android/service/voice/IVoiceInteractionService.aidl",
296 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
297 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
298 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
299 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
300 "core/java/android/service/wallpaper/IWallpaperService.aidl",
301 "core/java/android/service/chooser/IChooserTargetService.aidl",
302 "core/java/android/service/chooser/IChooserTargetResult.aidl",
303 "core/java/android/service/resolver/IResolverRankerService.aidl",
304 "core/java/android/service/resolver/IResolverRankerResult.aidl",
305 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
306 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
307 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
308 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
309 "core/java/android/view/autofill/IAutoFillManager.aidl",
310 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
311 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
312 "core/java/android/view/IApplicationToken.aidl",
313 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
314 "core/java/android/view/IDockedStackListener.aidl",
315 "core/java/android/view/IGraphicsStats.aidl",
316 "core/java/android/view/IGraphicsStatsCallback.aidl",
317 "core/java/android/view/IInputFilter.aidl",
318 "core/java/android/view/IInputFilterHost.aidl",
319 "core/java/android/view/IOnKeyguardExitResult.aidl",
320 "core/java/android/view/IPinnedStackController.aidl",
321 "core/java/android/view/IPinnedStackListener.aidl",
322 "core/java/android/view/IRotationWatcher.aidl",
323 "core/java/android/view/IWallpaperVisibilityListener.aidl",
324 "core/java/android/view/IWindow.aidl",
325 "core/java/android/view/IWindowFocusObserver.aidl",
326 "core/java/android/view/IWindowId.aidl",
327 "core/java/android/view/IWindowManager.aidl",
328 "core/java/android/view/IWindowSession.aidl",
329 "core/java/android/view/IWindowSessionCallback.aidl",
330 "core/java/android/webkit/IWebViewUpdateService.aidl",
331 "core/java/android/speech/IRecognitionListener.aidl",
332 "core/java/android/speech/IRecognitionService.aidl",
333 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
334 "core/java/android/speech/tts/ITextToSpeechService.aidl",
335 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
336 "core/java/com/android/internal/app/IAppOpsService.aidl",
337 "core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl",
338 "core/java/com/android/internal/app/IBatteryStats.aidl",
339 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
340 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
341 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
342 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
343 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
344 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
345 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
346 "core/java/com/android/internal/app/IMediaContainerService.aidl",
347 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
348 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
349 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
350 "core/java/com/android/internal/backup/IBackupTransport.aidl",
351 "core/java/com/android/internal/backup/IObbBackupService.aidl",
352 "core/java/com/android/internal/car/ICarServiceHelper.aidl",
353 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
354 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
355 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
356 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
357 "core/java/com/android/internal/policy/IKeyguardService.aidl",
358 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
359 "core/java/com/android/internal/policy/IShortcutService.aidl",
360 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
361 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
362 "core/java/com/android/internal/os/IResultReceiver.aidl",
363 "core/java/com/android/internal/os/IShellCallback.aidl",
364 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
365 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
366 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
367 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
368 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
369 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
370 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
371 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
372 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
373 "core/java/com/android/internal/view/IInputContext.aidl",
374 "core/java/com/android/internal/view/IInputContextCallback.aidl",
375 "core/java/com/android/internal/view/IInputMethod.aidl",
376 "core/java/com/android/internal/view/IInputMethodClient.aidl",
377 "core/java/com/android/internal/view/IInputMethodManager.aidl",
378 "core/java/com/android/internal/view/IInputMethodSession.aidl",
379 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
380 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
381 "core/java/com/android/internal/widget/ILockSettings.aidl",
382 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
383 "core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl",
384 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
385 "keystore/java/android/security/IKeyChainService.aidl",
386 "location/java/android/location/IBatchedLocationCallback.aidl",
387 "location/java/android/location/ICountryDetector.aidl",
388 "location/java/android/location/ICountryListener.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800389 "location/java/android/location/IGeocodeProvider.aidl",
390 "location/java/android/location/IGeofenceProvider.aidl",
391 "location/java/android/location/IGnssStatusListener.aidl",
392 "location/java/android/location/IGnssStatusProvider.aidl",
393 "location/java/android/location/IGnssMeasurementsListener.aidl",
394 "location/java/android/location/IGnssNavigationMessageListener.aidl",
395 "location/java/android/location/ILocationListener.aidl",
396 "location/java/android/location/ILocationManager.aidl",
397 "location/java/android/location/IFusedGeofenceHardware.aidl",
398 "location/java/android/location/IGpsGeofenceHardware.aidl",
399 "location/java/android/location/INetInitiatedListener.aidl",
400 "location/java/com/android/internal/location/ILocationProvider.aidl",
401 "media/java/android/media/IAudioService.aidl",
402 "media/java/android/media/IAudioFocusDispatcher.aidl",
403 "media/java/android/media/IAudioRoutesObserver.aidl",
404 "media/java/android/media/IMediaHTTPConnection.aidl",
405 "media/java/android/media/IMediaHTTPService.aidl",
406 "media/java/android/media/IMediaResourceMonitor.aidl",
407 "media/java/android/media/IMediaRouterClient.aidl",
408 "media/java/android/media/IMediaRouterService.aidl",
409 "media/java/android/media/IMediaScannerListener.aidl",
410 "media/java/android/media/IMediaScannerService.aidl",
411 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
412 "media/java/android/media/IPlayer.aidl",
413 "media/java/android/media/IRecordingConfigDispatcher.aidl",
414 "media/java/android/media/IRemoteDisplayCallback.aidl",
415 "media/java/android/media/IRemoteDisplayProvider.aidl",
416 "media/java/android/media/IRemoteVolumeController.aidl",
417 "media/java/android/media/IRemoteVolumeObserver.aidl",
418 "media/java/android/media/IRingtonePlayer.aidl",
419 "media/java/android/media/IVolumeController.aidl",
420 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
421 "media/java/android/media/midi/IBluetoothMidiService.aidl",
422 "media/java/android/media/midi/IMidiDeviceListener.aidl",
423 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
424 "media/java/android/media/midi/IMidiDeviceServer.aidl",
425 "media/java/android/media/midi/IMidiManager.aidl",
426 "media/java/android/media/projection/IMediaProjection.aidl",
427 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
428 "media/java/android/media/projection/IMediaProjectionManager.aidl",
429 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
430 "media/java/android/media/session/IActiveSessionsListener.aidl",
431 "media/java/android/media/session/ICallback.aidl",
432 "media/java/android/media/session/IOnMediaKeyListener.aidl",
433 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
434 "media/java/android/media/session/ISession.aidl",
435 "media/java/android/media/session/ISessionCallback.aidl",
436 "media/java/android/media/session/ISessionController.aidl",
437 "media/java/android/media/session/ISessionControllerCallback.aidl",
438 "media/java/android/media/session/ISessionManager.aidl",
439 "media/java/android/media/tv/ITvInputClient.aidl",
440 "media/java/android/media/tv/ITvInputHardware.aidl",
441 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
442 "media/java/android/media/tv/ITvInputManager.aidl",
443 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
444 "media/java/android/media/tv/ITvInputService.aidl",
445 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
446 "media/java/android/media/tv/ITvInputSession.aidl",
447 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
448 "media/java/android/media/tv/ITvRemoteProvider.aidl",
449 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
450 "media/java/android/service/media/IMediaBrowserService.aidl",
451 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
452 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
453 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
454 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
455 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
456 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
457 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
458 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
459 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
460 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
461 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader7073c072018-01-22 15:43:37 -0800462 "telephony/java/android/telephony/data/IDataService.aidl",
463 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger6ed4ee62018-01-11 10:27:43 -0800464 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger5b1883b2018-01-16 09:33:47 -0800465 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
466 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
467 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
468 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
469 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
470 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
471 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
472 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
473 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
474 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
475 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger6ed4ee62018-01-11 10:27:43 -0800476 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800477 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liu49d1cb42018-03-19 18:12:23 -0700478 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
479 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800480 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
481 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
482 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800483 "telephony/java/android/telephony/INetworkService.aidl",
484 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800485 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
486 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
487 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
488 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
489 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
490 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
491 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
492 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
493 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
494 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
495 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
496 "telephony/java/com/android/ims/internal/IImsService.aidl",
497 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
498 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800499 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
500 "telephony/java/com/android/ims/internal/IImsUt.aidl",
501 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
502 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
503 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800504 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
505 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
506 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
507 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
508 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
509 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
510 "telephony/java/com/android/ims/ImsConfigListener.aidl",
511 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
512 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
513 "telephony/java/com/android/internal/telephony/IMms.aidl",
514 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
515 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
516 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
517 "telephony/java/com/android/internal/telephony/ISms.aidl",
518 "telephony/java/com/android/internal/telephony/ISub.aidl",
519 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
520 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
521 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800522 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
523 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800524 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
525 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun3d6b53c2017-12-21 18:44:59 -0800526 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800527 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun3d6b53c2017-12-21 18:44:59 -0800528 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800529 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800530 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
531 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
532 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800533 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800534 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800535 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800536 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
537 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
538 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
539 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800540 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800541 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
542 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800543 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
544 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
545 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800546 "wifi/java/android/net/wifi/IWifiManager.aidl",
547 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
548 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
549 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
550 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
551 "wifi/java/android/net/wifi/IWifiScanner.aidl",
552 "wifi/java/android/net/wifi/IRttManager.aidl",
553 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
554 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
555 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
556 "core/java/android/service/quicksettings/IQSService.aidl",
557 "core/java/android/service/quicksettings/IQSTileService.aidl",
558
559 ":libupdate_engine_aidl",
560
561 ":netd_aidl",
562 ":installd_aidl",
563
564 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
565 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
566 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
567 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
568 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
569 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
570
571 "core/java/android/app/admin/SecurityLogTags.logtags",
572 "core/java/android/content/EventLogTags.logtags",
573 "core/java/android/speech/tts/EventLogTags.logtags",
574 "core/java/android/net/EventLogTags.logtags",
575 "core/java/android/webkit/EventLogTags.logtags",
576 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhou070e3182017-12-04 13:02:11 -0800577 "core/java/com/android/server/DropboxLogTags.logtags",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800578 ],
Colin Cross5f4dcf62017-11-16 00:15:28 -0800579
580 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800581 export_include_dirs: [
Colin Cross5f4dcf62017-11-16 00:15:28 -0800582 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
583 "core/java",
584 "graphics/java",
585 "location/java",
586 "lowpan/java",
587 "media/java",
588 "media/mca/effect/java",
589 "media/mca/filterfw/java",
590 "media/mca/filterpacks/java",
591 "drm/java",
592 "opengl/java",
593 "sax/java",
594 "telecomm/java",
595 "telephony/java",
596 "wifi/java",
597 "keystore/java",
598 "rs/java",
599 ],
600
601 include_dirs: [
602 "system/update_engine/binder_bindings",
603 "frameworks/native/aidl/binder",
604 "frameworks/av/camera/aidl",
605 "frameworks/native/aidl/gui",
606 "system/netd/server/binder",
607 "system/bt/binder",
608 ],
609 },
610
611 no_framework_libs: true,
612 libs: [
613 "conscrypt",
614 "okhttp",
615 "bouncycastle",
616 "ext",
617 ],
618
619 static_libs: [
620 "framework-protos",
621 "android.hidl.base-V1.0-java",
622 "android.hardware.cas-V1.0-java",
623 "android.hardware.health-V1.0-java-constants",
624 "android.hardware.thermal-V1.0-java-constants",
625 "android.hardware.tv.input-V1.0-java-constants",
626 "android.hardware.usb-V1.0-java-constants",
627 "android.hardware.usb-V1.1-java-constants",
628 "android.hardware.vibrator-V1.0-java-constants",
629 "android.hardware.vibrator-V1.1-java-constants",
630 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000631 "android.hardware.radio-V1.0-java",
Colin Cross5f4dcf62017-11-16 00:15:28 -0800632 ],
633
634 // Loaded with System.loadLibrary by android.view.textclassifier
635 required: ["libtextclassifier"],
636
637 javac_shard_size: 150,
638
639 dxflags: [
640 "--core-library",
641 "--multi-dex",
642 ],
643}
644
645gensrcs {
646 name: "framework-javastream-protos",
647 depfile: true,
648
649 tools: [
650 "aprotoc",
651 "protoc-gen-javastream",
652 "soong_zip",
653 ],
654
Colin Cross6471db92017-12-04 16:02:10 -0800655 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Cross5f4dcf62017-11-16 00:15:28 -0800656 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800657 " --plugin=$(location protoc-gen-javastream) " +
Colin Cross5f4dcf62017-11-16 00:15:28 -0800658 " --dependency_out=$(depfile) " +
659 " --javastream_out=$(genDir)/$(in) " +
660 " -Iexternal/protobuf/src " +
661 " -I . " +
662 " $(in) " +
663 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
664
665 srcs: ["core/proto/**/*.proto"],
666 output_extension: "srcjar",
667}
668
Colin Crossd8e02252017-10-02 17:14:22 -0700669// Build ext.jar
670// ============================================================
671java_library {
672 name: "ext",
673 no_framework_libs: true,
674 static_libs: [
675 "libphonenumber-platform",
676 "nist-sip",
677 "tagsoup",
678 ],
679 dxflags: ["--core-library"],
680}
681
Colin Crossaa0d4352017-05-02 14:14:56 -0700682// ==== c++ proto device library ==============================
683cc_library {
684 name: "libplatformprotos",
685 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700686 proto: {
687 export_proto_headers: true,
688 include_dirs: ["external/protobuf/src"],
689 },
690
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700691 cflags: [
692 "-Wall",
693 "-Werror",
694 "-Wno-unused-parameter",
695 ],
Colin Crossaa0d4352017-05-02 14:14:56 -0700696 target: {
697 host: {
698 proto: {
699 type: "full",
700 },
John Reck915883b2017-05-03 10:27:20 -0700701 srcs: [
702 "core/proto/**/*.proto",
703 "libs/incident/**/*.proto",
704 ],
Colin Crossaa0d4352017-05-02 14:14:56 -0700705 },
706 android: {
707 proto: {
708 type: "lite",
709 },
John Reck915883b2017-05-03 10:27:20 -0700710 // We only build the protos that are optimized for the lite
711 // runtime, as well as the only protos that are actually
712 // needed by the device.
713 srcs: [
714 "core/proto/android/service/graphicsstats.proto",
715 ],
Colin Crossaa0d4352017-05-02 14:14:56 -0700716 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700717 enabled: false,
718 },
719 },
720 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700721}
722
Dan Albert2a8d9c22016-09-23 15:55:49 -0700723subdirs = [
Dan Willemsend3eac262017-09-08 22:47:47 -0700724 "cmds/*",
Jeff Sharkey01478ec2017-10-23 16:04:31 -0600725 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800726 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700727 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700728 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500729 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700730 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700731 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700732]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800733
734optional_subdirs = [
735 "core/tests/utiltests/jni",
736]
Steven Morelandeddafe92017-10-02 16:58:41 -0700737
Colin Crossa2b78a72018-03-29 13:31:04 -0700738// TODO(b/77285514): remove this once the last few hidl interfaces have been
739// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -0700740java_library {
741 name: "hwbinder",
742 no_framework_libs: true,
743
744 srcs: [
745 "core/java/android/os/HidlSupport.java",
Steven Moreland4dde8a12018-01-10 15:45:36 -0800746 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700747 "core/java/android/annotation/NonNull.java",
Steven Moreland4dde8a12018-01-10 15:45:36 -0800748 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700749 "core/java/android/os/HwBinder.java",
750 "core/java/android/os/HwBlob.java",
751 "core/java/android/os/HwParcel.java",
752 "core/java/android/os/IHwBinder.java",
753 "core/java/android/os/IHwInterface.java",
754 "core/java/android/os/DeadObjectException.java",
755 "core/java/android/os/DeadSystemException.java",
756 "core/java/android/os/RemoteException.java",
757 "core/java/android/util/AndroidException.java",
758 ],
759
760 dxflags: ["--core-library"],
761 installable: false,
762}
Nan Zhang2db709d2017-11-08 20:48:46 -0800763
764python_defaults {
765 name: "base_default",
766 version: {
767 py2: {
768 enabled: true,
769 embedded_launcher: true,
770 },
771 py3: {
772 enabled: false,
773 embedded_launcher: false,
774 },
775 },
776}
777
778python_binary_host {
779 name: "fontchain_linter",
780 defaults: ["base_default"],
781 main: "tools/fonts/fontchain_linter.py",
782 srcs: [
783 "tools/fonts/fontchain_linter.py",
784 ],
785 libs: [
786 "fontTools",
787 ],
788}
Nan Zhang172875b2018-02-27 11:24:03 -0800789
790// TODO: Don't rely on this list once droiddoc can take a list of packages to document
791frameworks_base_subdirs = [
792 "core/java",
793 "graphics/java",
794 "location/java",
795 "media/java",
796 "media/mca/effect/java",
797 "media/mca/filterfw/java",
798 "media/mca/filterpacks/java",
799 "drm/java",
800 "opengl/java",
801 "sax/java",
802 "telecomm/java",
803 "telephony/java",
804 "wifi/java",
805 "lowpan/java",
806 "keystore/java",
807 "rs/java",
808]
809
810packages_to_document = [
811 "android",
812 "javax/microedition/khronos",
813 "org/apache/http/conn",
814 "org/apache/http/params",
815]
816
817// The since flag (-since N.xml API_LEVEL) is used to add API Level information
818// to the reference documentation. Must be in order of oldest to newest.
819//
820// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
821// not be referenced in the documentation.
822framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
823 "-hidePackage com.android.okhttp -hidePackage com.android.org.conscrypt -hidePackage com.android.server " +
Anton Hanssone5bf2062018-04-19 16:23:53 +0100824 "-since $(location 1/public/api/android.xml) 1 " +
825 "-since $(location 2/public/api/android.xml) 2 " +
826 "-since $(location 3/public/api/android.xml) 3 " +
827 "-since $(location 4/public/api/android.xml) 4 " +
828 "-since $(location 5/public/api/android.xml) 5 " +
829 "-since $(location 6/public/api/android.xml) 6 " +
830 "-since $(location 7/public/api/android.xml) 7 " +
831 "-since $(location 8/public/api/android.xml) 8 " +
832 "-since $(location 9/public/api/android.xml) 9 " +
833 "-since $(location 10/public/api/android.xml) 10 " +
834 "-since $(location 11/public/api/android.xml) 11 " +
835 "-since $(location 12/public/api/android.xml) 12 " +
836 "-since $(location 13/public/api/android.xml) 13 " +
837 "-since $(location 14/public/api/android.txt) 14 " +
838 "-since $(location 15/public/api/android.txt) 15 " +
839 "-since $(location 16/public/api/android.txt) 16 " +
840 "-since $(location 17/public/api/android.txt) 17 " +
841 "-since $(location 18/public/api/android.txt) 18 " +
842 "-since $(location 19/public/api/android.txt) 19 " +
843 "-since $(location 20/public/api/android.txt) 20 " +
844 "-since $(location 21/public/api/android.txt) 21 " +
845 "-since $(location 22/public/api/android.txt) 22 " +
846 "-since $(location 23/public/api/android.txt) 23 " +
847 "-since $(location 24/public/api/android.txt) 24 " +
848 "-since $(location 25/public/api/android.txt) 25 " +
849 "-since $(location 26/public/api/android.txt) 26 " +
850 "-since $(location 27/public/api/android.txt) 27 " +
Nan Zhang172875b2018-02-27 11:24:03 -0800851 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
852 "-overview $(location core/java/overview.html) " +
853 // Federate Support Library references against local API file.
854 "-federate SupportLib https://developer.android.com " +
855 "-federationapi SupportLib $(location current/support-api.txt) "
856
857doc_defaults {
858 name: "framework-docs-default",
859 srcs: [
860 // test mock src files.
861 "test-mock/src/android/test/mock/**/*.java",
862 // test runner excluding mock src files.
863 "test-runner/src/**/*.java",
864 "test-base/src/**/*.java",
865 ":opt-telephony-srcs",
866 ":opt-net-voip-srcs",
867 ":openjdk_javadoc_files",
868 ":non_openjdk_javadoc_files",
869 ":android_icu4j_src_files_for_docs",
870 ":gen-ojluni-jaif-annotated-srcs",
871 ],
872 exclude_srcs: [
873 ":annotated_ojluni_files",
874 ],
875 srcs_lib: "framework",
876 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
877 srcs_lib_whitelist_pkgs: packages_to_document,
878 libs: [
879 "core-oj",
880 "core-libart",
881 "conscrypt",
882 "bouncycastle",
883 "okhttp",
884 "ext",
885 "framework",
886 "voip-common",
887 "android.test.mock",
888 ],
889 local_sourcepaths: frameworks_base_subdirs,
890 html_dirs: [
891 "docs/html",
892 ],
893 knowntags: [
894 "docs/knowntags.txt",
895 ":known-oj-tags",
896 ],
897 custom_template: "droiddoc-templates-sdk",
898 hdf: [
899 "dac true",
900 "sdk.codename O",
901 "sdk.preview.version 1",
902 "sdk.version 7.0",
903 "sdk.rel.id 1",
904 "sdk.preview 0",
905 ],
906 resourcesdir: "docs/html/reference/images",
907 resourcesoutdir: "reference/android/images",
Nan Zhang54963cba2018-03-13 16:16:34 -0700908 installable: false,
Nan Zhang172875b2018-02-27 11:24:03 -0800909}
910
Nan Zhang39d2d182018-05-04 18:36:45 -0700911check_last_released_api_args = "-hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -hide 26 -hide 27 " +
912 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 " +
913 "-error 16 -error 17 -error 18"
914
915check_current_api_args = "-error 2 -error 3 -error 4 -error 5 -error 6 " +
916 "-error 7 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 "+
917 "-error 16 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 " +
918 "-error 25 -error 26 -error 27"
919
Nan Zhang172875b2018-02-27 11:24:03 -0800920droiddoc {
921 name: "api-stubs-docs",
922 defaults: ["framework-docs-default"],
923 arg_files: [
924 "core/res/AndroidManifest.xml",
925 ":api-version-xml",
926 "core/java/overview.html",
927 ":current-support-api",
928 ],
Nan Zhang54963cba2018-03-13 16:16:34 -0700929 api_filename: "public_api.txt",
930 private_api_filename: "private.txt",
Nan Zhang54963cba2018-03-13 16:16:34 -0700931 removed_api_filename: "removed.txt",
932 args: framework_docs_args + " -referenceonly -nodocs",
Nan Zhang39d2d182018-05-04 18:36:45 -0700933 check_api: {
934 last_released: {
935 api_file: ":last-released-public-api",
936 removed_api_file: "api/removed.txt",
937 args: check_last_released_api_args,
938 },
939 current: {
940 api_file: "api/current.txt",
941 removed_api_file: "api/removed.txt",
942 args: check_current_api_args,
943 },
944 },
Nan Zhang172875b2018-02-27 11:24:03 -0800945}
946
947droiddoc {
948 name: "system-api-stubs-docs",
949 defaults: ["framework-docs-default"],
950 arg_files: [
951 "core/res/AndroidManifest.xml",
952 ":api-version-xml",
953 "core/java/overview.html",
954 ":current-support-api",
955 ],
Nan Zhang54963cba2018-03-13 16:16:34 -0700956 api_tag_name: "SYSTEM",
957 api_filename: "system-api.txt",
958 private_api_filename: "system-private.txt",
959 private_dex_api_filename: "system-private-dex.txt",
960 removed_api_filename: "system-removed.txt",
961 exact_api_filename: "system-exact.txt",
962 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs",
Nan Zhang39d2d182018-05-04 18:36:45 -0700963 check_api: {
964 last_released: {
965 api_file: ":last-released-system-api",
966 removed_api_file: "api/system-removed.txt",
967 args: check_last_released_api_args,
968 },
969 current: {
970 api_file: "api/system-current.txt",
971 removed_api_file: "api/system-removed.txt",
972 args: check_current_api_args,
973 },
974 },
Nan Zhang172875b2018-02-27 11:24:03 -0800975}
976
977droiddoc {
978 name: "test-api-stubs-docs",
979 defaults: ["framework-docs-default"],
980 arg_files: [
981 "core/res/AndroidManifest.xml",
982 ":api-version-xml",
983 "core/java/overview.html",
984 ":current-support-api",
985 ],
Nan Zhang54963cba2018-03-13 16:16:34 -0700986 api_tag_name: "TEST",
987 api_filename: "test-api.txt",
988 removed_api_filename: "test-removed.txt",
989 exact_api_filename: "test-exact.txt",
990 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs",
Nan Zhang39d2d182018-05-04 18:36:45 -0700991 check_api: {
992 current: {
993 api_file: "api/test-current.txt",
994 removed_api_file: "api/test-removed.txt",
995 args: check_current_api_args,
996 },
997 },
Nan Zhang172875b2018-02-27 11:24:03 -0800998}
Colin Crossa2b78a72018-03-29 13:31:04 -0700999
1000droiddoc {
1001 name: "hwbinder-stubs-docs",
1002 srcs: [
1003 "core/java/android/os/HidlSupport.java",
1004 "core/java/android/annotation/IntDef.java",
1005 "core/java/android/annotation/NonNull.java",
1006 "core/java/android/annotation/SystemApi.java",
1007 "core/java/android/os/HwBinder.java",
1008 "core/java/android/os/HwBlob.java",
1009 "core/java/android/os/HwParcel.java",
1010 "core/java/android/os/IHwBinder.java",
1011 "core/java/android/os/IHwInterface.java",
1012 "core/java/android/os/DeadObjectException.java",
1013 "core/java/android/os/DeadSystemException.java",
1014 "core/java/android/os/RemoteException.java",
1015 "core/java/android/util/AndroidException.java",
1016 ],
1017 custom_template: "droiddoc-templates-sdk",
1018 installable: false,
1019 no_framework_libs: true,
1020 args: "-showAnnotation android.annotation.SystemApi -nodocs -stubsourceonly",
1021}
1022
1023java_library_static {
1024 name: "hwbinder.stubs",
1025 sdk_version: "core_current",
1026 srcs: [
1027 ":hwbinder-stubs-docs",
1028 ],
1029}
Nan Zhang99ce5c72018-04-09 17:41:51 -07001030
David Brazdil96c9cbc2018-04-26 14:05:13 +01001031droiddoc {
1032 name: "hiddenapi-lists",
1033 defaults: ["framework-docs-default"],
1034 arg_files: [
1035 "core/res/AndroidManifest.xml",
1036 ":api-version-xml",
1037 "core/java/overview.html",
1038 ":current-support-api",
1039 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001040 dex_api_filename: "public-dex.txt",
David Brazdil96c9cbc2018-04-26 14:05:13 +01001041 private_dex_api_filename: "private-dex.txt",
1042 removed_dex_api_filename: "removed-dex.txt",
1043 args: framework_docs_args +
1044 " -referenceonly" +
1045 " -nodocs" +
1046 " -showUnannotated" +
1047 " -showAnnotation android.annotation.SystemApi" +
1048 " -showAnnotation android.annotation.TestApi",
1049}
1050
Nan Zhang99ce5c72018-04-09 17:41:51 -07001051filegroup {
1052 name: "apache-http-stubs-sources",
1053 srcs: [
1054 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1055 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1056 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1057 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1058 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1059 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1060 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1061 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1062 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1063 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1064 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1065 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1066 "core/java/org/apache/http/params/HttpConnectionParams.java",
1067 "core/java/org/apache/http/params/HttpParams.java",
1068 "core/java/android/net/http/HttpResponseCache.java",
1069 "core/java/android/net/http/SslCertificate.java",
1070 "core/java/android/net/http/SslError.java",
1071 "core/java/com/android/internal/util/HexDump.java",
1072 ],
1073}
Nan Zhang4212eb12018-04-25 17:23:33 -07001074
1075metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1076 "--hide-package com.android.okhttp " +
1077 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
1078 "--hide RequiresPermission " +
1079 "--hide MissingPermission --hide BroadcastBehavior " +
1080 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1081 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1082
1083doc_defaults {
1084 name: "metalava-framework-docs-default",
1085 srcs: [
1086 // test mock src files.
1087 "test-mock/src/android/test/mock/**/*.java",
1088 // test runner excluding mock src files.
1089 "test-runner/src/**/*.java",
1090 "test-base/src/**/*.java",
1091 ":opt-telephony-srcs",
1092 ":opt-net-voip-srcs",
1093 ":openjdk_javadoc_files",
1094 ":non_openjdk_javadoc_files",
1095 ":android_icu4j_src_files_for_docs",
1096 ":gen-ojluni-jaif-annotated-srcs",
1097 ],
1098 exclude_srcs: [
1099 ":annotated_ojluni_files",
1100 ],
1101 srcs_lib: "framework",
1102 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1103 srcs_lib_whitelist_pkgs: packages_to_document,
1104 libs: [
1105 "core-oj",
1106 "core-libart",
1107 "conscrypt",
1108 "bouncycastle",
1109 "okhttp",
1110 "ext",
1111 "framework",
1112 "voip-common",
1113 "android.test.mock",
1114 ],
1115 local_sourcepaths: frameworks_base_subdirs,
1116 installable: false,
1117 metalava_enabled: true,
1118}
1119
1120droiddoc {
1121 name: "metalava-api-stubs-docs",
1122 defaults: ["metalava-framework-docs-default"],
1123 api_tag_name: "METALAVA_PUBLIC",
1124 api_filename: "public_api.txt",
1125 private_api_filename: "private.txt",
1126 removed_api_filename: "removed.txt",
1127 arg_files: [
1128 "core/res/AndroidManifest.xml",
1129 ],
1130 args: metalava_framework_docs_args,
1131}
1132
1133droiddoc {
1134 name: "metalava-system-api-stubs-docs",
1135 defaults: ["metalava-framework-docs-default"],
1136 api_tag_name: "METALAVA_SYSTEM",
1137 api_filename: "system-api.txt",
1138 private_api_filename: "system-private.txt",
1139 private_dex_api_filename: "system-private-dex.txt",
1140 removed_api_filename: "system-removed.txt",
1141 arg_files: [
1142 "core/res/AndroidManifest.xml",
1143 ],
1144 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
1145}
1146
1147droiddoc {
1148 name: "metalava-test-api-stubs-docs",
1149 defaults: ["metalava-framework-docs-default"],
1150 api_tag_name: "METALAVA_TEST",
1151 api_filename: "test-api.txt",
1152 removed_api_filename: "test-removed.txt",
1153 arg_files: [
1154 "core/res/AndroidManifest.xml",
1155 ],
1156 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
1157}