blob: 12405b5d37c7e8d3bb31cbe67d5c6d4f5e02e927 [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",
116 "core/java/android/content/ISyncContext.aidl",
117 "core/java/android/content/ISyncServiceAdapter.aidl",
118 "core/java/android/content/ISyncStatusObserver.aidl",
119 "core/java/android/content/om/IOverlayManager.aidl",
Tony Makb0d22622018-01-18 12:49:49 +0000120 "core/java/android/content/pm/ICrossProfileApps.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800121 "core/java/android/content/pm/IDexModuleRegisterCallback.aidl",
122 "core/java/android/content/pm/ILauncherApps.aidl",
123 "core/java/android/content/pm/IOnAppsChangedListener.aidl",
124 "core/java/android/content/pm/IOnPermissionsChangeListener.aidl",
125 "core/java/android/content/pm/IOtaDexopt.aidl",
126 "core/java/android/content/pm/IPackageDataObserver.aidl",
127 "core/java/android/content/pm/IPackageDeleteObserver.aidl",
128 "core/java/android/content/pm/IPackageDeleteObserver2.aidl",
129 "core/java/android/content/pm/IPackageInstallObserver2.aidl",
130 "core/java/android/content/pm/IPackageInstaller.aidl",
131 "core/java/android/content/pm/IPackageInstallerCallback.aidl",
132 "core/java/android/content/pm/IPackageInstallerSession.aidl",
133 "core/java/android/content/pm/IPackageManager.aidl",
134 ":libbinder_aidl",
135 "core/java/android/content/pm/IPackageMoveObserver.aidl",
136 "core/java/android/content/pm/IPackageStatsObserver.aidl",
137 "core/java/android/content/pm/IPinItemRequest.aidl",
138 "core/java/android/content/pm/IShortcutService.aidl",
Calin Juravle45f8b292017-11-07 18:49:43 -0800139 "core/java/android/content/pm/dex/IArtManager.aidl",
140 "core/java/android/content/pm/dex/ISnapshotRuntimeProfileCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800141 "core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl",
142 "core/java/android/database/IContentObserver.aidl",
143 ":libcamera_client_aidl",
144 ":libcamera_client_framework_aidl",
145 "core/java/android/hardware/IConsumerIrService.aidl",
146 "core/java/android/hardware/ISerialManager.aidl",
147 "core/java/android/hardware/display/IDisplayManager.aidl",
148 "core/java/android/hardware/display/IDisplayManagerCallback.aidl",
149 "core/java/android/hardware/display/IVirtualDisplayCallback.aidl",
Kevin Chynaae4a152018-01-18 11:48:09 -0800150 "core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl",
151 "core/java/android/hardware/fingerprint/IFingerprintDialogReceiver.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800152 "core/java/android/hardware/fingerprint/IFingerprintService.aidl",
153 "core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800154 "core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl",
155 "core/java/android/hardware/hdmi/IHdmiControlCallback.aidl",
156 "core/java/android/hardware/hdmi/IHdmiControlService.aidl",
157 "core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl",
158 "core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl",
159 "core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl",
160 "core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl",
161 "core/java/android/hardware/hdmi/IHdmiRecordListener.aidl",
162 "core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl",
163 "core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl",
164 "core/java/android/hardware/input/IInputManager.aidl",
165 "core/java/android/hardware/input/IInputDevicesChangedListener.aidl",
166 "core/java/android/hardware/input/ITabletModeChangedListener.aidl",
167 "core/java/android/hardware/location/IActivityRecognitionHardware.aidl",
168 "core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl",
169 "core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl",
170 "core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl",
171 "core/java/android/hardware/location/IFusedLocationHardware.aidl",
172 "core/java/android/hardware/location/IFusedLocationHardwareSink.aidl",
173 "core/java/android/hardware/location/IGeofenceHardware.aidl",
174 "core/java/android/hardware/location/IGeofenceHardwareCallback.aidl",
175 "core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl",
176 "core/java/android/hardware/location/IContextHubCallback.aidl",
177 "core/java/android/hardware/location/IContextHubClient.aidl",
178 "core/java/android/hardware/location/IContextHubClientCallback.aidl",
179 "core/java/android/hardware/location/IContextHubService.aidl",
180 "core/java/android/hardware/location/IContextHubTransactionCallback.aidl",
181 "core/java/android/hardware/radio/IRadioService.aidl",
182 "core/java/android/hardware/radio/ITuner.aidl",
183 "core/java/android/hardware/radio/ITunerCallback.aidl",
184 "core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl",
185 "core/java/android/hardware/usb/IUsbManager.aidl",
186 "core/java/android/net/ICaptivePortal.aidl",
187 "core/java/android/net/IConnectivityManager.aidl",
188 "core/java/android/net/IIpConnectivityMetrics.aidl",
189 "core/java/android/net/IEthernetManager.aidl",
190 "core/java/android/net/IEthernetServiceListener.aidl",
191 "core/java/android/net/INetdEventCallback.aidl",
192 "core/java/android/net/IIpSecService.aidl",
193 "core/java/android/net/INetworkManagementEventObserver.aidl",
194 "core/java/android/net/INetworkPolicyListener.aidl",
195 "core/java/android/net/INetworkPolicyManager.aidl",
196 "core/java/android/net/INetworkRecommendationProvider.aidl",
197 "core/java/android/net/INetworkScoreCache.aidl",
198 "core/java/android/net/INetworkScoreService.aidl",
199 "core/java/android/net/INetworkStatsService.aidl",
200 "core/java/android/net/INetworkStatsSession.aidl",
201 "core/java/android/net/ITetheringStatsProvider.aidl",
202 "core/java/android/net/nsd/INsdManager.aidl",
203 "core/java/android/nfc/IAppCallback.aidl",
204 "core/java/android/nfc/INfcAdapter.aidl",
205 "core/java/android/nfc/INfcAdapterExtras.aidl",
206 "core/java/android/nfc/INfcTag.aidl",
207 "core/java/android/nfc/INfcCardEmulation.aidl",
208 "core/java/android/nfc/INfcFCardEmulation.aidl",
209 "core/java/android/nfc/INfcUnlockHandler.aidl",
210 "core/java/android/nfc/INfcDta.aidl",
211 "core/java/android/nfc/ITagRemovedCallback.aidl",
212 "core/java/android/os/IBatteryPropertiesListener.aidl",
213 "core/java/android/os/IBatteryPropertiesRegistrar.aidl",
214 "core/java/android/os/ICancellationSignal.aidl",
215 "core/java/android/os/IDeviceIdentifiersPolicyService.aidl",
216 "core/java/android/os/IDeviceIdleController.aidl",
217 "core/java/android/os/IHardwarePropertiesManager.aidl",
218 "core/java/android/os/IIncidentManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800219 "core/java/android/os/IIncidentReportStatusListener.aidl",
220 "core/java/android/os/IMaintenanceActivityListener.aidl",
221 "core/java/android/os/IMessenger.aidl",
222 "core/java/android/os/INetworkActivityListener.aidl",
223 "core/java/android/os/INetworkManagementService.aidl",
224 "core/java/android/os/IPermissionController.aidl",
225 "core/java/android/os/IProcessInfoService.aidl",
226 "core/java/android/os/IProgressListener.aidl",
227 "core/java/android/os/IPowerManager.aidl",
228 "core/java/android/os/IRecoverySystem.aidl",
229 "core/java/android/os/IRecoverySystemProgressListener.aidl",
230 "core/java/android/os/IRemoteCallback.aidl",
231 "core/java/android/os/ISchedulingPolicyService.aidl",
232 "core/java/android/os/IStatsCompanionService.aidl",
233 "core/java/android/os/IStatsManager.aidl",
Tao Bao07342dc2017-01-24 15:08:21 -0800234 "core/java/android/os/ISystemUpdateManager.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800235 "core/java/android/os/IThermalEventListener.aidl",
236 "core/java/android/os/IThermalService.aidl",
237 "core/java/android/os/IUpdateLock.aidl",
238 "core/java/android/os/IUserManager.aidl",
239 "core/java/android/os/IVibratorService.aidl",
240 "core/java/android/os/storage/IStorageManager.aidl",
241 "core/java/android/os/storage/IStorageEventListener.aidl",
242 "core/java/android/os/storage/IStorageShutdownObserver.aidl",
243 "core/java/android/os/storage/IObbActionListener.aidl",
244 "core/java/android/security/IKeystoreService.aidl",
245 "core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
246 "core/java/android/service/autofill/IAutoFillService.aidl",
Felipe Lemebc055b02018-01-05 17:04:10 -0800247 "core/java/android/service/autofill/IAutofillFieldClassificationService.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800248 "core/java/android/service/autofill/IFillCallback.aidl",
249 "core/java/android/service/autofill/ISaveCallback.aidl",
250 "core/java/android/service/carrier/ICarrierService.aidl",
251 "core/java/android/service/carrier/ICarrierMessagingCallback.aidl",
252 "core/java/android/service/carrier/ICarrierMessagingService.aidl",
253 "core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl",
254 "core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl",
255 "core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl",
256 "core/java/android/service/euicc/IEuiccService.aidl",
257 "core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl",
258 "core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl",
259 "core/java/android/service/euicc/IGetEidCallback.aidl",
260 "core/java/android/service/euicc/IGetEuiccInfoCallback.aidl",
261 "core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl",
Qingxi Li54058362017-12-13 15:13:02 -0800262 "core/java/android/service/euicc/IGetOtaStatusCallback.aidl",
Qingxi Li6019f9c2017-12-14 15:36:06 -0800263 "core/java/android/service/euicc/IOtaStatusChangedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800264 "core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl",
265 "core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl",
266 "core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl",
267 "core/java/android/service/gatekeeper/IGateKeeperService.aidl",
268 "core/java/android/service/notification/INotificationListener.aidl",
269 "core/java/android/service/notification/IStatusBarNotificationHolder.aidl",
270 "core/java/android/service/notification/IConditionListener.aidl",
271 "core/java/android/service/notification/IConditionProvider.aidl",
272 "core/java/android/service/settings/suggestions/ISuggestionService.aidl",
273 "core/java/android/service/vr/IPersistentVrStateCallbacks.aidl",
274 "core/java/android/service/vr/IVrListener.aidl",
275 "core/java/android/service/vr/IVrManager.aidl",
276 "core/java/android/service/vr/IVrStateCallbacks.aidl",
277 "core/java/android/print/ILayoutResultCallback.aidl",
278 "core/java/android/print/IPrinterDiscoveryObserver.aidl",
279 "core/java/android/print/IPrintDocumentAdapter.aidl",
280 "core/java/android/print/IPrintDocumentAdapterObserver.aidl",
281 "core/java/android/print/IPrintJobStateChangeListener.aidl",
282 "core/java/android/print/IPrintServicesChangeListener.aidl",
283 "core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl",
284 "core/java/android/print/IPrintManager.aidl",
285 "core/java/android/print/IPrintSpooler.aidl",
286 "core/java/android/print/IPrintSpoolerCallbacks.aidl",
287 "core/java/android/print/IPrintSpoolerClient.aidl",
288 "core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl",
289 "core/java/android/printservice/recommendation/IRecommendationService.aidl",
290 "core/java/android/print/IWriteResultCallback.aidl",
291 "core/java/android/printservice/IPrintService.aidl",
292 "core/java/android/printservice/IPrintServiceClient.aidl",
293 "core/java/android/companion/ICompanionDeviceManager.aidl",
294 "core/java/android/companion/ICompanionDeviceDiscoveryService.aidl",
295 "core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl",
296 "core/java/android/companion/IFindDeviceCallback.aidl",
297 "core/java/android/service/dreams/IDreamManager.aidl",
298 "core/java/android/service/dreams/IDreamService.aidl",
299 "core/java/android/service/oemlock/IOemLockService.aidl",
300 "core/java/android/service/persistentdata/IPersistentDataBlockService.aidl",
301 "core/java/android/service/trust/ITrustAgentService.aidl",
302 "core/java/android/service/trust/ITrustAgentServiceCallback.aidl",
303 "core/java/android/service/voice/IVoiceInteractionService.aidl",
304 "core/java/android/service/voice/IVoiceInteractionSession.aidl",
305 "core/java/android/service/voice/IVoiceInteractionSessionService.aidl",
306 "core/java/android/service/wallpaper/IWallpaperConnection.aidl",
307 "core/java/android/service/wallpaper/IWallpaperEngine.aidl",
308 "core/java/android/service/wallpaper/IWallpaperService.aidl",
309 "core/java/android/service/chooser/IChooserTargetService.aidl",
310 "core/java/android/service/chooser/IChooserTargetResult.aidl",
311 "core/java/android/service/resolver/IResolverRankerService.aidl",
312 "core/java/android/service/resolver/IResolverRankerResult.aidl",
313 "core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl",
314 "core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl",
315 "core/java/android/view/accessibility/IAccessibilityManager.aidl",
316 "core/java/android/view/accessibility/IAccessibilityManagerClient.aidl",
317 "core/java/android/view/autofill/IAutoFillManager.aidl",
318 "core/java/android/view/autofill/IAutoFillManagerClient.aidl",
319 "core/java/android/view/autofill/IAutofillWindowPresenter.aidl",
320 "core/java/android/view/IApplicationToken.aidl",
321 "core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl",
322 "core/java/android/view/IDockedStackListener.aidl",
323 "core/java/android/view/IGraphicsStats.aidl",
324 "core/java/android/view/IGraphicsStatsCallback.aidl",
325 "core/java/android/view/IInputFilter.aidl",
326 "core/java/android/view/IInputFilterHost.aidl",
327 "core/java/android/view/IOnKeyguardExitResult.aidl",
328 "core/java/android/view/IPinnedStackController.aidl",
329 "core/java/android/view/IPinnedStackListener.aidl",
Jorim Jaggi33a701a2017-12-01 14:58:18 +0100330 "core/java/android/view/IRemoteAnimationRunner.aidl",
331 "core/java/android/view/IRemoteAnimationFinishedCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800332 "core/java/android/view/IRotationWatcher.aidl",
333 "core/java/android/view/IWallpaperVisibilityListener.aidl",
334 "core/java/android/view/IWindow.aidl",
335 "core/java/android/view/IWindowFocusObserver.aidl",
336 "core/java/android/view/IWindowId.aidl",
337 "core/java/android/view/IWindowManager.aidl",
338 "core/java/android/view/IWindowSession.aidl",
339 "core/java/android/view/IWindowSessionCallback.aidl",
340 "core/java/android/webkit/IWebViewUpdateService.aidl",
341 "core/java/android/speech/IRecognitionListener.aidl",
342 "core/java/android/speech/IRecognitionService.aidl",
343 "core/java/android/speech/tts/ITextToSpeechCallback.aidl",
344 "core/java/android/speech/tts/ITextToSpeechService.aidl",
345 "core/java/com/android/internal/app/IAppOpsCallback.aidl",
346 "core/java/com/android/internal/app/IAppOpsService.aidl",
347 "core/java/com/android/internal/app/IBatteryStats.aidl",
348 "core/java/com/android/internal/app/ISoundTriggerService.aidl",
349 "core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl",
350 "core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl",
351 "core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl",
352 "core/java/com/android/internal/app/IVoiceInteractor.aidl",
353 "core/java/com/android/internal/app/IVoiceInteractorCallback.aidl",
354 "core/java/com/android/internal/app/IVoiceInteractorRequest.aidl",
355 "core/java/com/android/internal/app/IMediaContainerService.aidl",
356 "core/java/com/android/internal/app/procstats/IProcessStats.aidl",
357 "core/java/com/android/internal/appwidget/IAppWidgetService.aidl",
358 "core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
359 "core/java/com/android/internal/backup/IBackupTransport.aidl",
360 "core/java/com/android/internal/backup/IObbBackupService.aidl",
361 "core/java/com/android/internal/car/ICarServiceHelper.aidl",
362 "core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
363 "core/java/com/android/internal/net/INetworkWatchlistManager.aidl",
364 "core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl",
365 "core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl",
366 "core/java/com/android/internal/policy/IKeyguardExitCallback.aidl",
367 "core/java/com/android/internal/policy/IKeyguardService.aidl",
368 "core/java/com/android/internal/policy/IKeyguardStateCallback.aidl",
369 "core/java/com/android/internal/policy/IShortcutService.aidl",
370 "core/java/com/android/internal/os/IDropBoxManagerService.aidl",
371 "core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl",
372 "core/java/com/android/internal/os/IResultReceiver.aidl",
373 "core/java/com/android/internal/os/IShellCallback.aidl",
374 "core/java/com/android/internal/statusbar/IStatusBar.aidl",
375 "core/java/com/android/internal/statusbar/IStatusBarService.aidl",
376 "core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
377 "core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
378 "core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
379 "core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl",
380 "core/java/com/android/internal/textservice/ITextServicesManager.aidl",
381 "core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl",
382 "core/java/com/android/internal/view/IDragAndDropPermissions.aidl",
383 "core/java/com/android/internal/view/IInputContext.aidl",
384 "core/java/com/android/internal/view/IInputContextCallback.aidl",
385 "core/java/com/android/internal/view/IInputMethod.aidl",
386 "core/java/com/android/internal/view/IInputMethodClient.aidl",
387 "core/java/com/android/internal/view/IInputMethodManager.aidl",
388 "core/java/com/android/internal/view/IInputMethodSession.aidl",
389 "core/java/com/android/internal/view/IInputSessionCallback.aidl",
390 "core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl",
391 "core/java/com/android/internal/widget/ILockSettings.aidl",
392 "core/java/com/android/internal/widget/IRemoteViewsFactory.aidl",
393 "keystore/java/android/security/IKeyChainAliasCallback.aidl",
394 "keystore/java/android/security/IKeyChainService.aidl",
395 "location/java/android/location/IBatchedLocationCallback.aidl",
396 "location/java/android/location/ICountryDetector.aidl",
397 "location/java/android/location/ICountryListener.aidl",
398 "location/java/android/location/IFusedProvider.aidl",
399 "location/java/android/location/IGeocodeProvider.aidl",
400 "location/java/android/location/IGeofenceProvider.aidl",
401 "location/java/android/location/IGnssStatusListener.aidl",
402 "location/java/android/location/IGnssStatusProvider.aidl",
403 "location/java/android/location/IGnssMeasurementsListener.aidl",
404 "location/java/android/location/IGnssNavigationMessageListener.aidl",
405 "location/java/android/location/ILocationListener.aidl",
406 "location/java/android/location/ILocationManager.aidl",
407 "location/java/android/location/IFusedGeofenceHardware.aidl",
408 "location/java/android/location/IGpsGeofenceHardware.aidl",
409 "location/java/android/location/INetInitiatedListener.aidl",
410 "location/java/com/android/internal/location/ILocationProvider.aidl",
411 "media/java/android/media/IAudioService.aidl",
412 "media/java/android/media/IAudioFocusDispatcher.aidl",
413 "media/java/android/media/IAudioRoutesObserver.aidl",
414 "media/java/android/media/IMediaHTTPConnection.aidl",
415 "media/java/android/media/IMediaHTTPService.aidl",
416 "media/java/android/media/IMediaResourceMonitor.aidl",
417 "media/java/android/media/IMediaRouterClient.aidl",
418 "media/java/android/media/IMediaRouterService.aidl",
419 "media/java/android/media/IMediaScannerListener.aidl",
420 "media/java/android/media/IMediaScannerService.aidl",
Jaewan Kimceb6b6e2018-01-21 20:56:10 +0900421 "media/java/android/media/IMediaSession2.aidl",
422 "media/java/android/media/IMediaSession2Callback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800423 "media/java/android/media/IPlaybackConfigDispatcher.aidl",
424 ":libaudioclient_aidl",
425 "media/java/android/media/IRecordingConfigDispatcher.aidl",
426 "media/java/android/media/IRemoteDisplayCallback.aidl",
427 "media/java/android/media/IRemoteDisplayProvider.aidl",
428 "media/java/android/media/IRemoteVolumeController.aidl",
429 "media/java/android/media/IRemoteVolumeObserver.aidl",
430 "media/java/android/media/IRingtonePlayer.aidl",
431 "media/java/android/media/IVolumeController.aidl",
432 "media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl",
433 "media/java/android/media/midi/IBluetoothMidiService.aidl",
434 "media/java/android/media/midi/IMidiDeviceListener.aidl",
435 "media/java/android/media/midi/IMidiDeviceOpenCallback.aidl",
436 "media/java/android/media/midi/IMidiDeviceServer.aidl",
437 "media/java/android/media/midi/IMidiManager.aidl",
438 "media/java/android/media/projection/IMediaProjection.aidl",
439 "media/java/android/media/projection/IMediaProjectionCallback.aidl",
440 "media/java/android/media/projection/IMediaProjectionManager.aidl",
441 "media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl",
442 "media/java/android/media/session/IActiveSessionsListener.aidl",
443 "media/java/android/media/session/ICallback.aidl",
444 "media/java/android/media/session/IOnMediaKeyListener.aidl",
445 "media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl",
446 "media/java/android/media/session/ISession.aidl",
447 "media/java/android/media/session/ISessionCallback.aidl",
448 "media/java/android/media/session/ISessionController.aidl",
449 "media/java/android/media/session/ISessionControllerCallback.aidl",
450 "media/java/android/media/session/ISessionManager.aidl",
451 "media/java/android/media/tv/ITvInputClient.aidl",
452 "media/java/android/media/tv/ITvInputHardware.aidl",
453 "media/java/android/media/tv/ITvInputHardwareCallback.aidl",
454 "media/java/android/media/tv/ITvInputManager.aidl",
455 "media/java/android/media/tv/ITvInputManagerCallback.aidl",
456 "media/java/android/media/tv/ITvInputService.aidl",
457 "media/java/android/media/tv/ITvInputServiceCallback.aidl",
458 "media/java/android/media/tv/ITvInputSession.aidl",
459 "media/java/android/media/tv/ITvInputSessionCallback.aidl",
460 "media/java/android/media/tv/ITvRemoteProvider.aidl",
461 "media/java/android/media/tv/ITvRemoteServiceInput.aidl",
462 "media/java/android/service/media/IMediaBrowserService.aidl",
463 "media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl",
464 "telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl",
465 "telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl",
466 "telecomm/java/com/android/internal/telecom/IVideoCallback.aidl",
467 "telecomm/java/com/android/internal/telecom/IVideoProvider.aidl",
468 "telecomm/java/com/android/internal/telecom/IConnectionService.aidl",
469 "telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl",
470 "telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl",
471 "telecomm/java/com/android/internal/telecom/IInCallService.aidl",
472 "telecomm/java/com/android/internal/telecom/ITelecomService.aidl",
473 "telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl",
Jack Yuffcda5c2017-11-27 17:36:29 -0800474 "telephony/java/android/telephony/data/IDataService.aidl",
475 "telephony/java/android/telephony/data/IDataServiceCallback.aidl",
Brad Ebingerea8fd1b2017-11-28 19:15:47 -0800476 "telephony/java/android/telephony/ims/internal/aidl/IImsCallSessionListener.aidl",
477 "telephony/java/android/telephony/ims/internal/aidl/IImsCapabilityCallback.aidl",
478 "telephony/java/android/telephony/ims/internal/aidl/IImsConfig.aidl",
479 "telephony/java/android/telephony/ims/internal/aidl/IImsConfigCallback.aidl",
480 "telephony/java/android/telephony/ims/internal/aidl/IImsMmTelFeature.aidl",
481 "telephony/java/android/telephony/ims/internal/aidl/IImsMmTelListener.aidl",
482 "telephony/java/android/telephony/ims/internal/aidl/IImsRcsFeature.aidl",
Brad Ebingerea8fd1b2017-11-28 19:15:47 -0800483 "telephony/java/android/telephony/ims/internal/aidl/IImsServiceController.aidl",
484 "telephony/java/android/telephony/ims/internal/aidl/IImsServiceControllerListener.aidl",
Brad Ebingerb2a83cf2017-11-28 19:15:47 -0800485 "telephony/java/android/telephony/ims/internal/aidl/IImsSmsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800486 "telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl",
487 "telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl",
488 "telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl",
489 "telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl",
490 "telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl",
491 "telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl",
492 "telephony/java/com/android/ims/internal/IImsCallSession.aidl",
493 "telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl",
494 "telephony/java/com/android/ims/internal/IImsConfig.aidl",
495 "telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl",
496 "telephony/java/com/android/ims/internal/IImsEcbm.aidl",
497 "telephony/java/com/android/ims/internal/IImsEcbmListener.aidl",
498 "telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl",
499 "telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl",
500 "telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl",
501 "telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl",
Brad Ebinger1fb61212017-12-14 14:22:27 -0800502 "telephony/java/com/android/ims/internal/IImsRegistration.aidl",
503 "telephony/java/com/android/ims/internal/IImsRegistrationCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800504 "telephony/java/com/android/ims/internal/IImsRcsFeature.aidl",
505 "telephony/java/com/android/ims/internal/IImsService.aidl",
506 "telephony/java/com/android/ims/internal/IImsServiceController.aidl",
507 "telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl",
Mohamed Abdalkader8d7b0602018-01-12 16:37:08 -0800508 "telephony/java/com/android/ims/internal/IImsSmsListener.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800509 "telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl",
510 "telephony/java/com/android/ims/internal/IImsUt.aidl",
511 "telephony/java/com/android/ims/internal/IImsUtListener.aidl",
512 "telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl",
513 "telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800514 "telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl",
515 "telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl",
516 "telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl",
517 "telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl",
518 "telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl",
519 "telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl",
520 "telephony/java/com/android/ims/ImsConfigListener.aidl",
521 "telephony/java/com/android/internal/telephony/IApnSourceService.aidl",
522 "telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl",
523 "telephony/java/com/android/internal/telephony/IMms.aidl",
524 "telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl",
525 "telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl",
526 "telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl",
527 "telephony/java/com/android/internal/telephony/ISms.aidl",
528 "telephony/java/com/android/internal/telephony/ISub.aidl",
529 "telephony/java/com/android/internal/telephony/ITelephony.aidl",
530 "telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl",
531 "telephony/java/com/android/internal/telephony/IWapPushManager.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800532 "telephony/java/com/android/internal/telephony/euicc/IAuthenticateServerCallback.aidl",
533 "telephony/java/com/android/internal/telephony/euicc/ICancelSessionCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800534 "telephony/java/com/android/internal/telephony/euicc/IDeleteProfileCallback.aidl",
535 "telephony/java/com/android/internal/telephony/euicc/IDisableProfileCallback.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800536 "telephony/java/com/android/internal/telephony/euicc/IEuiccCardController.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800537 "telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl",
Holly Jiuyu Sun5c110242017-12-21 18:44:59 -0800538 "telephony/java/com/android/internal/telephony/euicc/IGetAllProfilesCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800539 "telephony/java/com/android/internal/telephony/euicc/IGetDefaultSmdpAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800540 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccChallengeCallback.aidl",
541 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo1Callback.aidl",
542 "telephony/java/com/android/internal/telephony/euicc/IGetEuiccInfo2Callback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800543 "telephony/java/com/android/internal/telephony/euicc/IGetProfileCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800544 "telephony/java/com/android/internal/telephony/euicc/IGetRulesAuthTableCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800545 "telephony/java/com/android/internal/telephony/euicc/IGetSmdsAddressCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800546 "telephony/java/com/android/internal/telephony/euicc/IListNotificationsCallback.aidl",
547 "telephony/java/com/android/internal/telephony/euicc/ILoadBoundProfilePackageCallback.aidl",
548 "telephony/java/com/android/internal/telephony/euicc/IPrepareDownloadCallback.aidl",
549 "telephony/java/com/android/internal/telephony/euicc/IRemoveNotificationFromListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800550 "telephony/java/com/android/internal/telephony/euicc/IResetMemoryCallback.aidl",
Holly Jiuyu Sunfb1c7842017-12-21 18:44:59 -0800551 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationCallback.aidl",
552 "telephony/java/com/android/internal/telephony/euicc/IRetrieveNotificationListCallback.aidl",
Holly Jiuyu Sunbbc85802017-12-21 18:44:59 -0800553 "telephony/java/com/android/internal/telephony/euicc/ISetDefaultSmdpAddressCallback.aidl",
554 "telephony/java/com/android/internal/telephony/euicc/ISetNicknameCallback.aidl",
555 "telephony/java/com/android/internal/telephony/euicc/ISwitchToProfileCallback.aidl",
Mehdi Alizadeh0037dde2017-11-28 15:31:28 -0800556 "wifi/java/android/net/wifi/ISoftApCallback.aidl",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800557 "wifi/java/android/net/wifi/IWifiManager.aidl",
558 "wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl",
559 "wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl",
560 "wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl",
561 "wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl",
562 "wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl",
563 "wifi/java/android/net/wifi/rtt/IRttCallback.aidl",
564 "wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl",
565 "wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl",
566 "wifi/java/android/net/wifi/IWifiScanner.aidl",
567 "wifi/java/android/net/wifi/IRttManager.aidl",
568 "packages/services/PacProcessor/com/android/net/IProxyService.aidl",
569 "packages/services/Proxy/com/android/net/IProxyCallback.aidl",
570 "packages/services/Proxy/com/android/net/IProxyPortListener.aidl",
571 "core/java/android/service/quicksettings/IQSService.aidl",
572 "core/java/android/service/quicksettings/IQSTileService.aidl",
573
574 ":libupdate_engine_aidl",
575
576 ":storaged_aidl",
577 ":netd_aidl",
578 ":vold_aidl",
579 ":installd_aidl",
580
581 "lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl",
582 "lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl",
583 "lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl",
584 "lowpan/java/android/net/lowpan/ILowpanInterface.aidl",
585 "lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl",
586 "lowpan/java/android/net/lowpan/ILowpanManager.aidl",
587
588 "core/java/android/app/admin/SecurityLogTags.logtags",
589 "core/java/android/content/EventLogTags.logtags",
590 "core/java/android/speech/tts/EventLogTags.logtags",
591 "core/java/android/net/EventLogTags.logtags",
592 "core/java/android/webkit/EventLogTags.logtags",
593 "core/java/com/android/internal/logging/EventLogTags.logtags",
Siyuan Zhoubafcd7b2017-12-04 13:02:11 -0800594 "core/java/com/android/server/DropboxLogTags.logtags",
Ricardo Quesadaab086c52017-12-11 11:26:53 -0800595 "core/java/org/chromium/arc/EventLogTags.logtags",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800596
597 ":framework-statslog-gen",
598 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800599
600 aidl: {
Colin Cross4eb07842017-12-14 15:18:42 -0800601 export_include_dirs: [
Colin Crosscf3a0b52017-11-16 00:15:28 -0800602 // From build/make/core/pathmap.mk FRAMEWORK_BASE_SUBDIRS
603 "core/java",
604 "graphics/java",
605 "location/java",
606 "lowpan/java",
607 "media/java",
608 "media/mca/effect/java",
609 "media/mca/filterfw/java",
610 "media/mca/filterpacks/java",
611 "drm/java",
612 "opengl/java",
613 "sax/java",
614 "telecomm/java",
615 "telephony/java",
616 "wifi/java",
617 "keystore/java",
618 "rs/java",
619 ],
620
621 include_dirs: [
622 "system/update_engine/binder_bindings",
623 "frameworks/native/aidl/binder",
624 "frameworks/av/camera/aidl",
625 "frameworks/av/media/libaudioclient/aidl",
626 "frameworks/native/aidl/gui",
627 "system/core/storaged/binder",
628 "system/netd/server/binder",
629 "system/vold/binder",
630 "system/bt/binder",
631 ],
632 },
633
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000634 // See comment on framework-oahl-backward-compatibility module below
635 exclude_srcs: [
636 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
637 ],
638
Colin Crosscf3a0b52017-11-16 00:15:28 -0800639 no_framework_libs: true,
640 libs: [
641 "conscrypt",
642 "okhttp",
643 "bouncycastle",
644 "ext",
645 ],
646
647 static_libs: [
648 "framework-protos",
649 "android.hidl.base-V1.0-java",
650 "android.hardware.cas-V1.0-java",
651 "android.hardware.contexthub-V1.0-java",
652 "android.hardware.health-V1.0-java-constants",
653 "android.hardware.thermal-V1.0-java-constants",
654 "android.hardware.tv.input-V1.0-java-constants",
655 "android.hardware.usb-V1.0-java-constants",
656 "android.hardware.usb-V1.1-java-constants",
657 "android.hardware.vibrator-V1.0-java-constants",
658 "android.hardware.vibrator-V1.1-java-constants",
659 "android.hardware.wifi-V1.0-java-constants",
yuemingw9361a132017-11-24 18:20:11 +0000660 "android.hardware.radio-V1.0-java",
Colin Crosscf3a0b52017-11-16 00:15:28 -0800661 ],
662
663 // Loaded with System.loadLibrary by android.view.textclassifier
Wei Jia0a8a8f02017-12-05 17:05:29 -0800664 required: [
665 "libtextclassifier",
666 "libmedia2_jni",],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800667
668 javac_shard_size: 150,
669
670 dxflags: [
671 "--core-library",
672 "--multi-dex",
673 ],
674}
675
Paul Duffinbeee5dc2018-01-23 13:39:00 +0000676// A temporary build target that is conditionally included on the bootclasspath if
677// org.apache.http.legacy library has been removed and which provides support for
678// maintaining backwards compatibility for APKs that target pre-P and depend on
679// org.apache.http.legacy classes. This is used iff REMOVE_OAHL_FROM_BCP=true is
680// specified on the build command line.
681java_library {
682 name: "framework-oahl-backward-compatibility",
683 srcs: [
684 "core/java/android/content/pm/OrgApacheHttpLegacyUpdater.java",
685 ],
686}
687
Colin Crosscf3a0b52017-11-16 00:15:28 -0800688genrule {
689 name: "framework-statslog-gen",
690 tools: ["stats-log-api-gen"],
691 cmd: "$(location stats-log-api-gen) --java $(out)",
David Chen0a368b22017-12-06 16:28:16 -0800692 out: ["android/util/StatsLogInternal.java"],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800693}
694
695gensrcs {
696 name: "framework-javastream-protos",
697 depfile: true,
698
699 tools: [
700 "aprotoc",
701 "protoc-gen-javastream",
702 "soong_zip",
703 ],
704
Colin Cross6471db92017-12-04 16:02:10 -0800705 cmd: "mkdir -p $(genDir)/$(in) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800706 "&& $(location aprotoc) " +
Colin Cross6471db92017-12-04 16:02:10 -0800707 " --plugin=$(location protoc-gen-javastream) " +
Colin Crosscf3a0b52017-11-16 00:15:28 -0800708 " --dependency_out=$(depfile) " +
709 " --javastream_out=$(genDir)/$(in) " +
710 " -Iexternal/protobuf/src " +
711 " -I . " +
712 " $(in) " +
713 "&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
714
Yi Jin437aa6e2018-01-10 11:34:26 -0800715 srcs: [
716 "core/proto/**/*.proto",
717 "libs/incident/**/*.proto",
718 ],
Colin Crosscf3a0b52017-11-16 00:15:28 -0800719 output_extension: "srcjar",
720}
721
Colin Crossd8e02252017-10-02 17:14:22 -0700722// Build ext.jar
723// ============================================================
724java_library {
725 name: "ext",
726 no_framework_libs: true,
727 static_libs: [
728 "libphonenumber-platform",
729 "nist-sip",
730 "tagsoup",
Ricky Wai0d1bc332017-10-31 14:31:01 +0000731 "rappor",
Colin Crossd8e02252017-10-02 17:14:22 -0700732 ],
733 dxflags: ["--core-library"],
734}
735
Colin Crossaa0d4352017-05-02 14:14:56 -0700736// ==== c++ proto device library ==============================
737cc_library {
738 name: "libplatformprotos",
739 host_supported: true,
Colin Crossaa0d4352017-05-02 14:14:56 -0700740 proto: {
741 export_proto_headers: true,
742 include_dirs: ["external/protobuf/src"],
743 },
744
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -0700745 cflags: [
746 "-Wall",
747 "-Werror",
748 "-Wno-unused-parameter",
749 ],
Joe Onorato62c220b2017-11-18 20:32:56 -0800750
751 srcs: [
752 "core/proto/**/*.proto",
753 "libs/incident/**/*.proto",
Joe Onorato62c220b2017-11-18 20:32:56 -0800754 ],
755
Colin Crossaa0d4352017-05-02 14:14:56 -0700756 target: {
757 host: {
758 proto: {
759 type: "full",
760 },
761 },
762 android: {
763 proto: {
764 type: "lite",
765 },
766 shared: {
Colin Crossaa0d4352017-05-02 14:14:56 -0700767 enabled: false,
768 },
769 },
770 },
Colin Crossaa0d4352017-05-02 14:14:56 -0700771}
772
Yi Jin04625ad2017-10-17 18:29:33 -0700773gensrcs {
774 name: "gen-platform-proto-constants",
775 depfile: true,
776
777 tools: [
778 "aprotoc",
779 "protoc-gen-cppstream",
780 ],
781
782 srcs: [
Kweku Adams59e6fd72017-12-27 15:48:14 -0800783 "core/proto/android/os/batterytype.proto",
Yi Jin0eb22342017-11-06 17:17:27 -0800784 "core/proto/android/os/cpufreq.proto",
Yi Jine2f7f792017-11-01 17:08:27 -0700785 "core/proto/android/os/cpuinfo.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700786 "core/proto/android/os/kernelwake.proto",
787 "core/proto/android/os/pagetypeinfo.proto",
788 "core/proto/android/os/procrank.proto",
Kweku Adamsf5cc5752017-12-20 17:59:17 -0800789 "core/proto/android/os/ps.proto",
Yi Jin0dfa7522017-11-06 17:43:47 -0800790 "core/proto/android/os/system_properties.proto",
Yi Jin3c034c92017-12-22 17:36:47 -0800791 "core/proto/android/util/event_log_tags.proto",
Yi Jin04625ad2017-10-17 18:29:33 -0700792 ],
793
794 // Append protoc-gen-cppstream tool's PATH otherwise aprotoc can't find the plugin tool
Yi Jin3c034c92017-12-22 17:36:47 -0800795 cmd: "mkdir -p $(genDir) " +
796 "&& $(location aprotoc) " +
797 " --plugin=$(location protoc-gen-cppstream) " +
798 " --dependency_out=$(depfile) " +
799 " --cppstream_out=$(genDir) " +
800 " -Iexternal/protobuf/src " +
801 " -I . " +
802 " $(in)",
Yi Jin04625ad2017-10-17 18:29:33 -0700803
804 output_extension = "proto.h",
805}
806
Dan Albert2a8d9c22016-09-23 15:55:49 -0700807subdirs = [
Yi Jin0a3406f2017-06-22 19:23:11 -0700808 "cmds/*",
Jeff Sharkey0c686e72017-10-23 16:04:31 -0600809 "core/*",
Colin Cross4f8d9e62016-12-01 15:55:00 -0800810 "libs/*",
Colin Cross76de4f62017-05-15 18:10:40 -0700811 "media/*",
Colin Cross747e7c12017-10-24 16:21:22 -0700812 "proto",
Fabien Sanglard19160202017-01-12 14:24:31 -0500813 "tools/*",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700814 "native/android",
Dan Albert7ce8df32016-09-23 16:43:49 -0700815 "native/graphics/jni",
Dan Albert2a8d9c22016-09-23 15:55:49 -0700816]
Svetoslav Ganov74c99832016-12-05 20:07:20 -0800817
818optional_subdirs = [
819 "core/tests/utiltests/jni",
820]
Steven Morelandeddafe92017-10-02 16:58:41 -0700821
822java_library {
823 name: "hwbinder",
824 no_framework_libs: true,
825
826 srcs: [
827 "core/java/android/os/HidlSupport.java",
828 "core/java/android/annotation/NonNull.java",
829 "core/java/android/os/HwBinder.java",
830 "core/java/android/os/HwBlob.java",
831 "core/java/android/os/HwParcel.java",
832 "core/java/android/os/IHwBinder.java",
833 "core/java/android/os/IHwInterface.java",
834 "core/java/android/os/DeadObjectException.java",
835 "core/java/android/os/DeadSystemException.java",
836 "core/java/android/os/RemoteException.java",
837 "core/java/android/util/AndroidException.java",
838 ],
839
840 dxflags: ["--core-library"],
841 installable: false,
842}
Nan Zhang2db709d2017-11-08 20:48:46 -0800843
844python_defaults {
845 name: "base_default",
846 version: {
847 py2: {
848 enabled: true,
849 embedded_launcher: true,
850 },
851 py3: {
852 enabled: false,
853 embedded_launcher: false,
854 },
855 },
856}
857
858python_binary_host {
859 name: "fontchain_linter",
860 defaults: ["base_default"],
861 main: "tools/fonts/fontchain_linter.py",
862 srcs: [
863 "tools/fonts/fontchain_linter.py",
864 ],
865 libs: [
866 "fontTools",
867 ],
868}