blob: d5e04f9f4e2d84b0eccb7307b0c68e2689f170a4 [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",
172 "core/java/android/hardware/location/IFusedLocationHardware.aidl",
173 "core/java/android/hardware/location/IFusedLocationHardwareSink.aidl",
174 "core/java/android/hardware/location/IGeofenceHardware.aidl",
175 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
176 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
177 "core/java/android/hardware/location/IContextHubCallback.aidl",
178 "core/java/android/hardware/location/IContextHubClient.aidl",
179 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
180 "core/java/android/hardware/location/IContextHubService.aidl",
181 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
Tomasz Wasilczykf151a7b2018-01-11 16:03:46 -0800182 "core/java/android/hardware/radio/IAnnouncementListener.aidl",
183 "core/java/android/hardware/radio/ICloseHandle.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800184 "core/java/android/hardware/radio/IRadioService.aidl",
185 "core/java/android/hardware/radio/ITuner.aidl",
186 "core/java/android/hardware/radio/ITunerCallback.aidl",
187 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
188 "core/java/android/hardware/usb/IUsbManager.aidl",
189 "core/java/android/net/ICaptivePortal.aidl",
190 "core/java/android/net/IConnectivityManager.aidl",
191 "core/java/android/net/IIpConnectivityMetrics.aidl",
192 "core/java/android/net/IEthernetManager.aidl",
193 "core/java/android/net/IEthernetServiceListener.aidl",
194 "core/java/android/net/INetdEventCallback.aidl",
195 "core/java/android/net/IIpSecService.aidl",
196 "core/java/android/net/INetworkManagementEventObserver.aidl",
197 "core/java/android/net/INetworkPolicyListener.aidl",
198 "core/java/android/net/INetworkPolicyManager.aidl",
199 "core/java/android/net/INetworkRecommendationProvider.aidl",
200 "core/java/android/net/INetworkScoreCache.aidl",
201 "core/java/android/net/INetworkScoreService.aidl",
202 "core/java/android/net/INetworkStatsService.aidl",
203 "core/java/android/net/INetworkStatsSession.aidl",
204 "core/java/android/net/ITetheringStatsProvider.aidl",
205 "core/java/android/net/nsd/INsdManager.aidl",
206 "core/java/android/nfc/IAppCallback.aidl",
207 "core/java/android/nfc/INfcAdapter.aidl",
208 "core/java/android/nfc/INfcAdapterExtras.aidl",
209 "core/java/android/nfc/INfcTag.aidl",
210 "core/java/android/nfc/INfcCardEmulation.aidl",
211 "core/java/android/nfc/INfcFCardEmulation.aidl",
212 "core/java/android/nfc/INfcUnlockHandler.aidl",
213 "core/java/android/nfc/INfcDta.aidl",
214 "core/java/android/nfc/ITagRemovedCallback.aidl",
Ruchi Kandoia1f94012017-12-08 15:07:03 -0800215 "core/java/android/se/omapi/ISecureElementService.aidl",
216 "core/java/android/se/omapi/ISecureElementListener.aidl",
217 "core/java/android/se/omapi/ISecureElementChannel.aidl",
218 "core/java/android/se/omapi/ISecureElementReader.aidl",
219 "core/java/android/se/omapi/ISecureElementSession.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800220 "core/java/android/os/IBatteryPropertiesListener.aidl",
221 "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",
Janis Danisevskis7dacad82018-01-24 15:12:11 -0800252 "core/java/android/security/IConfirmationPromptCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800253 "core/java/android/security/IKeystoreService.aidl",
254 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
255 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800256 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800257 "core/java/android/service/autofill/IFillCallback.aidl",
258 "core/java/android/service/autofill/ISaveCallback.aidl",
259 "core/java/android/service/carrier/ICarrierService.aidl",
260 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
261 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
262 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
263 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
264 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
265 "core/java/android/service/euicc/IEuiccService.aidl",
266 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
267 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
268 "core/java/android/service/euicc/IGetEidCallback.aidl",
269 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
270 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800271 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800272 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800273 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
274 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
275 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
276 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
277 "core/java/android/service/notification/INotificationListener.aidl",
278 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
279 "core/java/android/service/notification/IConditionListener.aidl",
280 "core/java/android/service/notification/IConditionProvider.aidl",
281 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
282 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
283 "core/java/android/service/vr/IVrListener.aidl",
284 "core/java/android/service/vr/IVrManager.aidl",
285 "core/java/android/service/vr/IVrStateCallbacks.aidl",
286 "core/java/android/print/ILayoutResultCallback.aidl",
287 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
288 "core/java/android/print/IPrintDocumentAdapter.aidl",
289 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
290 "core/java/android/print/IPrintJobStateChangeListener.aidl",
291 "core/java/android/print/IPrintServicesChangeListener.aidl",
292 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
293 "core/java/android/print/IPrintManager.aidl",
294 "core/java/android/print/IPrintSpooler.aidl",
295 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
296 "core/java/android/print/IPrintSpoolerClient.aidl",
297 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
298 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
299 "core/java/android/print/IWriteResultCallback.aidl",
300 "core/java/android/printservice/IPrintService.aidl",
301 "core/java/android/printservice/IPrintServiceClient.aidl",
302 "core/java/android/companion/ICompanionDeviceManager.aidl",
303 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
304 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
305 "core/java/android/companion/IFindDeviceCallback.aidl",
306 "core/java/android/service/dreams/IDreamManager.aidl",
307 "core/java/android/service/dreams/IDreamService.aidl",
308 "core/java/android/service/oemlock/IOemLockService.aidl",
309 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
310 "core/java/android/service/trust/ITrustAgentService.aidl",
311 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
312 "core/java/android/service/voice/IVoiceInteractionService.aidl",
313 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
314 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
315 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
316 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
317 "core/java/android/service/wallpaper/IWallpaperService.aidl",
318 "core/java/android/service/chooser/IChooserTargetService.aidl",
319 "core/java/android/service/chooser/IChooserTargetResult.aidl",
320 "core/java/android/service/resolver/IResolverRankerService.aidl",
321 "core/java/android/service/resolver/IResolverRankerResult.aidl",
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -0800322 "core/java/android/service/textclassifier/ITextClassificationCallback.aidl",
323 "core/java/android/service/textclassifier/ITextClassifierService.aidl",
324 "core/java/android/service/textclassifier/ITextLinksCallback.aidl",
325 "core/java/android/service/textclassifier/ITextSelectionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800326 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
327 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
328 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
329 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
330 "core/java/android/view/autofill/IAutoFillManager.aidl",
331 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
332 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
333 "core/java/android/view/IApplicationToken.aidl",
334 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
335 "core/java/android/view/IDockedStackListener.aidl",
336 "core/java/android/view/IGraphicsStats.aidl",
337 "core/java/android/view/IGraphicsStatsCallback.aidl",
338 "core/java/android/view/IInputFilter.aidl",
339 "core/java/android/view/IInputFilterHost.aidl",
340 "core/java/android/view/IOnKeyguardExitResult.aidl",
341 "core/java/android/view/IPinnedStackController.aidl",
342 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100343 "core/java/android/view/IRemoteAnimationRunner.aidl",
Winson Chunge2d72172018-01-25 17:46:20 +0000344 "core/java/android/view/IRecentsAnimationController.aidl",
345 "core/java/android/view/IRecentsAnimationRunner.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100346 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800347 "core/java/android/view/IRotationWatcher.aidl",
348 "core/java/android/view/IWallpaperVisibilityListener.aidl",
349 "core/java/android/view/IWindow.aidl",
350 "core/java/android/view/IWindowFocusObserver.aidl",
351 "core/java/android/view/IWindowId.aidl",
352 "core/java/android/view/IWindowManager.aidl",
353 "core/java/android/view/IWindowSession.aidl",
354 "core/java/android/view/IWindowSessionCallback.aidl",
355 "core/java/android/webkit/IWebViewUpdateService.aidl",
356 "core/java/android/speech/IRecognitionListener.aidl",
357 "core/java/android/speech/IRecognitionService.aidl",
358 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
359 "core/java/android/speech/tts/ITextToSpeechService.aidl",
360 "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",
376 "core/java/com/android/internal/car/ICarServiceHelper.aidl",
377 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
378 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
379 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
380 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
381 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
382 "core/java/com/android/internal/policy/IKeyguardService.aidl",
383 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
384 "core/java/com/android/internal/policy/IShortcutService.aidl",
385 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
386 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
387 "core/java/com/android/internal/os/IResultReceiver.aidl",
388 "core/java/com/android/internal/os/IShellCallback.aidl",
389 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
390 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
391 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
392 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
393 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
394 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
395 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
396 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
397 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
398 "core/java/com/android/internal/view/IInputContext.aidl",
399 "core/java/com/android/internal/view/IInputContextCallback.aidl",
400 "core/java/com/android/internal/view/IInputMethod.aidl",
401 "core/java/com/android/internal/view/IInputMethodClient.aidl",
402 "core/java/com/android/internal/view/IInputMethodManager.aidl",
403 "core/java/com/android/internal/view/IInputMethodSession.aidl",
404 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
405 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
406 "core/java/com/android/internal/widget/ILockSettings.aidl",
407 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
408 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
409 "keystore/java/android/security/IKeyChainService.aidl",
410 "location/java/android/location/IBatchedLocationCallback.aidl",
411 "location/java/android/location/ICountryDetector.aidl",
412 "location/java/android/location/ICountryListener.aidl",
413 "location/java/android/location/IFusedProvider.aidl",
414 "location/java/android/location/IGeocodeProvider.aidl",
415 "location/java/android/location/IGeofenceProvider.aidl",
416 "location/java/android/location/IGnssStatusListener.aidl",
417 "location/java/android/location/IGnssStatusProvider.aidl",
418 "location/java/android/location/IGnssMeasurementsListener.aidl",
419 "location/java/android/location/IGnssNavigationMessageListener.aidl",
420 "location/java/android/location/ILocationListener.aidl",
421 "location/java/android/location/ILocationManager.aidl",
422 "location/java/android/location/IFusedGeofenceHardware.aidl",
423 "location/java/android/location/IGpsGeofenceHardware.aidl",
424 "location/java/android/location/INetInitiatedListener.aidl",
425 "location/java/com/android/internal/location/ILocationProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800426 "media/java/android/media/IAudioFocusDispatcher.aidl",
427 "media/java/android/media/IAudioRoutesObserver.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900428 "media/java/android/media/IAudioService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800429 "media/java/android/media/IMediaHTTPConnection.aidl",
430 "media/java/android/media/IMediaHTTPService.aidl",
431 "media/java/android/media/IMediaResourceMonitor.aidl",
432 "media/java/android/media/IMediaRouterClient.aidl",
433 "media/java/android/media/IMediaRouterService.aidl",
434 "media/java/android/media/IMediaScannerListener.aidl",
435 "media/java/android/media/IMediaScannerService.aidl",
436 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
Jaewan Kim379e30d2018-01-29 11:57:04 +0900437 "media/java/android/media/ISessionTokensListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800438 ":libaudioclient_aidl",
439 "media/java/android/media/IRecordingConfigDispatcher.aidl",
440 "media/java/android/media/IRemoteDisplayCallback.aidl",
441 "media/java/android/media/IRemoteDisplayProvider.aidl",
442 "media/java/android/media/IRemoteVolumeController.aidl",
443 "media/java/android/media/IRemoteVolumeObserver.aidl",
444 "media/java/android/media/IRingtonePlayer.aidl",
445 "media/java/android/media/IVolumeController.aidl",
446 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
447 "media/java/android/media/midi/IBluetoothMidiService.aidl",
448 "media/java/android/media/midi/IMidiDeviceListener.aidl",
449 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
450 "media/java/android/media/midi/IMidiDeviceServer.aidl",
451 "media/java/android/media/midi/IMidiManager.aidl",
452 "media/java/android/media/projection/IMediaProjection.aidl",
453 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
454 "media/java/android/media/projection/IMediaProjectionManager.aidl",
455 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
456 "media/java/android/media/session/IActiveSessionsListener.aidl",
457 "media/java/android/media/session/ICallback.aidl",
458 "media/java/android/media/session/IOnMediaKeyListener.aidl",
459 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
460 "media/java/android/media/session/ISession.aidl",
461 "media/java/android/media/session/ISessionCallback.aidl",
462 "media/java/android/media/session/ISessionController.aidl",
463 "media/java/android/media/session/ISessionControllerCallback.aidl",
464 "media/java/android/media/session/ISessionManager.aidl",
465 "media/java/android/media/tv/ITvInputClient.aidl",
466 "media/java/android/media/tv/ITvInputHardware.aidl",
467 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
468 "media/java/android/media/tv/ITvInputManager.aidl",
469 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
470 "media/java/android/media/tv/ITvInputService.aidl",
471 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
472 "media/java/android/media/tv/ITvInputSession.aidl",
473 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
474 "media/java/android/media/tv/ITvRemoteProvider.aidl",
475 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
476 "media/java/android/service/media/IMediaBrowserService.aidl",
477 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
478 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
479 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
480 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
481 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
482 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
483 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
484 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
485 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
486 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
487 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Mohamed Abdalkader48e18c52018-01-22 15:43:37 -0800488 "telephony/java/android/telephony/data/IDataService.aidl",
489 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800490 "telephony/java/android/telephony/ims/aidl/IImsCallSessionListener.aidl",
Brad Ebinger112c36d2018-01-16 09:33:47 -0800491 "telephony/java/android/telephony/ims/aidl/IImsCapabilityCallback.aidl",
492 "telephony/java/android/telephony/ims/aidl/IImsConfig.aidl",
493 "telephony/java/android/telephony/ims/aidl/IImsConfigCallback.aidl",
494 "telephony/java/android/telephony/ims/aidl/IImsMmTelFeature.aidl",
495 "telephony/java/android/telephony/ims/aidl/IImsMmTelListener.aidl",
496 "telephony/java/android/telephony/ims/aidl/IImsRegistration.aidl",
497 "telephony/java/android/telephony/ims/aidl/IImsRegistrationCallback.aidl",
498 "telephony/java/android/telephony/ims/aidl/IImsRcsFeature.aidl",
499 "telephony/java/android/telephony/ims/aidl/IImsServiceController.aidl",
500 "telephony/java/android/telephony/ims/aidl/IImsServiceControllerListener.aidl",
501 "telephony/java/android/telephony/ims/aidl/IImsSmsListener.aidl",
Brad Ebinger26462542018-01-11 10:27:43 -0800502 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800503 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
504 "telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl",
505 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
506 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
507 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
Jack Yud5f1de12017-12-21 11:00:05 -0800508 "telephony/java/android/telephony/INetworkService.aidl",
509 "telephony/java/android/telephony/INetworkServiceCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800510 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
511 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
512 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
513 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
514 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
515 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
516 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
517 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
518 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
519 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
520 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
521 "telephony/java/com/android/ims/internal/IImsService.aidl",
522 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
523 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800524 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
525 "telephony/java/com/android/ims/internal/IImsUt.aidl",
526 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
527 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
528 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800529 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
530 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
531 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
532 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
533 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
534 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
535 "telephony/java/com/android/ims/ImsConfigListener.aidl",
536 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
537 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
538 "telephony/java/com/android/internal/telephony/IMms.aidl",
539 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
540 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
541 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
542 "telephony/java/com/android/internal/telephony/ISms.aidl",
543 "telephony/java/com/android/internal/telephony/ISub.aidl",
544 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
545 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
546 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800547 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
548 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800549 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
550 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800551 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800552 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800553 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800554 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800555 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
556 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
557 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800558 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800559 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800560 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800561 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
562 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
563 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
564 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800565 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800566 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
567 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800568 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
569 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
570 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800571 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800572 "wifi/java/android/net/wifi/IWifiManager.aidl",
573 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
574 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
575 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
576 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
577 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
578 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
579 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
580 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
581 "wifi/java/android/net/wifi/IWifiScanner.aidl",
582 "wifi/java/android/net/wifi/IRttManager.aidl",
583 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
584 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
585 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
586 "core/java/android/service/quicksettings/IQSService.aidl",
587 "core/java/android/service/quicksettings/IQSTileService.aidl",
588
589 ":libupdate_engine_aidl",
590
591 ":storaged_aidl",
592 ":netd_aidl",
593 ":vold_aidl",
594 ":installd_aidl",
595
596 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
597 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
598 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
599 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
600 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
601 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
602
603 "core/java/android/app/admin/SecurityLogTags.logtags",
604 "core/java/android/content/EventLogTags.logtags",
605 "core/java/android/speech/tts/EventLogTags.logtags",
606 "core/java/android/net/EventLogTags.logtags",
607 "core/java/android/webkit/EventLogTags.logtags",
Ben Gruverc7ffbe62018-01-19 11:28:04 -0800608 "core/java/com/android/internal/app/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800609 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800610 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800611 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800612
613 ":framework-statslog-gen",
614 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800615
616 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800617 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800618 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
619 "core/java",
620 "graphics/java",
621 "location/java",
622 "lowpan/java",
623 "media/java",
624 "media/mca/effect/java",
625 "media/mca/filterfw/java",
626 "media/mca/filterpacks/java",
627 "drm/java",
628 "opengl/java",
629 "sax/java",
630 "telecomm/java",
631 "telephony/java",
632 "wifi/java",
633 "keystore/java",
634 "rs/java",
635 ],
636
637 include_dirs: [
638 "system/update_engine/binder_bindings",
639 "frameworks/native/aidl/binder",
640 "frameworks/av/camera/aidl",
641 "frameworks/av/media/libaudioclient/aidl",
642 "frameworks/native/aidl/gui",
643 "system/core/storaged/binder",
644 "system/netd/server/binder",
645 "system/vold/binder",
646 "system/bt/binder",
647 ],
648 },
649
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000650 exclude_srcs: [
Paul Duffina3b69212018-01-25 09:58:32 +0000651 // See comment on framework-atb-backward-compatibility module below
652 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
653 // See comment on framework-oahl-backward-compatibility module below
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000654 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
655 ],
656
Colin Crosscf3a0b52017-11-16 00:15:28 -0800657 no_framework_libs: true,
658 libs: [
659 "conscrypt",
660 "okhttp",
661 "bouncycastle",
662 "ext",
663 ],
664
665 static_libs: [
666 "framework-protos",
667 "android.hidl.base-V1.0-java",
668 "android.hardware.cas-V1.0-java",
669 "android.hardware.contexthub-V1.0-java",
670 "android.hardware.health-V1.0-java-constants",
671 "android.hardware.thermal-V1.0-java-constants",
672 "android.hardware.tv.input-V1.0-java-constants",
673 "android.hardware.usb-V1.0-java-constants",
674 "android.hardware.usb-V1.1-java-constants",
675 "android.hardware.vibrator-V1.0-java-constants",
676 "android.hardware.vibrator-V1.1-java-constants",
677 "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",
685 "libmedia2_jni",],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800686
687 javac_shard_size: 150,
688
689 dxflags: [
690 "--core-library",
691 "--multi-dex",
692 ],
693}
694
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000695// A temporary build target that is conditionally included on the bootclasspath if
696// org.apache.http.legacy library has been removed and which provides support for
697// maintaining backwards compatibility for APKs that target pre-P and depend on
698// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
699// specified on the build command line.
700java_library {
701 name: "framework-oahl-backward-compatibility",
702 srcs: [
703 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
704 ],
705}
706
Paul Duffina3b69212018-01-25 09:58:32 +0000707// A temporary build target that is conditionally included on the bootclasspath if
708// android.test.base library has been removed and which provides support for
709// maintaining backwards compatibility for APKs that target pre-P and depend on
710// android.test.base classes. This is used iff REMOVE_ATB_FROM_BCP=true is
711// specified on the build command line.
712java_library {
713 name: "framework-atb-backward-compatibility",
714 srcs: [
715 "core/java/android/content/pm/AndroidTestBaseUpdater.java",
716 ],
717}
718
Colin Crosscf3a0b52017-11-16 00:15:28 -0800719genrule {
720 name: "framework-statslog-gen",
721 tools: ["stats-log-api-gen"],
722 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800723 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800724}
725
726gensrcs {
727 name: "framework-javastream-protos",
728 depfile: true,
729
730 tools: [
731 "aprotoc",
732 "protoc-gen-javastream",
733 "soong_zip",
734 ],
735
Colin Cross6471db92017-12-04 16:02:10 -0800736 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800737 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800738 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800739 " --dependency_out=$(depfile) " +
740 " --javastream_out=$(genDir)/$(in) " +
741 " -Iexternal/protobuf/src " +
742 " -I . " +
743 " $(in) " +
744 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
745
Yi Jin437aa6e2018-01-10 11:34:26 -0800746 srcs: [
747 "core/proto/**/*.proto",
748 "libs/incident/**/*.proto",
749 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800750 output_extension: "srcjar",
751}
752
Colin Crossd8e02252017-10-02 17:14:22 -0700753// Build ext.jar
754// ============================================================
755java_library {
756 name: "ext",
757 no_framework_libs: true,
758 static_libs: [
759 "libphonenumber-platform",
760 "nist-sip",
761 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000762 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700763 ],
764 dxflags: ["--core-library"],
765}
766
Colin Crossaa0d4352017-05-02 14:14:56 -0700767// ==== c++ proto device library ==============================
768cc_library {
769 name: "libplatformprotos",
770 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700771 proto: {
772 export_proto_headers: true,
773 include_dirs: ["external/protobuf/src"],
774 },
775
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700776 cflags: [
777 "-Wall",
778 "-Werror",
779 "-Wno-unused-parameter",
780 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800781
782 srcs: [
783 "core/proto/**/*.proto",
784 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800785 ],
786
Colin Crossaa0d4352017-05-02 14:14:56 -0700787 target: {
788 host: {
789 proto: {
790 type: "full",
791 },
792 },
793 android: {
794 proto: {
795 type: "lite",
796 },
797 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700798 enabled: false,
799 },
800 },
801 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700802}
803
Yi Jin04625ad2017-10-17 18:29:33 -0700804gensrcs {
805 name: "gen-platform-proto-constants",
806 depfile: true,
807
808 tools: [
809 "aprotoc",
810 "protoc-gen-cppstream",
811 ],
812
813 srcs: [
Kweku Adams59e6fd72017-12-27 15:48:14 -0800814 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800815 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700816 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700817 "core/proto/android/os/kernelwake.proto",
818 "core/proto/android/os/pagetypeinfo.proto",
819 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800820 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800821 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800822 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700823 ],
824
825 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800826 cmd: "mkdir -p $(genDir) " +
827 "&& $(location aprotoc) " +
828 " --plugin=$(location protoc-gen-cppstream) " +
829 " --dependency_out=$(depfile) " +
830 " --cppstream_out=$(genDir) " +
831 " -Iexternal/protobuf/src " +
832 " -I . " +
833 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700834
835 output_extension = "proto.h",
836}
837
Dan Albert2a8d9c22016-09-23 15:55:49 -0700838subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700839 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600840 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800841 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700842 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700843 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500844 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700845 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700846 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700847]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800848
849optional_subdirs = [
850 "core/tests/utiltests/jni",
851]
Steven Morelandeddafe92017-10-02 16:58:41 -0700852
853java_library {
854 name: "hwbinder",
855 no_framework_libs: true,
856
857 srcs: [
858 "core/java/android/os/HidlSupport.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800859 "core/java/android/annotation/IntDef.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700860 "core/java/android/annotation/NonNull.java",
Steven Morelande8e63aa2018-01-10 15:45:36 -0800861 "core/java/android/annotation/SystemApi.java",
Steven Morelandeddafe92017-10-02 16:58:41 -0700862 "core/java/android/os/HwBinder.java",
863 "core/java/android/os/HwBlob.java",
864 "core/java/android/os/HwParcel.java",
865 "core/java/android/os/IHwBinder.java",
866 "core/java/android/os/IHwInterface.java",
867 "core/java/android/os/DeadObjectException.java",
868 "core/java/android/os/DeadSystemException.java",
869 "core/java/android/os/RemoteException.java",
870 "core/java/android/util/AndroidException.java",
871 ],
872
873 dxflags: ["--core-library"],
874 installable: false,
875}
Nan Zhang2db709d2017-11-08 20:48:46 -0800876
877python_defaults {
878 name: "base_default",
879 version: {
880 py2: {
881 enabled: true,
882 embedded_launcher: true,
883 },
884 py3: {
885 enabled: false,
886 embedded_launcher: false,
887 },
888 },
889}
890
891python_binary_host {
892 name: "fontchain_linter",
893 defaults: ["base_default"],
894 main: "tools/fonts/fontchain_linter.py",
895 srcs: [
896 "tools/fonts/fontchain_linter.py",
897 ],
898 libs: [
899 "fontTools",
900 ],
901}