blob: 3b27ebc9249e67709e020d3bd57145fa237389b8 [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 Crosscf3a0b52017-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",
Colin Crossa12c0f52018-06-27 11:00:11 -070030 installable: true,
Colin Crosscf3a0b52017-11-16 00:15:28 -080031
32 srcs: [
33 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
34 "core/java/**/*.java",
35 "graphics/java/**/*.java",
36 "location/java/**/*.java",
37 "lowpan/java/**/*.java",
38 "media/java/**/*.java",
39 "media/mca/effect/java/**/*.java",
40 "media/mca/filterfw/java/**/*.java",
41 "media/mca/filterpacks/java/**/*.java",
42 "drm/java/**/*.java",
43 "opengl/java/**/*.java",
44 "sax/java/**/*.java",
45 "telecomm/java/**/*.java",
46 "telephony/java/**/*.java",
47 "wifi/java/**/*.java",
48 "keystore/java/**/*.java",
49 "rs/java/**/*.java",
50
51 ":framework-javastream-protos",
52
53 "core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl",
54 "core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl",
55 "core/java/android/accounts/IAccountManager.aidl",
56 "core/java/android/accounts/IAccountManagerResponse.aidl",
57 "core/java/android/accounts/IAccountAuthenticator.aidl",
58 "core/java/android/accounts/IAccountAuthenticatorResponse.aidl",
59 "core/java/android/app/IActivityController.aidl",
60 "core/java/android/app/IActivityManager.aidl",
61 "core/java/android/app/IActivityPendingResult.aidl",
62 "core/java/android/app/IAlarmCompleteListener.aidl",
63 "core/java/android/app/IAlarmListener.aidl",
64 "core/java/android/app/IAlarmManager.aidl",
65 "core/java/android/app/IAppTask.aidl",
66 "core/java/android/app/IApplicationThread.aidl",
67 "core/java/android/app/IAssistDataReceiver.aidl",
68 "core/java/android/app/ITaskStackListener.aidl",
69 "core/java/android/app/IBackupAgent.aidl",
70 "core/java/android/app/IEphemeralResolver.aidl",
71 "core/java/android/app/IInputForwarder.aidl",
72 "core/java/android/app/IInstantAppResolver.aidl",
73 "core/java/android/app/IInstrumentationWatcher.aidl",
74 "core/java/android/app/INotificationManager.aidl",
75 "core/java/android/app/IProcessObserver.aidl",
76 "core/java/android/app/ISearchManager.aidl",
77 "core/java/android/app/ISearchManagerCallback.aidl",
78 "core/java/android/app/IServiceConnection.aidl",
79 "core/java/android/app/IStopUserCallback.aidl",
80 "core/java/android/app/job/IJobCallback.aidl",
81 "core/java/android/app/job/IJobScheduler.aidl",
82 "core/java/android/app/job/IJobService.aidl",
83 "core/java/android/app/ITransientNotification.aidl",
84 "core/java/android/app/IUidObserver.aidl",
85 "core/java/android/app/IUiAutomationConnection.aidl",
86 "core/java/android/app/IUiModeManager.aidl",
87 "core/java/android/app/IUserSwitchObserver.aidl",
88 "core/java/android/app/IWallpaperManager.aidl",
89 "core/java/android/app/IWallpaperManagerCallback.aidl",
90 "core/java/android/app/admin/IDeviceAdminService.aidl",
91 "core/java/android/app/admin/IDevicePolicyManager.aidl",
92 "core/java/android/app/trust/IStrongAuthTracker.aidl",
93 "core/java/android/app/trust/ITrustManager.aidl",
94 "core/java/android/app/trust/ITrustListener.aidl",
95 "core/java/android/app/backup/IBackupManager.aidl",
96 "core/java/android/app/backup/IBackupObserver.aidl",
97 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
98 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
99 "core/java/android/app/backup/IRestoreObserver.aidl",
100 "core/java/android/app/backup/IRestoreSession.aidl",
101 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400102 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500103 "core/java/android/app/slice/ISliceListener.aidl",
Neil Fullerb5579072018-05-30 14:35:24 +0100104 "core/java/android/app/timedetector/ITimeDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800105 "core/java/android/app/timezone/ICallback.aidl",
106 "core/java/android/app/timezone/IRulesManager.aidl",
Neil Fullercccc48d2018-06-19 12:53:47 +0100107 "core/java/android/app/timezonedetector/ITimeZoneDetectorService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800108 "core/java/android/app/usage/ICacheQuotaService.aidl",
109 "core/java/android/app/usage/IStorageStatsManager.aidl",
110 "core/java/android/app/usage/IUsageStatsManager.aidl",
111 ":libbluetooth-binder-aidl",
112 "core/java/android/content/IClipboard.aidl",
113 "core/java/android/content/IContentService.aidl",
114 "core/java/android/content/IIntentReceiver.aidl",
115 "core/java/android/content/IIntentSender.aidl",
116 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
117 "core/java/android/content/IRestrictionsManager.aidl",
118 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800119 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800120 "core/java/android/content/ISyncContext.aidl",
121 "core/java/android/content/ISyncServiceAdapter.aidl",
122 "core/java/android/content/ISyncStatusObserver.aidl",
123 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000124 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800125 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
126 "core/java/android/content/pm/ILauncherApps.aidl",
127 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
128 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
129 "core/java/android/content/pm/IOtaDexopt.aidl",
130 "core/java/android/content/pm/IPackageDataObserver.aidl",
131 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
132 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
133 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
134 "core/java/android/content/pm/IPackageInstaller.aidl",
135 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
136 "core/java/android/content/pm/IPackageInstallerSession.aidl",
137 "core/java/android/content/pm/IPackageManager.aidl",
138 ":libbinder_aidl",
139 "core/java/android/content/pm/IPackageMoveObserver.aidl",
140 "core/java/android/content/pm/IPackageStatsObserver.aidl",
141 "core/java/android/content/pm/IPinItemRequest.aidl",
142 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800143 "core/java/android/content/pm/dex/IArtManager.aidl",
144 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800145 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
146 "core/java/android/database/IContentObserver.aidl",
147 ":libcamera_client_aidl",
148 ":libcamera_client_framework_aidl",
149 "core/java/android/hardware/IConsumerIrService.aidl",
150 "core/java/android/hardware/ISerialManager.aidl",
Vishwath Mohanecf00ce2018-04-05 10:28:24 -0700151 "core/java/android/hardware/biometrics/IBiometricPromptReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800152 "core/java/android/hardware/display/IDisplayManager.aidl",
153 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
154 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800155 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800156 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
157 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800158 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
159 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
160 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
161 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
163 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
164 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
165 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
166 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
167 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
168 "core/java/android/hardware/input/IInputManager.aidl",
169 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
170 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
171 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
172 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
173 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
174 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800175 "core/java/android/hardware/location/IGeofenceHardware.aidl",
176 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
177 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
178 "core/java/android/hardware/location/IContextHubCallback.aidl",
179 "core/java/android/hardware/location/IContextHubClient.aidl",
180 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
181 "core/java/android/hardware/location/IContextHubService.aidl",
182 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800183 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
184 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800185 "core/java/android/hardware/radio/IRadioService.aidl",
186 "core/java/android/hardware/radio/ITuner.aidl",
187 "core/java/android/hardware/radio/ITunerCallback.aidl",
188 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
189 "core/java/android/hardware/usb/IUsbManager.aidl",
190 "core/java/android/net/ICaptivePortal.aidl",
191 "core/java/android/net/IConnectivityManager.aidl",
192 "core/java/android/net/IIpConnectivityMetrics.aidl",
193 "core/java/android/net/IEthernetManager.aidl",
194 "core/java/android/net/IEthernetServiceListener.aidl",
195 "core/java/android/net/INetdEventCallback.aidl",
196 "core/java/android/net/IIpSecService.aidl",
197 "core/java/android/net/INetworkManagementEventObserver.aidl",
198 "core/java/android/net/INetworkPolicyListener.aidl",
199 "core/java/android/net/INetworkPolicyManager.aidl",
200 "core/java/android/net/INetworkRecommendationProvider.aidl",
201 "core/java/android/net/INetworkScoreCache.aidl",
202 "core/java/android/net/INetworkScoreService.aidl",
203 "core/java/android/net/INetworkStatsService.aidl",
204 "core/java/android/net/INetworkStatsSession.aidl",
205 "core/java/android/net/ITetheringStatsProvider.aidl",
206 "core/java/android/net/nsd/INsdManager.aidl",
207 "core/java/android/nfc/IAppCallback.aidl",
208 "core/java/android/nfc/INfcAdapter.aidl",
209 "core/java/android/nfc/INfcAdapterExtras.aidl",
210 "core/java/android/nfc/INfcTag.aidl",
211 "core/java/android/nfc/INfcCardEmulation.aidl",
212 "core/java/android/nfc/INfcFCardEmulation.aidl",
213 "core/java/android/nfc/INfcUnlockHandler.aidl",
214 "core/java/android/nfc/INfcDta.aidl",
215 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800216 "core/java/android/se/omapi/ISecureElementService.aidl",
217 "core/java/android/se/omapi/ISecureElementListener.aidl",
218 "core/java/android/se/omapi/ISecureElementChannel.aidl",
219 "core/java/android/se/omapi/ISecureElementReader.aidl",
220 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800221 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
222 "core/java/android/os/ICancellationSignal.aidl",
223 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
224 "core/java/android/os/IDeviceIdleController.aidl",
225 "core/java/android/os/IHardwarePropertiesManager.aidl",
226 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800227 "core/java/android/os/IIncidentReportStatusListener.aidl",
228 "core/java/android/os/IMaintenanceActivityListener.aidl",
229 "core/java/android/os/IMessenger.aidl",
230 "core/java/android/os/INetworkActivityListener.aidl",
231 "core/java/android/os/INetworkManagementService.aidl",
232 "core/java/android/os/IPermissionController.aidl",
233 "core/java/android/os/IProcessInfoService.aidl",
234 "core/java/android/os/IProgressListener.aidl",
235 "core/java/android/os/IPowerManager.aidl",
236 "core/java/android/os/IRecoverySystem.aidl",
237 "core/java/android/os/IRecoverySystemProgressListener.aidl",
238 "core/java/android/os/IRemoteCallback.aidl",
239 "core/java/android/os/ISchedulingPolicyService.aidl",
240 "core/java/android/os/IStatsCompanionService.aidl",
241 "core/java/android/os/IStatsManager.aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800242 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800243 "core/java/android/os/IThermalEventListener.aidl",
244 "core/java/android/os/IThermalService.aidl",
245 "core/java/android/os/IUpdateLock.aidl",
246 "core/java/android/os/IUserManager.aidl",
247 "core/java/android/os/IVibratorService.aidl",
248 "core/java/android/os/storage/IStorageManager.aidl",
249 "core/java/android/os/storage/IStorageEventListener.aidl",
250 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
251 "core/java/android/os/storage/IObbActionListener.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800252 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800253 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
254 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800255 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800256 "core/java/android/service/autofill/IFillCallback.aidl",
257 "core/java/android/service/autofill/ISaveCallback.aidl",
258 "core/java/android/service/carrier/ICarrierService.aidl",
259 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
260 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
261 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
262 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
263 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
264 "core/java/android/service/euicc/IEuiccService.aidl",
265 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
266 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
267 "core/java/android/service/euicc/IGetEidCallback.aidl",
268 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
269 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800270 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800271 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800272 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
273 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
274 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
275 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
276 "core/java/android/service/notification/INotificationListener.aidl",
277 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
278 "core/java/android/service/notification/IConditionListener.aidl",
279 "core/java/android/service/notification/IConditionProvider.aidl",
280 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
281 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
282 "core/java/android/service/vr/IVrListener.aidl",
283 "core/java/android/service/vr/IVrManager.aidl",
284 "core/java/android/service/vr/IVrStateCallbacks.aidl",
285 "core/java/android/print/ILayoutResultCallback.aidl",
286 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
287 "core/java/android/print/IPrintDocumentAdapter.aidl",
288 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
289 "core/java/android/print/IPrintJobStateChangeListener.aidl",
290 "core/java/android/print/IPrintServicesChangeListener.aidl",
291 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
292 "core/java/android/print/IPrintManager.aidl",
293 "core/java/android/print/IPrintSpooler.aidl",
294 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
295 "core/java/android/print/IPrintSpoolerClient.aidl",
296 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
297 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
298 "core/java/android/print/IWriteResultCallback.aidl",
299 "core/java/android/printservice/IPrintService.aidl",
300 "core/java/android/printservice/IPrintServiceClient.aidl",
301 "core/java/android/companion/ICompanionDeviceManager.aidl",
302 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
303 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
304 "core/java/android/companion/IFindDeviceCallback.aidl",
305 "core/java/android/service/dreams/IDreamManager.aidl",
306 "core/java/android/service/dreams/IDreamService.aidl",
307 "core/java/android/service/oemlock/IOemLockService.aidl",
308 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
309 "core/java/android/service/trust/ITrustAgentService.aidl",
310 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
311 "core/java/android/service/voice/IVoiceInteractionService.aidl",
312 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
313 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
314 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
315 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
316 "core/java/android/service/wallpaper/IWallpaperService.aidl",
317 "core/java/android/service/chooser/IChooserTargetService.aidl",
318 "core/java/android/service/chooser/IChooserTargetResult.aidl",
319 "core/java/android/service/resolver/IResolverRankerService.aidl",
320 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800321 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
322 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
323 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
324 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800325 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
326 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
327 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
328 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
329 "core/java/android/view/autofill/IAutoFillManager.aidl",
330 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
331 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
332 "core/java/android/view/IApplicationToken.aidl",
333 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
334 "core/java/android/view/IDockedStackListener.aidl",
335 "core/java/android/view/IGraphicsStats.aidl",
336 "core/java/android/view/IGraphicsStatsCallback.aidl",
337 "core/java/android/view/IInputFilter.aidl",
338 "core/java/android/view/IInputFilterHost.aidl",
339 "core/java/android/view/IOnKeyguardExitResult.aidl",
340 "core/java/android/view/IPinnedStackController.aidl",
341 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100342 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000343 "core/java/android/view/IRecentsAnimationController.aidl",
344 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100345 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800346 "core/java/android/view/IRotationWatcher.aidl",
347 "core/java/android/view/IWallpaperVisibilityListener.aidl",
348 "core/java/android/view/IWindow.aidl",
349 "core/java/android/view/IWindowFocusObserver.aidl",
350 "core/java/android/view/IWindowId.aidl",
351 "core/java/android/view/IWindowManager.aidl",
352 "core/java/android/view/IWindowSession.aidl",
353 "core/java/android/view/IWindowSessionCallback.aidl",
354 "core/java/android/webkit/IWebViewUpdateService.aidl",
355 "core/java/android/speech/IRecognitionListener.aidl",
356 "core/java/android/speech/IRecognitionService.aidl",
357 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
358 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800359 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800360 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
361 "core/java/com/android/internal/app/IAppOpsService.aidl",
362 "core/java/com/android/internal/app/IBatteryStats.aidl",
363 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
364 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
365 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
366 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
367 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
368 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
369 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
370 "core/java/com/android/internal/app/IMediaContainerService.aidl",
371 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
372 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
373 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
374 "core/java/com/android/internal/backup/IBackupTransport.aidl",
375 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800376 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
377 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
378 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
379 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
380 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
381 "core/java/com/android/internal/policy/IKeyguardService.aidl",
382 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
383 "core/java/com/android/internal/policy/IShortcutService.aidl",
384 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
385 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
386 "core/java/com/android/internal/os/IResultReceiver.aidl",
387 "core/java/com/android/internal/os/IShellCallback.aidl",
388 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
389 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
390 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
391 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
392 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
393 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
394 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
395 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
396 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
397 "core/java/com/android/internal/view/IInputContext.aidl",
398 "core/java/com/android/internal/view/IInputContextCallback.aidl",
399 "core/java/com/android/internal/view/IInputMethod.aidl",
400 "core/java/com/android/internal/view/IInputMethodClient.aidl",
401 "core/java/com/android/internal/view/IInputMethodManager.aidl",
402 "core/java/com/android/internal/view/IInputMethodSession.aidl",
403 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
404 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
405 "core/java/com/android/internal/widget/ILockSettings.aidl",
406 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
407 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
408 "keystore/java/android/security/IKeyChainService.aidl",
409 "location/java/android/location/IBatchedLocationCallback.aidl",
410 "location/java/android/location/ICountryDetector.aidl",
411 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800412 "location/java/android/location/IGeocodeProvider.aidl",
413 "location/java/android/location/IGeofenceProvider.aidl",
414 "location/java/android/location/IGnssStatusListener.aidl",
415 "location/java/android/location/IGnssStatusProvider.aidl",
416 "location/java/android/location/IGnssMeasurementsListener.aidl",
417 "location/java/android/location/IGnssNavigationMessageListener.aidl",
418 "location/java/android/location/ILocationListener.aidl",
419 "location/java/android/location/ILocationManager.aidl",
420 "location/java/android/location/IFusedGeofenceHardware.aidl",
421 "location/java/android/location/IGpsGeofenceHardware.aidl",
422 "location/java/android/location/INetInitiatedListener.aidl",
423 "location/java/com/android/internal/location/ILocationProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800424 "media/java/android/media/IAudioFocusDispatcher.aidl",
425 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900426 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800427 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800428 "media/java/android/media/IMediaHTTPConnection.aidl",
429 "media/java/android/media/IMediaHTTPService.aidl",
430 "media/java/android/media/IMediaResourceMonitor.aidl",
431 "media/java/android/media/IMediaRouterClient.aidl",
432 "media/java/android/media/IMediaRouterService.aidl",
433 "media/java/android/media/IMediaScannerListener.aidl",
434 "media/java/android/media/IMediaScannerService.aidl",
435 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900436 "media/java/android/media/ISessionTokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800437 ":libaudioclient_aidl",
438 "media/java/android/media/IRecordingConfigDispatcher.aidl",
439 "media/java/android/media/IRemoteDisplayCallback.aidl",
440 "media/java/android/media/IRemoteDisplayProvider.aidl",
441 "media/java/android/media/IRemoteVolumeController.aidl",
442 "media/java/android/media/IRemoteVolumeObserver.aidl",
443 "media/java/android/media/IRingtonePlayer.aidl",
444 "media/java/android/media/IVolumeController.aidl",
445 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
446 "media/java/android/media/midi/IBluetoothMidiService.aidl",
447 "media/java/android/media/midi/IMidiDeviceListener.aidl",
448 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
449 "media/java/android/media/midi/IMidiDeviceServer.aidl",
450 "media/java/android/media/midi/IMidiManager.aidl",
451 "media/java/android/media/projection/IMediaProjection.aidl",
452 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
453 "media/java/android/media/projection/IMediaProjectionManager.aidl",
454 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
455 "media/java/android/media/session/IActiveSessionsListener.aidl",
456 "media/java/android/media/session/ICallback.aidl",
457 "media/java/android/media/session/IOnMediaKeyListener.aidl",
458 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
459 "media/java/android/media/session/ISession.aidl",
460 "media/java/android/media/session/ISessionCallback.aidl",
461 "media/java/android/media/session/ISessionController.aidl",
462 "media/java/android/media/session/ISessionControllerCallback.aidl",
463 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800464 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
465 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800466 "media/java/android/media/tv/ITvInputClient.aidl",
467 "media/java/android/media/tv/ITvInputHardware.aidl",
468 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
469 "media/java/android/media/tv/ITvInputManager.aidl",
470 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
471 "media/java/android/media/tv/ITvInputService.aidl",
472 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
473 "media/java/android/media/tv/ITvInputSession.aidl",
474 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
475 "media/java/android/media/tv/ITvRemoteProvider.aidl",
476 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
477 "media/java/android/service/media/IMediaBrowserService.aidl",
478 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
479 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
480 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
481 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
482 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
483 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
484 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
485 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
486 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
487 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
488 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800489 "telephony/java/android/telephony/data/IDataService.aidl",
490 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800491 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800492 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
493 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
494 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
495 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
496 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
500 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
501 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800502 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800503 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800504 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
Hall Liu79539972018-03-19 18:12:23 -0700505 "telephony/java/android/telephony/mbms/IDownloadStatusListener.aidl",
506 "telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800507 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
508 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
509 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800510 "telephony/java/android/telephony/INetworkService.aidl",
511 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800512 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
513 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
514 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
515 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
516 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
517 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
518 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
519 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
520 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
521 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
522 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
523 "telephony/java/com/android/ims/internal/IImsService.aidl",
524 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
525 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800526 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
527 "telephony/java/com/android/ims/internal/IImsUt.aidl",
528 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
529 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
530 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800531 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
532 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
533 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
534 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
535 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
536 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
537 "telephony/java/com/android/ims/ImsConfigListener.aidl",
538 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
539 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
540 "telephony/java/com/android/internal/telephony/IMms.aidl",
541 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
542 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
543 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
544 "telephony/java/com/android/internal/telephony/ISms.aidl",
545 "telephony/java/com/android/internal/telephony/ISub.aidl",
546 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
547 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
548 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800549 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
550 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800551 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
552 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800553 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800554 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800555 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800556 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800557 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
558 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
559 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800561 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800562 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800563 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
564 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
565 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
566 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800567 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800568 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
569 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800570 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
571 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
572 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800573 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800574 "wifi/java/android/net/wifi/IWifiManager.aidl",
575 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
576 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
577 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
578 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
579 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
580 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
581 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
582 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
583 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800584 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
585 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
586 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
587 "core/java/android/service/quicksettings/IQSService.aidl",
588 "core/java/android/service/quicksettings/IQSTileService.aidl",
589
590 ":libupdate_engine_aidl",
591
592 ":storaged_aidl",
593 ":netd_aidl",
594 ":vold_aidl",
595 ":installd_aidl",
596
597 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
598 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
599 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
600 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
601 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
602 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
603
604 "core/java/android/app/admin/SecurityLogTags.logtags",
605 "core/java/android/content/EventLogTags.logtags",
606 "core/java/android/speech/tts/EventLogTags.logtags",
607 "core/java/android/net/EventLogTags.logtags",
Makoto Onuki49392d32018-04-11 13:51:02 -0700608 "core/java/android/os/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800609 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800610 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800611 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800612 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800613 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800614
615 ":framework-statslog-gen",
616 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800617
618 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800619 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800620 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
621 "core/java",
622 "graphics/java",
623 "location/java",
624 "lowpan/java",
625 "media/java",
626 "media/mca/effect/java",
627 "media/mca/filterfw/java",
628 "media/mca/filterpacks/java",
629 "drm/java",
630 "opengl/java",
631 "sax/java",
632 "telecomm/java",
633 "telephony/java",
634 "wifi/java",
635 "keystore/java",
636 "rs/java",
637 ],
638
639 include_dirs: [
640 "system/update_engine/binder_bindings",
641 "frameworks/native/aidl/binder",
642 "frameworks/av/camera/aidl",
643 "frameworks/av/media/libaudioclient/aidl",
644 "frameworks/native/aidl/gui",
645 "system/core/storaged/binder",
646 "system/netd/server/binder",
647 "system/vold/binder",
648 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800649 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800650 ],
Olivier Gaillardb0ea4212018-07-26 11:52:37 +0100651
652 generate_get_transaction_name: true
Colin Crosscf3a0b52017-11-16 00:15:28 -0800653 },
654
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000655 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000656 // See comment on framework-atb-backward-compatibility module below
657 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
658 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000659 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
660 ],
661
Colin Crosscf3a0b52017-11-16 00:15:28 -0800662 no_framework_libs: true,
663 libs: [
664 "conscrypt",
665 "okhttp",
666 "bouncycastle",
667 "ext",
668 ],
669
670 static_libs: [
671 "framework-protos",
672 "android.hidl.base-V1.0-java",
673 "android.hardware.cas-V1.0-java",
674 "android.hardware.contexthub-V1.0-java",
675 "android.hardware.health-V1.0-java-constants",
676 "android.hardware.thermal-V1.0-java-constants",
677 "android.hardware.tv.input-V1.0-java-constants",
678 "android.hardware.usb-V1.0-java-constants",
679 "android.hardware.usb-V1.1-java-constants",
Michael Wrightf268bf52018-02-07 23:23:34 +0000680 "android.hardware.vibrator-V1.0-java",
681 "android.hardware.vibrator-V1.1-java",
682 "android.hardware.vibrator-V1.2-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800683 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000684 "android.hardware.radio-V1.0-java",
Jerry Zhang327b8092018-01-09 17:53:04 -0800685 "android.hardware.usb.gadget-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800686 ],
687
688 // Loaded with System.loadLibrary by android.view.textclassifier
Wei Jia0a8a8f02017-12-05 17:05:29 -0800689 required: [
690 "libtextclassifier",
Logan Chien71ddfea2018-02-27 16:43:50 +0800691 "libmedia2_jni",
692 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800693
694 javac_shard_size: 150,
695
696 dxflags: [
697 "--core-library",
698 "--multi-dex",
699 ],
700}
701
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000702// A temporary build target that is conditionally included on the bootclasspath if
703// org.apache.http.legacy library has been removed and which provides support for
704// maintaining backwards compatibility for APKs that target pre-P and depend on
705// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
706// specified on the build command line.
707java_library {
708 name: "framework-oahl-backward-compatibility",
Colin Crossd7647c12018-07-10 14:24:31 -0700709 installable: true,
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000710 srcs: [
711 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
712 ],
713}
714
Paul Duffina3b69212018-01-25 09:58:32 +0000715// A temporary build target that is conditionally included on the bootclasspath if
716// android.test.base library has been removed and which provides support for
717// maintaining backwards compatibility for APKs that target pre-P and depend on
718// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
719// specified on the build command line.
720java_library {
721 name: "framework-atb-backward-compatibility",
722 srcs: [
723 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
724 ],
725}
726
Colin Crosscf3a0b52017-11-16 00:15:28 -0800727genrule {
728 name: "framework-statslog-gen",
729 tools: ["stats-log-api-gen"],
730 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800731 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800732}
733
734gensrcs {
735 name: "framework-javastream-protos",
736 depfile: true,
737
Alex Light159799d2018-08-08 07:05:19 -0700738 tool_files: [ "tools/genprotos.sh", ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800739 tools: [
740 "aprotoc",
741 "protoc-gen-javastream",
742 "soong_zip",
743 ],
744
Alex Light159799d2018-08-08 07:05:19 -0700745 // TODO This should not be needed. If you set a custom OUT_DIR or OUT_DIR_COMMON_BASE you can
746 // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
747 // the way sbox rewrites the command. See b/70221552.
748 cmd: "$(location tools/genprotos.sh) " +
749 " $(location aprotoc) " +
750 " $(location protoc-gen-javastream) " +
751 " $(location soong_zip) " +
752 " $(genDir) " +
753 " $(depfile) " +
754 " $(in) " +
755 " $(out)",
Yi Jin437aa6e2018-01-10 11:34:26 -0800756 srcs: [
757 "core/proto/**/*.proto",
758 "libs/incident/**/*.proto",
759 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800760 output_extension: "srcjar",
761}
762
Colin Crossd8e02252017-10-02 17:14:22 -0700763// Build ext.jar
764// ============================================================
765java_library {
766 name: "ext",
Colin Crossa12c0f52018-06-27 11:00:11 -0700767 installable: true,
Colin Crossd8e02252017-10-02 17:14:22 -0700768 no_framework_libs: true,
769 static_libs: [
770 "libphonenumber-platform",
771 "nist-sip",
772 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000773 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700774 ],
775 dxflags: ["--core-library"],
776}
777
Andreas Gampe37b07632018-05-17 10:49:26 -0700778// ==== java proto host library ==============================
779java_library_host {
780 name: "platformprotos",
781 srcs: [
782 "cmds/am/proto/instrumentation_data.proto",
783 "core/proto/**/*.proto",
784 "libs/incident/proto/**/*.proto",
785 "cmds/statsd/src/**/*.proto",
786 ],
787 proto: {
788 include_dirs: ["external/protobuf/src"],
789 type: "full",
790 },
791 errorprone: {
792 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
793 },
794}
795
Colin Cross43214162018-08-20 13:57:24 -0700796// ==== java proto device library (for test only) ==============================
797java_library {
798 name: "platformprotosnano",
799 proto: {
800 type: "nano",
801 output_params: ["store_unknown_fields=true"],
802 include_dirs: ["external/protobuf/src"],
803 },
804
805 sdk_version: "current",
806 srcs: [
807 "core/proto/**/*.proto",
808 "libs/incident/proto/android/os/**/*.proto",
809 ],
810}
811
812// ==== java proto device library (for test only) ==============================
813java_library {
814 name: "platformprotoslite",
815 proto: {
816 type: "lite",
817 include_dirs: ["external/protobuf/src"],
818 },
819
820 srcs: [
821 "core/proto/**/*.proto",
822 "libs/incident/proto/android/os/**/*.proto",
823 ],
824 // Protos have lots of MissingOverride and similar.
825 errorprone: {
826 javacflags: ["-XepDisableAllChecks"],
827 },
828}
829
Colin Crossaa0d4352017-05-02 14:14:56 -0700830// ==== c++ proto device library ==============================
831cc_library {
832 name: "libplatformprotos",
833 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700834 proto: {
835 export_proto_headers: true,
836 include_dirs: ["external/protobuf/src"],
837 },
838
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700839 cflags: [
840 "-Wall",
841 "-Werror",
842 "-Wno-unused-parameter",
843 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800844
845 srcs: [
846 "core/proto/**/*.proto",
847 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800848 ],
849
Colin Crossaa0d4352017-05-02 14:14:56 -0700850 target: {
851 host: {
852 proto: {
853 type: "full",
854 },
855 },
856 android: {
857 proto: {
858 type: "lite",
859 },
860 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700861 enabled: false,
862 },
863 },
864 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700865}
866
Yi Jin04625ad2017-10-17 18:29:33 -0700867gensrcs {
868 name: "gen-platform-proto-constants",
869 depfile: true,
870
871 tools: [
872 "aprotoc",
873 "protoc-gen-cppstream",
874 ],
875
876 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -0800877 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -0800878 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800879 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700880 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700881 "core/proto/android/os/kernelwake.proto",
882 "core/proto/android/os/pagetypeinfo.proto",
883 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800884 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800885 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800886 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700887 ],
888
889 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800890 cmd: "mkdir -p $(genDir) " +
891 "&& $(location aprotoc) " +
892 " --plugin=$(location protoc-gen-cppstream) " +
893 " --dependency_out=$(depfile) " +
894 " --cppstream_out=$(genDir) " +
895 " -Iexternal/protobuf/src " +
896 " -I . " +
897 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700898
Logan Chien71ddfea2018-02-27 16:43:50 +0800899 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -0700900}
901
Dan Albert2a8d9c22016-09-23 15:55:49 -0700902subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700903 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600904 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800905 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700906 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700907 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500908 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700909 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700910 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700911]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800912
913optional_subdirs = [
914 "core/tests/utiltests/jni",
915]
Steven Morelandeddafe92017-10-02 16:58:41 -0700916
Colin Crossa2b78a72018-03-29 13:31:04 -0700917// TODO(b/77285514): remove this once the last few hidl interfaces have been
918// updated to use hwbinder.stubs.
Steven Morelandeddafe92017-10-02 16:58:41 -0700919java_library {
920 name: "hwbinder",
921 no_framework_libs: true,
922
923 srcs: [
924 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800925 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700926 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800927 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700928 "core/java/android/os/HwBinder.java",
929 "core/java/android/os/HwBlob.java",
930 "core/java/android/os/HwParcel.java",
931 "core/java/android/os/IHwBinder.java",
932 "core/java/android/os/IHwInterface.java",
933 "core/java/android/os/DeadObjectException.java",
934 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -0700935 "core/java/android/os/NativeHandle.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700936 "core/java/android/os/RemoteException.java",
937 "core/java/android/util/AndroidException.java",
938 ],
939
940 dxflags: ["--core-library"],
941 installable: false,
942}
Nan Zhang2db709d2017-11-08 20:48:46 -0800943
944python_defaults {
945 name: "base_default",
946 version: {
947 py2: {
948 enabled: true,
949 embedded_launcher: true,
950 },
951 py3: {
952 enabled: false,
953 embedded_launcher: false,
954 },
955 },
956}
957
958python_binary_host {
959 name: "fontchain_linter",
960 defaults: ["base_default"],
961 main: "tools/fonts/fontchain_linter.py",
962 srcs: [
963 "tools/fonts/fontchain_linter.py",
964 ],
965 libs: [
966 "fontTools",
967 ],
968}
Nan Zhang172875b2018-02-27 11:24:03 -0800969
970// TODO: Don't rely on this list once droiddoc can take a list of packages to document
971frameworks_base_subdirs = [
972 "core/java",
973 "graphics/java",
974 "location/java",
975 "media/java",
976 "media/mca/effect/java",
977 "media/mca/filterfw/java",
978 "media/mca/filterpacks/java",
979 "drm/java",
980 "opengl/java",
981 "sax/java",
982 "telecomm/java",
983 "telephony/java",
984 "wifi/java",
985 "lowpan/java",
986 "keystore/java",
987 "rs/java",
988]
989
990packages_to_document = [
991 "android",
992 "javax/microedition/khronos",
993 "org/apache/http/conn",
994 "org/apache/http/params",
995]
996
997// The since flag (-since N.xml API_LEVEL) is used to add API Level information
998// to the reference documentation. Must be in order of oldest to newest.
999//
1000// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
1001// not be referenced in the documentation.
1002framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
Nan Zhangf33e1942018-03-23 00:57:00 -07001003 "-hidePackage com.android.internal " +
1004 "-hidePackage com.android.internal.util " +
1005 "-hidePackage com.android.okhttp " +
1006 "-hidePackage com.android.org.conscrypt " +
1007 "-hidePackage com.android.server " +
Anton Hansson6a9e7262018-04-19 16:23:53 +01001008 "-since $(location 1/public/api/android.xml) 1 " +
1009 "-since $(location 2/public/api/android.xml) 2 " +
1010 "-since $(location 3/public/api/android.xml) 3 " +
1011 "-since $(location 4/public/api/android.xml) 4 " +
1012 "-since $(location 5/public/api/android.xml) 5 " +
1013 "-since $(location 6/public/api/android.xml) 6 " +
1014 "-since $(location 7/public/api/android.xml) 7 " +
1015 "-since $(location 8/public/api/android.xml) 8 " +
1016 "-since $(location 9/public/api/android.xml) 9 " +
1017 "-since $(location 10/public/api/android.xml) 10 " +
1018 "-since $(location 11/public/api/android.xml) 11 " +
1019 "-since $(location 12/public/api/android.xml) 12 " +
1020 "-since $(location 13/public/api/android.xml) 13 " +
1021 "-since $(location 14/public/api/android.txt) 14 " +
1022 "-since $(location 15/public/api/android.txt) 15 " +
1023 "-since $(location 16/public/api/android.txt) 16 " +
1024 "-since $(location 17/public/api/android.txt) 17 " +
1025 "-since $(location 18/public/api/android.txt) 18 " +
1026 "-since $(location 19/public/api/android.txt) 19 " +
1027 "-since $(location 20/public/api/android.txt) 20 " +
1028 "-since $(location 21/public/api/android.txt) 21 " +
1029 "-since $(location 22/public/api/android.txt) 22 " +
1030 "-since $(location 23/public/api/android.txt) 23 " +
1031 "-since $(location 24/public/api/android.txt) 24 " +
1032 "-since $(location 25/public/api/android.txt) 25 " +
1033 "-since $(location 26/public/api/android.txt) 26 " +
1034 "-since $(location 27/public/api/android.txt) 27 " +
1035 "-since $(location 28/public/api/android.txt) 28 " +
Nan Zhange9a76f72018-07-11 15:19:22 -07001036 "-since $(location api/current.txt) Q " +
Nan Zhang172875b2018-02-27 11:24:03 -08001037 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
1038 "-overview $(location core/java/overview.html) " +
1039 // Federate Support Library references against local API file.
1040 "-federate SupportLib https://developer.android.com " +
1041 "-federationapi SupportLib $(location current/support-api.txt) "
1042
1043doc_defaults {
Nan Zhange9a76f72018-07-11 15:19:22 -07001044 name: "api-stubs-default",
Nan Zhang172875b2018-02-27 11:24:03 -08001045 srcs: [
Nan Zhang172875b2018-02-27 11:24:03 -08001046 ":opt-telephony-srcs",
1047 ":opt-net-voip-srcs",
1048 ":openjdk_javadoc_files",
1049 ":non_openjdk_javadoc_files",
1050 ":android_icu4j_src_files_for_docs",
1051 ":gen-ojluni-jaif-annotated-srcs",
1052 ],
1053 exclude_srcs: [
1054 ":annotated_ojluni_files",
1055 ],
1056 srcs_lib: "framework",
1057 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1058 srcs_lib_whitelist_pkgs: packages_to_document,
1059 libs: [
1060 "core-oj",
1061 "core-libart",
1062 "conscrypt",
1063 "bouncycastle",
1064 "okhttp",
1065 "ext",
1066 "framework",
1067 "voip-common",
1068 "android.test.mock",
1069 ],
1070 local_sourcepaths: frameworks_base_subdirs,
1071 html_dirs: [
1072 "docs/html",
1073 ],
1074 knowntags: [
1075 "docs/knowntags.txt",
1076 ":known-oj-tags",
1077 ],
1078 custom_template: "droiddoc-templates-sdk",
1079 hdf: [
1080 "dac true",
1081 "sdk.codename O",
1082 "sdk.preview.version 1",
1083 "sdk.version 7.0",
1084 "sdk.rel.id 1",
1085 "sdk.preview 0",
1086 ],
1087 resourcesdir: "docs/html/reference/images",
1088 resourcesoutdir: "reference/android/images",
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001089 installable: false,
Nan Zhang172875b2018-02-27 11:24:03 -08001090}
1091
Nan Zhange9a76f72018-07-11 15:19:22 -07001092doc_defaults {
1093 name: "framework-docs-default",
1094 srcs: [
1095 "test-base/src/**/*.java",
1096 ":opt-telephony-srcs",
1097 ":opt-net-voip-srcs",
1098 ":openjdk_javadoc_files",
1099 ":non_openjdk_javadoc_files",
1100 ":android_icu4j_src_files_for_docs",
1101 ":gen-ojluni-jaif-annotated-srcs",
1102 "test-mock/src/**/*.java",
1103 "test-runner/src/**/*.java",
1104 ],
1105 exclude_srcs: [
1106 ":annotated_ojluni_files",
1107 ],
1108 srcs_lib: "framework",
1109 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1110 srcs_lib_whitelist_pkgs: packages_to_document,
1111 libs: [
Nan Zhangdbc25312018-08-02 16:29:43 -07001112 "conscrypt",
1113 "bouncycastle",
Nan Zhange9a76f72018-07-11 15:19:22 -07001114 "voip-common",
1115 "android.test.mock",
1116 "android-support-annotations",
1117 "android-support-compat",
1118 "android-support-core-ui",
1119 "android-support-core-utils",
1120 "android-support-customtabs",
1121 "android-support-design",
1122 "android-support-dynamic-animation",
1123 "android-support-exifinterface",
1124 "android-support-fragment",
1125 "android-support-media-compat",
1126 "android-support-percent",
1127 "android-support-recommendation",
1128 "android-support-transition",
1129 "android-support-tv-provider",
1130 "android-support-v7-cardview",
1131 "android-support-v7-gridlayout",
1132 "android-support-v7-mediarouter",
1133 "android-support-v7-palette",
1134 "android-support-v7-preference",
1135 "android-support-v13",
1136 "android-support-v14-preference",
1137 "android-support-v17-leanback",
1138 "android-support-v17-preference-leanback",
1139 "android-support-wear",
1140 "android-support-vectordrawable",
1141 "android-support-animatedvectordrawable",
1142 "android-support-v7-appcompat",
1143 "android-support-v7-recyclerview",
1144 "android-support-emoji",
1145 "android-support-emoji-appcompat",
1146 "android-support-emoji-bundled",
1147 "android-support-v8-renderscript",
1148 "android-support-multidex",
1149 "android-support-multidex-instrumentation",
1150 ],
1151 local_sourcepaths: frameworks_base_subdirs,
1152 html_dirs: [
1153 "docs/html",
1154 ],
1155 knowntags: [
1156 "docs/knowntags.txt",
1157 ":known-oj-tags",
1158 ],
1159 custom_template: "droiddoc-templates-sdk",
1160 resourcesdir: "docs/html/reference/images/",
1161 resourcesoutdir: "reference/android/images/",
1162 hdf: [
1163 "dac true",
1164 "sdk.codename O",
1165 "sdk.preview.version 1",
1166 "sdk.version 7.0",
1167 "sdk.rel.id 1",
1168 "sdk.preview 0",
1169 ],
1170 arg_files: [
1171 "core/res/AndroidManifest.xml",
1172 ":api-version-xml",
1173 "core/java/overview.html",
1174 ":current-support-api",
1175 "api/current.txt",
1176 ],
1177 create_stubs: false,
1178}
1179
1180droiddoc {
1181 name: "doc-comment-check-docs",
1182 defaults: ["framework-docs-default"],
1183 args: framework_docs_args + " -referenceonly -parsecomments",
1184 installable: false,
1185}
1186
1187droiddoc {
1188 name: "offline-sdk-docs",
1189 defaults: ["framework-docs-default"],
1190 hdf: [
1191 "android.whichdoc offline",
1192 ],
1193 proofread_file: "offline-sdk-docs-proofrerad.txt",
1194 args: framework_docs_args + " -offlinemode -title \"Android SDK\"",
1195 write_sdk_values: true,
1196 static_doc_index_redirect: "docs/docs-preview-index.html",
1197}
1198
1199droiddoc {
1200 name: "offline-sdk-referenceonly-docs",
1201 defaults: ["framework-docs-default"],
1202 hdf: [
1203 "android.whichdoc offline",
1204 ],
1205 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
1206 args: framework_docs_args + " -offlinemode -title \"Android SDK\" -referenceonly",
1207 write_sdk_values: true,
1208 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1209 static_doc_properties: "docs/source.properties",
1210}
1211
1212droiddoc {
1213 name: "offline-system-sdk-referenceonly-docs",
1214 defaults: ["framework-docs-default"],
1215 hdf: [
1216 "android.whichdoc offline",
1217 ],
1218 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
1219 args: framework_docs_args + " -hide 101 -hide 104 -hide 108" +
1220 " -showAnnotation android.annotation.SystemApi " +
1221 " -offlinemode -title \"Android System SDK\" -referenceonly",
1222 write_sdk_values: true,
1223 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
1224 static_doc_properties: "docs/source.properties",
1225}
1226
1227droiddoc {
1228 name: "online-sdk-docs",
1229 defaults: ["framework-docs-default"],
1230 hdf: [
1231 "android.whichdoc online",
1232 "android.hasSamples true",
1233 ],
1234 proofread_file: "online-sdk-docs-proofrerad.txt",
1235 args: framework_docs_args +
1236 " -toroot / -samplegroup Admin " +
1237 " -samplegroup Background " +
1238 " -samplegroup Connectivity " +
1239 " -samplegroup Content " +
1240 " -samplegroup Input " +
1241 " -samplegroup Media " +
1242 " -samplegroup Notification " +
1243 " -samplegroup RenderScript " +
1244 " -samplegroup Security " +
1245 " -samplegroup Sensors " +
1246 " -samplegroup System " +
1247 " -samplegroup Testing " +
1248 " -samplegroup UI " +
1249 " -samplegroup Views " +
1250 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1251}
1252
1253droiddoc {
1254 name: "online-system-api-sdk-docs",
1255 defaults: ["framework-docs-default"],
1256 hdf: [
1257 "android.whichdoc online",
1258 "android.hasSamples true",
1259 ],
1260 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
1261 args: framework_docs_args +
1262 " -referenceonly " +
1263 " -showAnnotation android.annotation.SystemApi " +
1264 " -title \"Android SDK - Including system APIs.\" " +
1265 " -hide 101 " +
1266 " -hide 104 " +
1267 " -hide 108 " +
1268 " -toroot / -samplegroup Admin " +
1269 " -samplegroup Background " +
1270 " -samplegroup Connectivity " +
1271 " -samplegroup Content " +
1272 " -samplegroup Input " +
1273 " -samplegroup Media " +
1274 " -samplegroup Notification " +
1275 " -samplegroup RenderScript " +
1276 " -samplegroup Security " +
1277 " -samplegroup Sensors " +
1278 " -samplegroup System " +
1279 " -samplegroup Testing " +
1280 " -samplegroup UI " +
1281 " -samplegroup Views " +
1282 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1283 installable: false,
1284}
1285
1286droiddoc {
1287 name: "ds-docs",
1288 defaults: ["framework-docs-default"],
1289 hdf: [
1290 "android.whichdoc online",
1291 "android.hasSamples true",
1292 ],
1293 proofread_file: "ds-docs-proofrerad.txt",
1294 args: framework_docs_args +
1295 " -toroot / -samplegroup Admin " +
1296 " -samplegroup Background " +
1297 " -samplegroup Connectivity " +
1298 " -samplegroup Content " +
1299 " -samplegroup Input " +
1300 " -samplegroup Media " +
1301 " -samplegroup Notification " +
1302 " -samplegroup RenderScript " +
1303 " -samplegroup Security " +
1304 " -samplegroup Sensors " +
1305 " -samplegroup System " +
1306 " -samplegroup Testing " +
1307 " -samplegroup UI " +
1308 " -samplegroup Views " +
1309 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
1310}
1311
1312droiddoc {
1313 name: "ds-static-docs",
1314 defaults: ["framework-docs-default"],
1315 hdf: [
1316 "android.whichdoc online",
1317 ],
1318 proofread_file: "ds-static-docs-proofrerad.txt",
1319 args: framework_docs_args +
1320 " -staticonly " +
1321 " -toroot / " +
1322 " -devsite " +
1323 " -ignoreJdLinks ",
1324}
1325
1326droiddoc {
1327 name: "ds-ref-navtree-docs",
1328 defaults: ["framework-docs-default"],
1329 hdf: [
1330 "android.whichdoc online",
1331 ],
1332 proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
1333 args: framework_docs_args +
1334 " -toroot / " +
1335 " -atLinksNavtree " +
1336 " -navtreeonly ",
1337}
1338
1339droiddoc {
1340 name: "online-sdk-dev-docs",
1341 defaults: ["framework-docs-default"],
1342 hdf: [
1343 "android.whichdoc online",
1344 "android.hasSamples true",
1345 ],
1346 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
1347 args: framework_docs_args +
1348 " -toroot / -samplegroup Admin " +
1349 " -samplegroup Background " +
1350 " -samplegroup Connectivity " +
1351 " -samplegroup Content " +
1352 " -samplegroup Input " +
1353 " -samplegroup Media " +
1354 " -samplegroup Notification " +
1355 " -samplegroup RenderScript " +
1356 " -samplegroup Security " +
1357 " -samplegroup Sensors " +
1358 " -samplegroup System " +
1359 " -samplegroup Testing " +
1360 " -samplegroup UI " +
1361 " -samplegroup Views " +
1362 " -samplegroup Wearable -samplesdir development/samples/browseable ",
1363}
1364
1365droiddoc {
1366 name: "hidden-docs",
1367 defaults: ["framework-docs-default"],
1368 proofread_file: "hidden-docs-proofrerad.txt",
1369 args: framework_docs_args +
1370 " -referenceonly " +
1371 " -title \"Android SDK - Including hidden APIs.\"",
1372}
1373
Colin Crossa2b78a72018-03-29 13:31:04 -07001374droiddoc {
1375 name: "hwbinder-stubs-docs",
1376 srcs: [
1377 "core/java/android/os/HidlSupport.java",
1378 "core/java/android/annotation/IntDef.java",
1379 "core/java/android/annotation/NonNull.java",
1380 "core/java/android/annotation/SystemApi.java",
1381 "core/java/android/os/HwBinder.java",
1382 "core/java/android/os/HwBlob.java",
1383 "core/java/android/os/HwParcel.java",
1384 "core/java/android/os/IHwBinder.java",
1385 "core/java/android/os/IHwInterface.java",
1386 "core/java/android/os/DeadObjectException.java",
1387 "core/java/android/os/DeadSystemException.java",
Nirav Atre9850dd92018-07-24 17:03:44 -07001388 "core/java/android/os/NativeHandle.java",
Colin Crossa2b78a72018-03-29 13:31:04 -07001389 "core/java/android/os/RemoteException.java",
1390 "core/java/android/util/AndroidException.java",
1391 ],
1392 custom_template: "droiddoc-templates-sdk",
1393 installable: false,
1394 no_framework_libs: true,
1395 args: "-showAnnotation android.annotation.SystemApi -nodocs -stubsourceonly",
1396}
1397
1398java_library_static {
1399 name: "hwbinder.stubs",
1400 sdk_version: "core_current",
1401 srcs: [
1402 ":hwbinder-stubs-docs",
1403 ],
1404}
Nan Zhanga0f91af2018-04-09 17:41:51 -07001405
David Brazdil96c9cbc2018-04-26 14:05:13 +01001406droiddoc {
1407 name: "hiddenapi-lists",
Nan Zhange9a76f72018-07-11 15:19:22 -07001408 defaults: ["api-stubs-default"],
David Brazdil96c9cbc2018-04-26 14:05:13 +01001409 arg_files: [
1410 "core/res/AndroidManifest.xml",
1411 ":api-version-xml",
1412 "core/java/overview.html",
1413 ":current-support-api",
Nan Zhange9a76f72018-07-11 15:19:22 -07001414 "api/current.txt",
David Brazdil96c9cbc2018-04-26 14:05:13 +01001415 ],
David Brazdil6f6a1262018-05-31 13:58:41 +01001416 dex_api_filename: "public-dex.txt",
David Brazdil96c9cbc2018-04-26 14:05:13 +01001417 private_dex_api_filename: "private-dex.txt",
1418 removed_dex_api_filename: "removed-dex.txt",
1419 args: framework_docs_args +
1420 " -referenceonly" +
1421 " -nodocs" +
1422 " -showUnannotated" +
1423 " -showAnnotation android.annotation.SystemApi" +
1424 " -showAnnotation android.annotation.TestApi",
1425}
1426
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001427droiddoc {
1428 name: "hiddenapi-mappings",
Nan Zhange9a76f72018-07-11 15:19:22 -07001429 defaults: ["api-stubs-default"],
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001430 arg_files: [
1431 "core/res/AndroidManifest.xml",
1432 ":api-version-xml",
1433 "core/java/overview.html",
1434 ":current-support-api",
Nan Zhange9a76f72018-07-11 15:19:22 -07001435 "api/current.txt",
Mathew Inwood0a6a2732018-06-22 15:30:02 +01001436 ],
1437 dex_mapping_filename: "dex-mapping.txt",
1438 args: framework_docs_args +
1439 " -referenceonly" +
1440 " -nodocs" +
1441 " -showUnannotated" +
1442 " -showAnnotation android.annotation.SystemApi" +
1443 " -showAnnotation android.annotation.TestApi",
1444}
1445
Nan Zhanga0f91af2018-04-09 17:41:51 -07001446filegroup {
1447 name: "apache-http-stubs-sources",
1448 srcs: [
1449 "core/java/org/apache/http/conn/ConnectTimeoutException.java",
1450 "core/java/org/apache/http/conn/scheme/HostNameResolver.java",
1451 "core/java/org/apache/http/conn/scheme/LayeredSocketFactory.java",
1452 "core/java/org/apache/http/conn/scheme/SocketFactory.java",
1453 "core/java/org/apache/http/conn/ssl/AbstractVerifier.java",
1454 "core/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java",
1455 "core/java/org/apache/http/conn/ssl/AndroidDistinguishedNameParser.java",
1456 "core/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java",
1457 "core/java/org/apache/http/conn/ssl/SSLSocketFactory.java",
1458 "core/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java",
1459 "core/java/org/apache/http/conn/ssl/X509HostnameVerifier.java",
1460 "core/java/org/apache/http/params/CoreConnectionPNames.java",
1461 "core/java/org/apache/http/params/HttpConnectionParams.java",
1462 "core/java/org/apache/http/params/HttpParams.java",
1463 "core/java/android/net/http/HttpResponseCache.java",
1464 "core/java/android/net/http/SslCertificate.java",
1465 "core/java/android/net/http/SslError.java",
1466 "core/java/com/android/internal/util/HexDump.java",
1467 ],
1468}
Nan Zhang4212eb12018-04-25 17:23:33 -07001469
1470metalava_framework_docs_args = "--manifest $(location core/res/AndroidManifest.xml) " +
1471 "--hide-package com.android.okhttp " +
1472 "--hide-package com.android.org.conscrypt --hide-package com.android.server " +
1473 "--hide RequiresPermission " +
1474 "--hide MissingPermission --hide BroadcastBehavior " +
1475 "--hide HiddenSuperclass --hide DeprecationMismatch --hide UnavailableSymbol " +
1476 "--hide SdkConstant --hide HiddenTypeParameter --hide Todo --hide Typo"
1477
1478doc_defaults {
Nan Zhange9a76f72018-07-11 15:19:22 -07001479 name: "metalava-api-stubs-default",
Nan Zhang4212eb12018-04-25 17:23:33 -07001480 srcs: [
Nan Zhang4212eb12018-04-25 17:23:33 -07001481 ":opt-telephony-srcs",
1482 ":opt-net-voip-srcs",
1483 ":openjdk_javadoc_files",
1484 ":non_openjdk_javadoc_files",
1485 ":android_icu4j_src_files_for_docs",
1486 ":gen-ojluni-jaif-annotated-srcs",
1487 ],
1488 exclude_srcs: [
1489 ":annotated_ojluni_files",
1490 ],
1491 srcs_lib: "framework",
1492 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
1493 srcs_lib_whitelist_pkgs: packages_to_document,
1494 libs: [
1495 "core-oj",
1496 "core-libart",
1497 "conscrypt",
1498 "bouncycastle",
1499 "okhttp",
1500 "ext",
1501 "framework",
1502 "voip-common",
1503 "android.test.mock",
1504 ],
1505 local_sourcepaths: frameworks_base_subdirs,
1506 installable: false,
1507 metalava_enabled: true,
Nan Zhang4b816582018-06-13 17:38:37 -07001508 metalava_annotations_enabled: true,
Nan Zhang1c8219b2018-08-16 17:10:22 -07001509 metalava_previous_api: ":last-released-public-api",
Pete Gillind6eece32018-07-19 18:08:06 +01001510 metalava_merge_annotations_dirs: [
Nan Zhange379f402018-08-01 15:07:38 -07001511 "metalava-manual",
Pete Gillinc8cbb362018-07-31 13:33:03 +01001512 "ojluni-annotated-stubs",
Pete Gillind6eece32018-07-19 18:08:06 +01001513 ],
Nan Zhang4212eb12018-04-25 17:23:33 -07001514}
1515
1516droiddoc {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001517 name: "api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001518 defaults: ["metalava-api-stubs-default"],
Nan Zhang4212eb12018-04-25 17:23:33 -07001519 api_filename: "public_api.txt",
1520 private_api_filename: "private.txt",
1521 removed_api_filename: "removed.txt",
1522 arg_files: [
1523 "core/res/AndroidManifest.xml",
1524 ],
1525 args: metalava_framework_docs_args,
Nan Zhange5612602018-08-16 16:16:00 -07001526 check_api: {
1527 current: {
1528 api_file: "api/current.txt",
1529 removed_api_file: "api/removed.txt",
1530 },
1531 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001532}
1533
1534droiddoc {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001535 name: "system-api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001536 defaults: ["metalava-api-stubs-default"],
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001537 api_tag_name: "SYSTEM",
Nan Zhang4212eb12018-04-25 17:23:33 -07001538 api_filename: "system-api.txt",
1539 private_api_filename: "system-private.txt",
1540 private_dex_api_filename: "system-private-dex.txt",
1541 removed_api_filename: "system-removed.txt",
1542 arg_files: [
1543 "core/res/AndroidManifest.xml",
1544 ],
1545 args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi",
Nan Zhange5612602018-08-16 16:16:00 -07001546 check_api: {
1547 current: {
1548 api_file: "api/system-current.txt",
1549 removed_api_file: "api/system-removed.txt",
1550 },
1551 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001552}
1553
1554droiddoc {
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001555 name: "test-api-stubs-docs",
Nan Zhange9a76f72018-07-11 15:19:22 -07001556 defaults: ["metalava-api-stubs-default"],
Nan Zhangc28a0ac2018-08-07 13:40:33 -07001557 api_tag_name: "TEST",
Nan Zhang4212eb12018-04-25 17:23:33 -07001558 api_filename: "test-api.txt",
1559 removed_api_filename: "test-removed.txt",
1560 arg_files: [
1561 "core/res/AndroidManifest.xml",
1562 ],
1563 args: metalava_framework_docs_args + " --show-annotation android.annotation.TestApi",
Nan Zhange5612602018-08-16 16:16:00 -07001564 check_api: {
1565 current: {
1566 api_file: "api/test-current.txt",
1567 removed_api_file: "api/test-removed.txt",
1568 },
1569 },
Nan Zhang4212eb12018-04-25 17:23:33 -07001570}