blob: d21bb36c61b351bb96edeff3f6cc9e73f519dba7 [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",
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/IAssistDataReceiver.aidl",
67 "core/java/android/app/ITaskStackListener.aidl",
68 "core/java/android/app/IBackupAgent.aidl",
69 "core/java/android/app/IEphemeralResolver.aidl",
70 "core/java/android/app/IInputForwarder.aidl",
71 "core/java/android/app/IInstantAppResolver.aidl",
72 "core/java/android/app/IInstrumentationWatcher.aidl",
73 "core/java/android/app/INotificationManager.aidl",
74 "core/java/android/app/IProcessObserver.aidl",
75 "core/java/android/app/ISearchManager.aidl",
76 "core/java/android/app/ISearchManagerCallback.aidl",
77 "core/java/android/app/IServiceConnection.aidl",
78 "core/java/android/app/IStopUserCallback.aidl",
79 "core/java/android/app/job/IJobCallback.aidl",
80 "core/java/android/app/job/IJobScheduler.aidl",
81 "core/java/android/app/job/IJobService.aidl",
82 "core/java/android/app/ITransientNotification.aidl",
83 "core/java/android/app/IUidObserver.aidl",
84 "core/java/android/app/IUiAutomationConnection.aidl",
85 "core/java/android/app/IUiModeManager.aidl",
86 "core/java/android/app/IUserSwitchObserver.aidl",
87 "core/java/android/app/IWallpaperManager.aidl",
88 "core/java/android/app/IWallpaperManagerCallback.aidl",
89 "core/java/android/app/admin/IDeviceAdminService.aidl",
90 "core/java/android/app/admin/IDevicePolicyManager.aidl",
91 "core/java/android/app/trust/IStrongAuthTracker.aidl",
92 "core/java/android/app/trust/ITrustManager.aidl",
93 "core/java/android/app/trust/ITrustListener.aidl",
94 "core/java/android/app/backup/IBackupManager.aidl",
95 "core/java/android/app/backup/IBackupObserver.aidl",
96 "core/java/android/app/backup/IBackupManagerMonitor.aidl",
97 "core/java/android/app/backup/IFullBackupRestoreObserver.aidl",
98 "core/java/android/app/backup/IRestoreObserver.aidl",
99 "core/java/android/app/backup/IRestoreSession.aidl",
100 "core/java/android/app/backup/ISelectBackupTransportCallback.aidl",
Jason Monk8f5f7ff2017-10-17 14:12:42 -0400101 "core/java/android/app/slice/ISliceManager.aidl",
Jason Monk74f5e362017-12-06 08:56:33 -0500102 "core/java/android/app/slice/ISliceListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800103 "core/java/android/app/timezone/ICallback.aidl",
104 "core/java/android/app/timezone/IRulesManager.aidl",
105 "core/java/android/app/usage/ICacheQuotaService.aidl",
106 "core/java/android/app/usage/IStorageStatsManager.aidl",
107 "core/java/android/app/usage/IUsageStatsManager.aidl",
108 ":libbluetooth-binder-aidl",
109 "core/java/android/content/IClipboard.aidl",
110 "core/java/android/content/IContentService.aidl",
111 "core/java/android/content/IIntentReceiver.aidl",
112 "core/java/android/content/IIntentSender.aidl",
113 "core/java/android/content/IOnPrimaryClipChangedListener.aidl",
114 "core/java/android/content/IRestrictionsManager.aidl",
115 "core/java/android/content/ISyncAdapter.aidl",
Philip P. Moltmann486b2412018-01-03 11:29:01 -0800116 "core/java/android/content/ISyncAdapterUnsyncableAccountCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800117 "core/java/android/content/ISyncContext.aidl",
118 "core/java/android/content/ISyncServiceAdapter.aidl",
119 "core/java/android/content/ISyncStatusObserver.aidl",
120 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000121 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800122 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
123 "core/java/android/content/pm/ILauncherApps.aidl",
124 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
125 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
126 "core/java/android/content/pm/IOtaDexopt.aidl",
127 "core/java/android/content/pm/IPackageDataObserver.aidl",
128 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
129 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
130 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
131 "core/java/android/content/pm/IPackageInstaller.aidl",
132 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
133 "core/java/android/content/pm/IPackageInstallerSession.aidl",
134 "core/java/android/content/pm/IPackageManager.aidl",
135 ":libbinder_aidl",
136 "core/java/android/content/pm/IPackageMoveObserver.aidl",
137 "core/java/android/content/pm/IPackageStatsObserver.aidl",
138 "core/java/android/content/pm/IPinItemRequest.aidl",
139 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800140 "core/java/android/content/pm/dex/IArtManager.aidl",
141 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800142 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
143 "core/java/android/database/IContentObserver.aidl",
144 ":libcamera_client_aidl",
145 ":libcamera_client_framework_aidl",
146 "core/java/android/hardware/IConsumerIrService.aidl",
147 "core/java/android/hardware/ISerialManager.aidl",
148 "core/java/android/hardware/display/IDisplayManager.aidl",
149 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
150 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800151 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
152 "core/java/android/hardware/fingerprint/IFingerprintDialogReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800153 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
154 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800155 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
156 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
157 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
158 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
159 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
160 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
161 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
163 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
164 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
165 "core/java/android/hardware/input/IInputManager.aidl",
166 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
167 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
168 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
169 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
170 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
171 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800172 "core/java/android/hardware/location/IGeofenceHardware.aidl",
173 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
174 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
175 "core/java/android/hardware/location/IContextHubCallback.aidl",
176 "core/java/android/hardware/location/IContextHubClient.aidl",
177 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
178 "core/java/android/hardware/location/IContextHubService.aidl",
179 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800180 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
181 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800182 "core/java/android/hardware/radio/IRadioService.aidl",
183 "core/java/android/hardware/radio/ITuner.aidl",
184 "core/java/android/hardware/radio/ITunerCallback.aidl",
185 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
186 "core/java/android/hardware/usb/IUsbManager.aidl",
187 "core/java/android/net/ICaptivePortal.aidl",
188 "core/java/android/net/IConnectivityManager.aidl",
189 "core/java/android/net/IIpConnectivityMetrics.aidl",
190 "core/java/android/net/IEthernetManager.aidl",
191 "core/java/android/net/IEthernetServiceListener.aidl",
192 "core/java/android/net/INetdEventCallback.aidl",
193 "core/java/android/net/IIpSecService.aidl",
194 "core/java/android/net/INetworkManagementEventObserver.aidl",
195 "core/java/android/net/INetworkPolicyListener.aidl",
196 "core/java/android/net/INetworkPolicyManager.aidl",
197 "core/java/android/net/INetworkRecommendationProvider.aidl",
198 "core/java/android/net/INetworkScoreCache.aidl",
199 "core/java/android/net/INetworkScoreService.aidl",
200 "core/java/android/net/INetworkStatsService.aidl",
201 "core/java/android/net/INetworkStatsSession.aidl",
202 "core/java/android/net/ITetheringStatsProvider.aidl",
203 "core/java/android/net/nsd/INsdManager.aidl",
204 "core/java/android/nfc/IAppCallback.aidl",
205 "core/java/android/nfc/INfcAdapter.aidl",
206 "core/java/android/nfc/INfcAdapterExtras.aidl",
207 "core/java/android/nfc/INfcTag.aidl",
208 "core/java/android/nfc/INfcCardEmulation.aidl",
209 "core/java/android/nfc/INfcFCardEmulation.aidl",
210 "core/java/android/nfc/INfcUnlockHandler.aidl",
211 "core/java/android/nfc/INfcDta.aidl",
212 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800213 "core/java/android/se/omapi/ISecureElementService.aidl",
214 "core/java/android/se/omapi/ISecureElementListener.aidl",
215 "core/java/android/se/omapi/ISecureElementChannel.aidl",
216 "core/java/android/se/omapi/ISecureElementReader.aidl",
217 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800218 "core/java/android/os/IBatteryPropertiesListener.aidl",
219 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
220 "core/java/android/os/ICancellationSignal.aidl",
221 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
222 "core/java/android/os/IDeviceIdleController.aidl",
223 "core/java/android/os/IHardwarePropertiesManager.aidl",
224 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800225 "core/java/android/os/IIncidentReportStatusListener.aidl",
226 "core/java/android/os/IMaintenanceActivityListener.aidl",
227 "core/java/android/os/IMessenger.aidl",
228 "core/java/android/os/INetworkActivityListener.aidl",
229 "core/java/android/os/INetworkManagementService.aidl",
230 "core/java/android/os/IPermissionController.aidl",
231 "core/java/android/os/IProcessInfoService.aidl",
232 "core/java/android/os/IProgressListener.aidl",
233 "core/java/android/os/IPowerManager.aidl",
234 "core/java/android/os/IRecoverySystem.aidl",
235 "core/java/android/os/IRecoverySystemProgressListener.aidl",
236 "core/java/android/os/IRemoteCallback.aidl",
237 "core/java/android/os/ISchedulingPolicyService.aidl",
238 "core/java/android/os/IStatsCompanionService.aidl",
239 "core/java/android/os/IStatsManager.aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800240 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800241 "core/java/android/os/IThermalEventListener.aidl",
242 "core/java/android/os/IThermalService.aidl",
243 "core/java/android/os/IUpdateLock.aidl",
244 "core/java/android/os/IUserManager.aidl",
245 "core/java/android/os/IVibratorService.aidl",
246 "core/java/android/os/storage/IStorageManager.aidl",
247 "core/java/android/os/storage/IStorageEventListener.aidl",
248 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
249 "core/java/android/os/storage/IObbActionListener.aidl",
Logan Chien404eb2b2018-02-14 13:53:04 +0800250 ":keystore_aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800251 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
252 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800253 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800254 "core/java/android/service/autofill/IFillCallback.aidl",
255 "core/java/android/service/autofill/ISaveCallback.aidl",
256 "core/java/android/service/carrier/ICarrierService.aidl",
257 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
258 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
259 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
260 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
261 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
262 "core/java/android/service/euicc/IEuiccService.aidl",
263 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
264 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
265 "core/java/android/service/euicc/IGetEidCallback.aidl",
266 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
267 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800268 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800269 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800270 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
271 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
272 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
273 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
274 "core/java/android/service/notification/INotificationListener.aidl",
275 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
276 "core/java/android/service/notification/IConditionListener.aidl",
277 "core/java/android/service/notification/IConditionProvider.aidl",
278 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
279 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
280 "core/java/android/service/vr/IVrListener.aidl",
281 "core/java/android/service/vr/IVrManager.aidl",
282 "core/java/android/service/vr/IVrStateCallbacks.aidl",
283 "core/java/android/print/ILayoutResultCallback.aidl",
284 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
285 "core/java/android/print/IPrintDocumentAdapter.aidl",
286 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
287 "core/java/android/print/IPrintJobStateChangeListener.aidl",
288 "core/java/android/print/IPrintServicesChangeListener.aidl",
289 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
290 "core/java/android/print/IPrintManager.aidl",
291 "core/java/android/print/IPrintSpooler.aidl",
292 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
293 "core/java/android/print/IPrintSpoolerClient.aidl",
294 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
295 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
296 "core/java/android/print/IWriteResultCallback.aidl",
297 "core/java/android/printservice/IPrintService.aidl",
298 "core/java/android/printservice/IPrintServiceClient.aidl",
299 "core/java/android/companion/ICompanionDeviceManager.aidl",
300 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
301 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
302 "core/java/android/companion/IFindDeviceCallback.aidl",
303 "core/java/android/service/dreams/IDreamManager.aidl",
304 "core/java/android/service/dreams/IDreamService.aidl",
305 "core/java/android/service/oemlock/IOemLockService.aidl",
306 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
307 "core/java/android/service/trust/ITrustAgentService.aidl",
308 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
309 "core/java/android/service/voice/IVoiceInteractionService.aidl",
310 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
311 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
312 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
313 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
314 "core/java/android/service/wallpaper/IWallpaperService.aidl",
315 "core/java/android/service/chooser/IChooserTargetService.aidl",
316 "core/java/android/service/chooser/IChooserTargetResult.aidl",
317 "core/java/android/service/resolver/IResolverRankerService.aidl",
318 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800319 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
320 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
321 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
322 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800323 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
324 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
325 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
326 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
327 "core/java/android/view/autofill/IAutoFillManager.aidl",
328 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
329 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
330 "core/java/android/view/IApplicationToken.aidl",
331 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
332 "core/java/android/view/IDockedStackListener.aidl",
333 "core/java/android/view/IGraphicsStats.aidl",
334 "core/java/android/view/IGraphicsStatsCallback.aidl",
335 "core/java/android/view/IInputFilter.aidl",
336 "core/java/android/view/IInputFilterHost.aidl",
337 "core/java/android/view/IOnKeyguardExitResult.aidl",
338 "core/java/android/view/IPinnedStackController.aidl",
339 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100340 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000341 "core/java/android/view/IRecentsAnimationController.aidl",
342 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100343 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800344 "core/java/android/view/IRotationWatcher.aidl",
345 "core/java/android/view/IWallpaperVisibilityListener.aidl",
346 "core/java/android/view/IWindow.aidl",
347 "core/java/android/view/IWindowFocusObserver.aidl",
348 "core/java/android/view/IWindowId.aidl",
349 "core/java/android/view/IWindowManager.aidl",
350 "core/java/android/view/IWindowSession.aidl",
351 "core/java/android/view/IWindowSessionCallback.aidl",
352 "core/java/android/webkit/IWebViewUpdateService.aidl",
353 "core/java/android/speech/IRecognitionListener.aidl",
354 "core/java/android/speech/IRecognitionService.aidl",
355 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
356 "core/java/android/speech/tts/ITextToSpeechService.aidl",
Svetoslav Ganov2d20fb42018-02-08 15:52:10 -0800357 "core/java/com/android/internal/app/IAppOpsActiveCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800358 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
359 "core/java/com/android/internal/app/IAppOpsService.aidl",
360 "core/java/com/android/internal/app/IBatteryStats.aidl",
361 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
362 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
363 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
364 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
365 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
366 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
367 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
368 "core/java/com/android/internal/app/IMediaContainerService.aidl",
369 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
370 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
371 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
372 "core/java/com/android/internal/backup/IBackupTransport.aidl",
373 "core/java/com/android/internal/backup/IObbBackupService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800374 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
375 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
376 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
377 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
378 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
379 "core/java/com/android/internal/policy/IKeyguardService.aidl",
380 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
381 "core/java/com/android/internal/policy/IShortcutService.aidl",
382 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
383 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
384 "core/java/com/android/internal/os/IResultReceiver.aidl",
385 "core/java/com/android/internal/os/IShellCallback.aidl",
386 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
387 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
388 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
389 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
390 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
391 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
392 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
393 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
394 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
395 "core/java/com/android/internal/view/IInputContext.aidl",
396 "core/java/com/android/internal/view/IInputContextCallback.aidl",
397 "core/java/com/android/internal/view/IInputMethod.aidl",
398 "core/java/com/android/internal/view/IInputMethodClient.aidl",
399 "core/java/com/android/internal/view/IInputMethodManager.aidl",
400 "core/java/com/android/internal/view/IInputMethodSession.aidl",
401 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
402 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
403 "core/java/com/android/internal/widget/ILockSettings.aidl",
404 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
405 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
406 "keystore/java/android/security/IKeyChainService.aidl",
407 "location/java/android/location/IBatchedLocationCallback.aidl",
408 "location/java/android/location/ICountryDetector.aidl",
409 "location/java/android/location/ICountryListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800410 "location/java/android/location/IGeocodeProvider.aidl",
411 "location/java/android/location/IGeofenceProvider.aidl",
412 "location/java/android/location/IGnssStatusListener.aidl",
413 "location/java/android/location/IGnssStatusProvider.aidl",
414 "location/java/android/location/IGnssMeasurementsListener.aidl",
415 "location/java/android/location/IGnssNavigationMessageListener.aidl",
416 "location/java/android/location/ILocationListener.aidl",
417 "location/java/android/location/ILocationManager.aidl",
418 "location/java/android/location/IFusedGeofenceHardware.aidl",
419 "location/java/android/location/IGpsGeofenceHardware.aidl",
420 "location/java/android/location/INetInitiatedListener.aidl",
421 "location/java/com/android/internal/location/ILocationProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800422 "media/java/android/media/IAudioFocusDispatcher.aidl",
423 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900424 "media/java/android/media/IAudioService.aidl",
Eric Laurent1d3cdce2018-01-20 10:31:21 -0800425 "media/java/android/media/IAudioServerStateDispatcher.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800426 "media/java/android/media/IMediaHTTPConnection.aidl",
427 "media/java/android/media/IMediaHTTPService.aidl",
428 "media/java/android/media/IMediaResourceMonitor.aidl",
429 "media/java/android/media/IMediaRouterClient.aidl",
430 "media/java/android/media/IMediaRouterService.aidl",
431 "media/java/android/media/IMediaScannerListener.aidl",
432 "media/java/android/media/IMediaScannerService.aidl",
433 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900434 "media/java/android/media/ISessionTokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800435 ":libaudioclient_aidl",
436 "media/java/android/media/IRecordingConfigDispatcher.aidl",
437 "media/java/android/media/IRemoteDisplayCallback.aidl",
438 "media/java/android/media/IRemoteDisplayProvider.aidl",
439 "media/java/android/media/IRemoteVolumeController.aidl",
440 "media/java/android/media/IRemoteVolumeObserver.aidl",
441 "media/java/android/media/IRingtonePlayer.aidl",
442 "media/java/android/media/IVolumeController.aidl",
443 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
444 "media/java/android/media/midi/IBluetoothMidiService.aidl",
445 "media/java/android/media/midi/IMidiDeviceListener.aidl",
446 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
447 "media/java/android/media/midi/IMidiDeviceServer.aidl",
448 "media/java/android/media/midi/IMidiManager.aidl",
449 "media/java/android/media/projection/IMediaProjection.aidl",
450 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
451 "media/java/android/media/projection/IMediaProjectionManager.aidl",
452 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
453 "media/java/android/media/session/IActiveSessionsListener.aidl",
454 "media/java/android/media/session/ICallback.aidl",
455 "media/java/android/media/session/IOnMediaKeyListener.aidl",
456 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
457 "media/java/android/media/session/ISession.aidl",
458 "media/java/android/media/session/ISessionCallback.aidl",
459 "media/java/android/media/session/ISessionController.aidl",
460 "media/java/android/media/session/ISessionControllerCallback.aidl",
461 "media/java/android/media/session/ISessionManager.aidl",
Philip P. Moltmann18e3eb82018-03-09 16:55:55 -0800462 "media/java/android/media/soundtrigger/ISoundTriggerDetectionService.aidl",
463 "media/java/android/media/soundtrigger/ISoundTriggerDetectionServiceClient.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800464 "media/java/android/media/tv/ITvInputClient.aidl",
465 "media/java/android/media/tv/ITvInputHardware.aidl",
466 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
467 "media/java/android/media/tv/ITvInputManager.aidl",
468 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
469 "media/java/android/media/tv/ITvInputService.aidl",
470 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
471 "media/java/android/media/tv/ITvInputSession.aidl",
472 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
473 "media/java/android/media/tv/ITvRemoteProvider.aidl",
474 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
475 "media/java/android/service/media/IMediaBrowserService.aidl",
476 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
477 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
478 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
479 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
480 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
481 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
482 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
483 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
484 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
485 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
486 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800487 "telephony/java/android/telephony/data/IDataService.aidl",
488 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800489 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800490 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
491 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
492 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
493 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
494 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
495 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
496 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
Logan Chien71ddfea2018-02-27 16:43:50 +0800500 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800501 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800502 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
503 "telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl",
504 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
505 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
506 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800507 "telephony/java/android/telephony/INetworkService.aidl",
508 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800509 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
510 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
511 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
512 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
513 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
514 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
515 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
516 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
517 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
518 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
519 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
520 "telephony/java/com/android/ims/internal/IImsService.aidl",
521 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
522 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800523 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
524 "telephony/java/com/android/ims/internal/IImsUt.aidl",
525 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
526 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
527 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800528 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
529 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
530 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
531 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
532 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
533 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
534 "telephony/java/com/android/ims/ImsConfigListener.aidl",
535 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
536 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
537 "telephony/java/com/android/internal/telephony/IMms.aidl",
538 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
539 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
540 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
541 "telephony/java/com/android/internal/telephony/ISms.aidl",
542 "telephony/java/com/android/internal/telephony/ISub.aidl",
543 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
544 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
545 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800546 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
547 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800548 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
549 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800550 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800551 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800552 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800553 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800554 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
555 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
556 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800557 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800558 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800559 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
561 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
562 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
563 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800564 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800565 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
566 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800567 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
568 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
569 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800570 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800571 "wifi/java/android/net/wifi/IWifiManager.aidl",
572 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
573 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
574 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
575 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
576 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
577 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
578 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
579 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
580 "wifi/java/android/net/wifi/IWifiScanner.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800581 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
582 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
583 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
584 "core/java/android/service/quicksettings/IQSService.aidl",
585 "core/java/android/service/quicksettings/IQSTileService.aidl",
586
587 ":libupdate_engine_aidl",
588
589 ":storaged_aidl",
590 ":netd_aidl",
591 ":vold_aidl",
592 ":installd_aidl",
593
594 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
595 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
596 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
597 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
598 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
599 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
600
601 "core/java/android/app/admin/SecurityLogTags.logtags",
602 "core/java/android/content/EventLogTags.logtags",
603 "core/java/android/speech/tts/EventLogTags.logtags",
604 "core/java/android/net/EventLogTags.logtags",
605 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800606 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800607 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800608 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800609 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800610
611 ":framework-statslog-gen",
612 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800613
614 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800615 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800616 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
617 "core/java",
618 "graphics/java",
619 "location/java",
620 "lowpan/java",
621 "media/java",
622 "media/mca/effect/java",
623 "media/mca/filterfw/java",
624 "media/mca/filterpacks/java",
625 "drm/java",
626 "opengl/java",
627 "sax/java",
628 "telecomm/java",
629 "telephony/java",
630 "wifi/java",
631 "keystore/java",
632 "rs/java",
633 ],
634
635 include_dirs: [
636 "system/update_engine/binder_bindings",
637 "frameworks/native/aidl/binder",
638 "frameworks/av/camera/aidl",
639 "frameworks/av/media/libaudioclient/aidl",
640 "frameworks/native/aidl/gui",
641 "system/core/storaged/binder",
642 "system/netd/server/binder",
643 "system/vold/binder",
644 "system/bt/binder",
Logan Chien404eb2b2018-02-14 13:53:04 +0800645 "system/security/keystore/binder",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800646 ],
647 },
648
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000649 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000650 // See comment on framework-atb-backward-compatibility module below
651 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
652 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000653 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
654 ],
655
Colin Crosscf3a0b52017-11-16 00:15:28 -0800656 no_framework_libs: true,
657 libs: [
658 "conscrypt",
659 "okhttp",
660 "bouncycastle",
661 "ext",
662 ],
663
664 static_libs: [
665 "framework-protos",
666 "android.hidl.base-V1.0-java",
667 "android.hardware.cas-V1.0-java",
668 "android.hardware.contexthub-V1.0-java",
669 "android.hardware.health-V1.0-java-constants",
670 "android.hardware.thermal-V1.0-java-constants",
671 "android.hardware.tv.input-V1.0-java-constants",
672 "android.hardware.usb-V1.0-java-constants",
673 "android.hardware.usb-V1.1-java-constants",
Michael Wrightf268bf52018-02-07 23:23:34 +0000674 "android.hardware.vibrator-V1.0-java",
675 "android.hardware.vibrator-V1.1-java",
676 "android.hardware.vibrator-V1.2-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800677 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000678 "android.hardware.radio-V1.0-java",
Jerry Zhang327b8092018-01-09 17:53:04 -0800679 "android.hardware.usb.gadget-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800680 ],
681
682 // Loaded with System.loadLibrary by android.view.textclassifier
Wei Jia0a8a8f02017-12-05 17:05:29 -0800683 required: [
684 "libtextclassifier",
Logan Chien71ddfea2018-02-27 16:43:50 +0800685 "libmedia2_jni",
686 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800687
688 javac_shard_size: 150,
689
690 dxflags: [
691 "--core-library",
692 "--multi-dex",
693 ],
694}
695
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000696// A temporary build target that is conditionally included on the bootclasspath if
697// org.apache.http.legacy library has been removed and which provides support for
698// maintaining backwards compatibility for APKs that target pre-P and depend on
699// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
700// specified on the build command line.
701java_library {
702 name: "framework-oahl-backward-compatibility",
703 srcs: [
704 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
705 ],
706}
707
Paul Duffina3b69212018-01-25 09:58:32 +0000708// A temporary build target that is conditionally included on the bootclasspath if
709// android.test.base library has been removed and which provides support for
710// maintaining backwards compatibility for APKs that target pre-P and depend on
711// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
712// specified on the build command line.
713java_library {
714 name: "framework-atb-backward-compatibility",
715 srcs: [
716 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
717 ],
718}
719
Colin Crosscf3a0b52017-11-16 00:15:28 -0800720genrule {
721 name: "framework-statslog-gen",
722 tools: ["stats-log-api-gen"],
723 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800724 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800725}
726
727gensrcs {
728 name: "framework-javastream-protos",
729 depfile: true,
730
731 tools: [
732 "aprotoc",
733 "protoc-gen-javastream",
734 "soong_zip",
735 ],
736
Colin Cross6471db92017-12-04 16:02:10 -0800737 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800738 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800739 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800740 " --dependency_out=$(depfile) " +
741 " --javastream_out=$(genDir)/$(in) " +
742 " -Iexternal/protobuf/src " +
743 " -I . " +
744 " $(in) " +
745 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
746
Yi Jin437aa6e2018-01-10 11:34:26 -0800747 srcs: [
748 "core/proto/**/*.proto",
749 "libs/incident/**/*.proto",
750 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800751 output_extension: "srcjar",
752}
753
Colin Crossd8e02252017-10-02 17:14:22 -0700754// Build ext.jar
755// ============================================================
756java_library {
757 name: "ext",
758 no_framework_libs: true,
759 static_libs: [
760 "libphonenumber-platform",
761 "nist-sip",
762 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000763 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700764 ],
765 dxflags: ["--core-library"],
766}
767
Colin Crossaa0d4352017-05-02 14:14:56 -0700768// ==== c++ proto device library ==============================
769cc_library {
770 name: "libplatformprotos",
771 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700772 proto: {
773 export_proto_headers: true,
774 include_dirs: ["external/protobuf/src"],
775 },
776
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700777 cflags: [
778 "-Wall",
779 "-Werror",
780 "-Wno-unused-parameter",
781 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800782
783 srcs: [
784 "core/proto/**/*.proto",
785 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800786 ],
787
Colin Crossaa0d4352017-05-02 14:14:56 -0700788 target: {
789 host: {
790 proto: {
791 type: "full",
792 },
793 },
794 android: {
795 proto: {
796 type: "lite",
797 },
798 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700799 enabled: false,
800 },
801 },
802 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700803}
804
Yi Jin04625ad2017-10-17 18:29:33 -0700805gensrcs {
806 name: "gen-platform-proto-constants",
807 depfile: true,
808
809 tools: [
810 "aprotoc",
811 "protoc-gen-cppstream",
812 ],
813
814 srcs: [
Kweku Adamseadd1232018-02-05 16:45:13 -0800815 "core/proto/android/os/backtrace.proto",
Kweku Adams59e6fd72017-12-27 15:48:14 -0800816 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800817 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700818 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700819 "core/proto/android/os/kernelwake.proto",
820 "core/proto/android/os/pagetypeinfo.proto",
821 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800822 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800823 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800824 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700825 ],
826
827 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800828 cmd: "mkdir -p $(genDir) " +
829 "&& $(location aprotoc) " +
830 " --plugin=$(location protoc-gen-cppstream) " +
831 " --dependency_out=$(depfile) " +
832 " --cppstream_out=$(genDir) " +
833 " -Iexternal/protobuf/src " +
834 " -I . " +
835 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700836
Logan Chien71ddfea2018-02-27 16:43:50 +0800837 output_extension: "proto.h",
Yi Jin04625ad2017-10-17 18:29:33 -0700838}
839
Dan Albert2a8d9c22016-09-23 15:55:49 -0700840subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700841 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600842 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800843 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700844 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700845 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500846 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700847 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700848 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700849]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800850
851optional_subdirs = [
852 "core/tests/utiltests/jni",
853]
Steven Morelandeddafe92017-10-02 16:58:41 -0700854
855java_library {
856 name: "hwbinder",
857 no_framework_libs: true,
858
859 srcs: [
860 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800861 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700862 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800863 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700864 "core/java/android/os/HwBinder.java",
865 "core/java/android/os/HwBlob.java",
866 "core/java/android/os/HwParcel.java",
867 "core/java/android/os/IHwBinder.java",
868 "core/java/android/os/IHwInterface.java",
869 "core/java/android/os/DeadObjectException.java",
870 "core/java/android/os/DeadSystemException.java",
871 "core/java/android/os/RemoteException.java",
872 "core/java/android/util/AndroidException.java",
873 ],
874
875 dxflags: ["--core-library"],
876 installable: false,
877}
Nan Zhang2db709d2017-11-08 20:48:46 -0800878
879python_defaults {
880 name: "base_default",
881 version: {
882 py2: {
883 enabled: true,
884 embedded_launcher: true,
885 },
886 py3: {
887 enabled: false,
888 embedded_launcher: false,
889 },
890 },
891}
892
893python_binary_host {
894 name: "fontchain_linter",
895 defaults: ["base_default"],
896 main: "tools/fonts/fontchain_linter.py",
897 srcs: [
898 "tools/fonts/fontchain_linter.py",
899 ],
900 libs: [
901 "fontTools",
902 ],
903}
Nan Zhang172875b2018-02-27 11:24:03 -0800904
905// TODO: Don't rely on this list once droiddoc can take a list of packages to document
906frameworks_base_subdirs = [
907 "core/java",
908 "graphics/java",
909 "location/java",
910 "media/java",
911 "media/mca/effect/java",
912 "media/mca/filterfw/java",
913 "media/mca/filterpacks/java",
914 "drm/java",
915 "opengl/java",
916 "sax/java",
917 "telecomm/java",
918 "telephony/java",
919 "wifi/java",
920 "lowpan/java",
921 "keystore/java",
922 "rs/java",
923]
924
925packages_to_document = [
926 "android",
927 "javax/microedition/khronos",
928 "org/apache/http/conn",
929 "org/apache/http/params",
930]
931
932// The since flag (-since N.xml API_LEVEL) is used to add API Level information
933// to the reference documentation. Must be in order of oldest to newest.
934//
935// Conscrypt (com.android.org.conscrypt) is an implementation detail and should
936// not be referenced in the documentation.
937framework_docs_args = "-android -manifest $(location core/res/AndroidManifest.xml) " +
938 "-hidePackage com.android.okhttp -hidePackage com.android.org.conscrypt -hidePackage com.android.server " +
939 "-since $(location api/1.xml) 1 " +
940 "-since $(location api/2.xml) 2 " +
941 "-since $(location api/3.xml) 3 " +
942 "-since $(location api/4.xml) 4 " +
943 "-since $(location api/5.xml) 5 " +
944 "-since $(location api/6.xml) 6 " +
945 "-since $(location api/7.xml) 7 " +
946 "-since $(location api/8.xml) 8 " +
947 "-since $(location api/9.xml) 9 " +
948 "-since $(location api/10.xml) 10 " +
949 "-since $(location api/11.xml) 11 " +
950 "-since $(location api/12.xml) 12 " +
951 "-since $(location api/13.xml) 13 " +
952 "-since $(location api/14.txt) 14 " +
953 "-since $(location api/15.txt) 15 " +
954 "-since $(location api/16.txt) 16 " +
955 "-since $(location api/17.txt) 17 " +
956 "-since $(location api/18.txt) 18 " +
957 "-since $(location api/19.txt) 19 " +
958 "-since $(location api/20.txt) 20 " +
959 "-since $(location api/21.txt) 21 " +
960 "-since $(location api/22.txt) 22 " +
961 "-since $(location api/23.txt) 23 " +
962 "-since $(location api/24.txt) 24 " +
963 "-since $(location api/25.txt) 25 " +
964 "-since $(location api/26.txt) 26 " +
965 "-since $(location api/27.txt) 27 " +
966 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
967 "-overview $(location core/java/overview.html) " +
968 // Federate Support Library references against local API file.
969 "-federate SupportLib https://developer.android.com " +
970 "-federationapi SupportLib $(location current/support-api.txt) "
971
972doc_defaults {
973 name: "framework-docs-default",
974 srcs: [
Nan Zhang172875b2018-02-27 11:24:03 -0800975 ":opt-telephony-srcs",
976 ":opt-net-voip-srcs",
977 ":openjdk_javadoc_files",
978 ":non_openjdk_javadoc_files",
979 ":android_icu4j_src_files_for_docs",
980 ":gen-ojluni-jaif-annotated-srcs",
981 ],
982 exclude_srcs: [
983 ":annotated_ojluni_files",
984 ],
985 srcs_lib: "framework",
986 srcs_lib_whitelist_dirs: frameworks_base_subdirs,
987 srcs_lib_whitelist_pkgs: packages_to_document,
988 libs: [
989 "core-oj",
990 "core-libart",
991 "conscrypt",
992 "bouncycastle",
993 "okhttp",
994 "ext",
995 "framework",
996 "voip-common",
997 "android.test.mock",
998 ],
999 local_sourcepaths: frameworks_base_subdirs,
1000 html_dirs: [
1001 "docs/html",
1002 ],
1003 knowntags: [
1004 "docs/knowntags.txt",
1005 ":known-oj-tags",
1006 ],
1007 custom_template: "droiddoc-templates-sdk",
1008 hdf: [
1009 "dac true",
1010 "sdk.codename O",
1011 "sdk.preview.version 1",
1012 "sdk.version 7.0",
1013 "sdk.rel.id 1",
1014 "sdk.preview 0",
1015 ],
1016 resourcesdir: "docs/html/reference/images",
1017 resourcesoutdir: "reference/android/images",
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001018 installable: false,
Nan Zhang172875b2018-02-27 11:24:03 -08001019}
1020
1021droiddoc {
1022 name: "api-stubs-docs",
1023 defaults: ["framework-docs-default"],
1024 arg_files: [
1025 "core/res/AndroidManifest.xml",
1026 ":api-version-xml",
1027 "core/java/overview.html",
1028 ":current-support-api",
1029 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001030 api_filename: "public_api.txt",
1031 removed_api_filename: "removed.txt",
1032 args: framework_docs_args + " -referenceonly -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001033}
1034
1035droiddoc {
1036 name: "system-api-stubs-docs",
1037 defaults: ["framework-docs-default"],
1038 arg_files: [
1039 "core/res/AndroidManifest.xml",
1040 ":api-version-xml",
1041 "core/java/overview.html",
1042 ":current-support-api",
1043 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001044 api_tag_name: "SYSTEM",
1045 api_filename: "system-api.txt",
1046 removed_api_filename: "system-removed.txt",
1047 exact_api_filename: "system-exact.txt",
1048 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001049}
1050
1051droiddoc {
1052 name: "test-api-stubs-docs",
1053 defaults: ["framework-docs-default"],
1054 arg_files: [
1055 "core/res/AndroidManifest.xml",
1056 ":api-version-xml",
1057 "core/java/overview.html",
1058 ":current-support-api",
1059 ],
Nan Zhang7bfac8d2018-03-13 16:16:34 -07001060 api_tag_name: "TEST",
1061 api_filename: "test-api.txt",
1062 removed_api_filename: "test-removed.txt",
1063 exact_api_filename: "test-exact.txt",
1064 args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs",
Nan Zhang172875b2018-02-27 11:24:03 -08001065}