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