2 # Copyright (C) 2008 The Android Open Source Project
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 LOCAL_PATH := $(call my-dir)
18 # We have a special case here where we build the library's resources
19 # independently from its code, so we need to find where the resource
20 # class source got placed in the course of building the resources.
21 # Thus, the magic here.
22 # Also, this module cannot depend directly on the R.java file; if it
23 # did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct.
24 # Instead, it depends on the R.stamp file, which lists the corresponding
25 # R.java file as a prerequisite.
26 # TODO: find a more appropriate way to do this.
27 framework_res_source_path := APPS/framework-res_intermediates/src
29 # Build the master framework library.
30 # The framework contains too many method references (>64K) for poor old DEX.
31 # So we first build the framework as a monolithic static library then split it
32 # up into smaller pieces.
33 # ============================================================
35 # embedded builds use nothing in frameworks/base
36 ifneq ($(ANDROID_BUILD_EMBEDDED),true)
40 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
42 $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS)) \
43 $(call all-proto-files-under, core/proto)
47 core/java/android/app/admin/SecurityLogTags.logtags \
48 core/java/android/content/EventLogTags.logtags \
49 core/java/android/speech/tts/EventLogTags.logtags \
50 core/java/android/net/EventLogTags.logtags \
51 core/java/android/webkit/EventLogTags.logtags \
52 core/java/com/android/internal/logging/EventLogTags.logtags \
54 ## READ ME: ########################################################
56 ## When updating this list of aidl files, consider if that aidl is
57 ## part of the SDK API. If it is, also add it to the list below that
58 ## is preprocessed and distributed with the SDK. This list should
59 ## not contain any aidl files for parcelables, but the one below should
60 ## if you intend for 3rd parties to be able to send those objects
61 ## across process boundaries.
63 ## READ ME: ########################################################
65 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
66 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
67 core/java/android/accounts/IAccountManager.aidl \
68 core/java/android/accounts/IAccountManagerResponse.aidl \
69 core/java/android/accounts/IAccountAuthenticator.aidl \
70 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
71 core/java/android/app/IActivityContainer.aidl \
72 core/java/android/app/IActivityContainerCallback.aidl \
73 core/java/android/app/IActivityController.aidl \
74 core/java/android/app/IActivityManager.aidl \
75 core/java/android/app/IActivityPendingResult.aidl \
76 core/java/android/app/IAlarmCompleteListener.aidl \
77 core/java/android/app/IAlarmListener.aidl \
78 core/java/android/app/IAlarmManager.aidl \
79 core/java/android/app/IAppTask.aidl \
80 core/java/android/app/IApplicationThread.aidl \
81 core/java/android/app/ITaskStackListener.aidl \
82 core/java/android/app/IBackupAgent.aidl \
83 core/java/android/app/IEphemeralResolver.aidl \
84 core/java/android/app/IInstrumentationWatcher.aidl \
85 core/java/android/app/INotificationManager.aidl \
86 core/java/android/app/IProcessObserver.aidl \
87 core/java/android/app/ISearchManager.aidl \
88 core/java/android/app/ISearchManagerCallback.aidl \
89 core/java/android/app/IServiceConnection.aidl \
90 core/java/android/app/IStopUserCallback.aidl \
91 core/java/android/app/job/IJobCallback.aidl \
92 core/java/android/app/job/IJobScheduler.aidl \
93 core/java/android/app/job/IJobService.aidl \
94 core/java/android/app/ITransientNotification.aidl \
95 core/java/android/app/IUidObserver.aidl \
96 core/java/android/app/IUiAutomationConnection.aidl \
97 core/java/android/app/IUiModeManager.aidl \
98 core/java/android/app/IUserSwitchObserver.aidl \
99 core/java/android/app/IWallpaperManager.aidl \
100 core/java/android/app/IWallpaperManagerCallback.aidl \
101 core/java/android/app/admin/IDevicePolicyManager.aidl \
102 core/java/android/app/trust/IStrongAuthTracker.aidl \
103 core/java/android/app/trust/ITrustManager.aidl \
104 core/java/android/app/trust/ITrustListener.aidl \
105 core/java/android/app/backup/IBackupManager.aidl \
106 core/java/android/app/backup/IBackupObserver.aidl \
107 core/java/android/app/backup/IBackupManagerMonitor.aidl \
108 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
109 core/java/android/app/backup/IRestoreObserver.aidl \
110 core/java/android/app/backup/IRestoreSession.aidl \
111 core/java/android/app/backup/ISelectBackupTransportCallback.aidl \
112 core/java/android/app/usage/ICacheQuotaService.aidl \
113 core/java/android/app/usage/IStorageStatsManager.aidl \
114 core/java/android/app/usage/IUsageStatsManager.aidl \
115 core/java/android/bluetooth/IBluetooth.aidl \
116 core/java/android/bluetooth/IBluetoothA2dp.aidl \
117 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
118 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
119 core/java/android/bluetooth/IBluetoothCallback.aidl \
120 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
121 core/java/android/bluetooth/IBluetoothHeadset.aidl \
122 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
123 core/java/android/bluetooth/IBluetoothHealth.aidl \
124 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
125 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
126 core/java/android/bluetooth/IBluetoothPan.aidl \
127 core/java/android/bluetooth/IBluetoothManager.aidl \
128 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
129 core/java/android/bluetooth/IBluetoothMap.aidl \
130 core/java/android/bluetooth/IBluetoothMapClient.aidl \
131 core/java/android/bluetooth/IBluetoothPbap.aidl \
132 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
133 core/java/android/bluetooth/IBluetoothSap.aidl \
134 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
135 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
136 core/java/android/bluetooth/IBluetoothInputHost.aidl \
137 core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
138 core/java/android/bluetooth/IBluetoothGatt.aidl \
139 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
140 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
141 core/java/android/bluetooth/le/IAdvertiserCallback.aidl \
142 core/java/android/bluetooth/le/IScannerCallback.aidl \
143 core/java/android/content/IClipboard.aidl \
144 core/java/android/content/IContentService.aidl \
145 core/java/android/content/IIntentReceiver.aidl \
146 core/java/android/content/IIntentSender.aidl \
147 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
148 core/java/android/content/IRestrictionsManager.aidl \
149 core/java/android/content/ISyncAdapter.aidl \
150 core/java/android/content/ISyncContext.aidl \
151 core/java/android/content/ISyncServiceAdapter.aidl \
152 core/java/android/content/ISyncStatusObserver.aidl \
153 core/java/android/content/om/IOverlayManager.aidl \
154 core/java/android/content/pm/ILauncherApps.aidl \
155 core/java/android/content/pm/IOnAppsChangedListener.aidl \
156 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
157 core/java/android/content/pm/IOtaDexopt.aidl \
158 core/java/android/content/pm/IPackageDataObserver.aidl \
159 core/java/android/content/pm/IPackageDeleteObserver.aidl \
160 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
161 core/java/android/content/pm/IPackageInstallObserver.aidl \
162 core/java/android/content/pm/IPackageInstallObserver2.aidl \
163 core/java/android/content/pm/IPackageInstaller.aidl \
164 core/java/android/content/pm/IPackageInstallerCallback.aidl \
165 core/java/android/content/pm/IPackageInstallerSession.aidl \
166 core/java/android/content/pm/IPackageManager.aidl \
167 core/java/android/content/pm/IPackageMoveObserver.aidl \
168 core/java/android/content/pm/IPackageStatsObserver.aidl \
169 core/java/android/content/pm/IPinItemRequest.aidl \
170 core/java/android/content/pm/IShortcutService.aidl \
171 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
172 core/java/android/database/IContentObserver.aidl \
173 ../av/camera/aidl/android/hardware/ICameraService.aidl \
174 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
175 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
176 ../av/camera/aidl/android/hardware/ICamera.aidl \
177 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
178 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
179 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
180 core/java/android/hardware/IConsumerIrService.aidl \
181 core/java/android/hardware/ISerialManager.aidl \
182 core/java/android/hardware/display/IDisplayManager.aidl \
183 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
184 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
185 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
186 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
187 core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl \
188 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
189 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
190 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
191 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
192 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
193 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
194 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
195 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
196 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
197 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
198 core/java/android/hardware/input/IInputManager.aidl \
199 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
200 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
201 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
202 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
203 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
204 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
205 core/java/android/hardware/location/IFusedLocationHardware.aidl \
206 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
207 core/java/android/hardware/location/IGeofenceHardware.aidl \
208 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
209 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
210 core/java/android/hardware/location/IContextHubCallback.aidl \
211 core/java/android/hardware/location/IContextHubService.aidl \
212 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
213 core/java/android/hardware/usb/IUsbManager.aidl \
214 core/java/android/net/ICaptivePortal.aidl \
215 core/java/android/net/IConnectivityManager.aidl \
216 core/java/android/net/IIpConnectivityMetrics.aidl \
217 core/java/android/net/IEthernetManager.aidl \
218 core/java/android/net/IEthernetServiceListener.aidl \
219 core/java/android/net/INetdEventCallback.aidl \
220 core/java/android/net/INetworkManagementEventObserver.aidl \
221 core/java/android/net/INetworkPolicyListener.aidl \
222 core/java/android/net/INetworkPolicyManager.aidl \
223 core/java/android/net/INetworkRecommendationProvider.aidl \
224 core/java/android/net/INetworkScoreCache.aidl \
225 core/java/android/net/INetworkScoreService.aidl \
226 core/java/android/net/INetworkStatsService.aidl \
227 core/java/android/net/INetworkStatsSession.aidl \
228 core/java/android/net/nsd/INsdManager.aidl \
229 core/java/android/nfc/IAppCallback.aidl \
230 core/java/android/nfc/INfcAdapter.aidl \
231 core/java/android/nfc/INfcAdapterExtras.aidl \
232 core/java/android/nfc/INfcTag.aidl \
233 core/java/android/nfc/INfcCardEmulation.aidl \
234 core/java/android/nfc/INfcFCardEmulation.aidl \
235 core/java/android/nfc/INfcUnlockHandler.aidl \
236 core/java/android/nfc/ITagRemovedCallback.aidl \
237 core/java/android/os/IBatteryPropertiesListener.aidl \
238 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
239 core/java/android/os/ICancellationSignal.aidl \
240 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
241 core/java/android/os/IDeviceIdleController.aidl \
242 core/java/android/os/IHardwarePropertiesManager.aidl \
243 core/java/android/os/IIncidentManager.aidl \
244 core/java/android/os/IIncidentReportCompletedListener.aidl \
245 core/java/android/os/IIncidentReportStatusListener.aidl \
246 core/java/android/os/IMaintenanceActivityListener.aidl \
247 core/java/android/os/IMessenger.aidl \
248 core/java/android/os/INetworkActivityListener.aidl \
249 core/java/android/os/INetworkManagementService.aidl \
250 core/java/android/os/IPermissionController.aidl \
251 core/java/android/os/IProcessInfoService.aidl \
252 core/java/android/os/IProgressListener.aidl \
253 core/java/android/os/IPowerManager.aidl \
254 core/java/android/os/IRecoverySystem.aidl \
255 core/java/android/os/IRecoverySystemProgressListener.aidl \
256 core/java/android/os/IRemoteCallback.aidl \
257 core/java/android/os/ISchedulingPolicyService.aidl \
258 core/java/android/os/IUpdateLock.aidl \
259 core/java/android/os/IUserManager.aidl \
260 core/java/android/os/IVibratorService.aidl \
261 core/java/android/os/storage/IStorageManager.aidl \
262 core/java/android/os/storage/IStorageEventListener.aidl \
263 core/java/android/os/storage/IStorageShutdownObserver.aidl \
264 core/java/android/os/storage/IObbActionListener.aidl \
265 core/java/android/security/IKeystoreService.aidl \
266 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
267 core/java/android/service/autofill/IAutoFillService.aidl \
268 core/java/android/service/autofill/IFillCallback.aidl \
269 core/java/android/service/autofill/ISaveCallback.aidl \
270 core/java/android/service/carrier/ICarrierService.aidl \
271 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
272 core/java/android/service/carrier/ICarrierMessagingService.aidl \
273 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
274 core/java/android/service/notification/INotificationListener.aidl \
275 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
276 core/java/android/service/notification/IConditionListener.aidl \
277 core/java/android/service/notification/IConditionProvider.aidl \
278 core/java/android/service/vr/IVrListener.aidl \
279 core/java/android/service/vr/IVrManager.aidl \
280 core/java/android/service/vr/IVrStateCallbacks.aidl \
281 core/java/android/print/ILayoutResultCallback.aidl \
282 core/java/android/print/IPrinterDiscoveryObserver.aidl \
283 core/java/android/print/IPrintDocumentAdapter.aidl \
284 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
285 core/java/android/print/IPrintJobStateChangeListener.aidl \
286 core/java/android/print/IPrintServicesChangeListener.aidl \
287 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
288 core/java/android/print/IPrintManager.aidl \
289 core/java/android/print/IPrintSpooler.aidl \
290 core/java/android/print/IPrintSpoolerCallbacks.aidl \
291 core/java/android/print/IPrintSpoolerClient.aidl \
292 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
293 core/java/android/printservice/recommendation/IRecommendationService.aidl \
294 core/java/android/print/IWriteResultCallback.aidl \
295 core/java/android/printservice/IPrintService.aidl \
296 core/java/android/printservice/IPrintServiceClient.aidl \
297 core/java/android/companion/ICompanionDeviceManager.aidl \
298 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
299 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
300 core/java/android/companion/IFindDeviceCallback.aidl \
301 core/java/android/service/dreams/IDreamManager.aidl \
302 core/java/android/service/dreams/IDreamService.aidl \
303 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
304 core/java/android/service/trust/ITrustAgentService.aidl \
305 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
306 core/java/android/service/voice/IVoiceInteractionService.aidl \
307 core/java/android/service/voice/IVoiceInteractionSession.aidl \
308 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
309 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
310 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
311 core/java/android/service/wallpaper/IWallpaperService.aidl \
312 core/java/android/service/chooser/IChooserTargetService.aidl \
313 core/java/android/service/chooser/IChooserTargetResult.aidl \
314 core/java/android/text/ITextClassificationService.aidl \
315 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
316 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
317 core/java/android/view/accessibility/IAccessibilityManager.aidl \
318 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
319 core/java/android/view/autofill/IAutoFillManager.aidl \
320 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
321 core/java/android/view/IApplicationToken.aidl \
322 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
323 core/java/android/view/IDockedStackListener.aidl \
324 core/java/android/view/IGraphicsStats.aidl \
325 core/java/android/view/IGraphicsStatsCallback.aidl \
326 core/java/android/view/IInputFilter.aidl \
327 core/java/android/view/IInputFilterHost.aidl \
328 core/java/android/view/IOnKeyguardExitResult.aidl \
329 core/java/android/view/IPinnedStackController.aidl \
330 core/java/android/view/IPinnedStackListener.aidl \
331 core/java/android/view/IRotationWatcher.aidl \
332 core/java/android/view/IWindow.aidl \
333 core/java/android/view/IWindowFocusObserver.aidl \
334 core/java/android/view/IWindowId.aidl \
335 core/java/android/view/IWindowManager.aidl \
336 core/java/android/view/IWindowSession.aidl \
337 core/java/android/view/IWindowSessionCallback.aidl \
338 core/java/android/webkit/IWebViewUpdateService.aidl \
339 core/java/android/speech/IRecognitionListener.aidl \
340 core/java/android/speech/IRecognitionService.aidl \
341 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
342 core/java/android/speech/tts/ITextToSpeechService.aidl \
343 core/java/com/android/internal/app/IAppOpsCallback.aidl \
344 core/java/com/android/internal/app/IAppOpsService.aidl \
345 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
346 core/java/com/android/internal/app/IBatteryStats.aidl \
347 core/java/com/android/internal/app/ISoundTriggerService.aidl \
348 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
349 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
350 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
351 core/java/com/android/internal/app/IVoiceInteractor.aidl \
352 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
353 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
354 core/java/com/android/internal/app/IMediaContainerService.aidl \
355 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
356 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
357 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
358 core/java/com/android/internal/backup/IBackupTransport.aidl \
359 core/java/com/android/internal/backup/IObbBackupService.aidl \
360 core/java/com/android/internal/font/IFontManager.aidl \
361 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
362 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
363 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
364 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
365 core/java/com/android/internal/policy/IKeyguardService.aidl \
366 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
367 core/java/com/android/internal/policy/IShortcutService.aidl \
368 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
369 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
370 core/java/com/android/internal/os/IResultReceiver.aidl \
371 core/java/com/android/internal/os/IShellCallback.aidl \
372 core/java/com/android/internal/statusbar/IStatusBar.aidl \
373 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
374 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
375 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
376 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
377 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
378 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
379 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
380 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
381 core/java/com/android/internal/view/IInputContext.aidl \
382 core/java/com/android/internal/view/IInputContextCallback.aidl \
383 core/java/com/android/internal/view/IInputMethod.aidl \
384 core/java/com/android/internal/view/IInputMethodClient.aidl \
385 core/java/com/android/internal/view/IInputMethodManager.aidl \
386 core/java/com/android/internal/view/IInputMethodSession.aidl \
387 core/java/com/android/internal/view/IInputSessionCallback.aidl \
388 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
389 core/java/com/android/internal/widget/ILockSettings.aidl \
390 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
391 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
392 keystore/java/android/security/IKeyChainAliasCallback.aidl \
393 keystore/java/android/security/IKeyChainService.aidl \
394 location/java/android/location/IBatchedLocationCallback.aidl \
395 location/java/android/location/ICountryDetector.aidl \
396 location/java/android/location/ICountryListener.aidl \
397 location/java/android/location/IFusedProvider.aidl \
398 location/java/android/location/IGeocodeProvider.aidl \
399 location/java/android/location/IGeofenceProvider.aidl \
400 location/java/android/location/IGnssStatusListener.aidl \
401 location/java/android/location/IGnssStatusProvider.aidl \
402 location/java/android/location/IGnssMeasurementsListener.aidl \
403 location/java/android/location/IGnssNavigationMessageListener.aidl \
404 location/java/android/location/ILocationListener.aidl \
405 location/java/android/location/ILocationManager.aidl \
406 location/java/android/location/IFusedGeofenceHardware.aidl \
407 location/java/android/location/IGpsGeofenceHardware.aidl \
408 location/java/android/location/INetInitiatedListener.aidl \
409 location/java/com/android/internal/location/ILocationProvider.aidl \
410 media/java/android/media/IAudioService.aidl \
411 ../av/drm/libmediadrm/aidl/android/media/ICas.aidl \
412 ../av/drm/libmediadrm/aidl/android/media/ICasListener.aidl \
413 ../av/drm/libmediadrm/aidl/android/media/IDescrambler.aidl \
414 ../av/drm/libmediadrm/aidl/android/media/IMediaCasService.aidl \
415 media/java/android/media/IAudioFocusDispatcher.aidl \
416 media/java/android/media/IAudioRoutesObserver.aidl \
417 media/java/android/media/IMediaHTTPConnection.aidl \
418 media/java/android/media/IMediaHTTPService.aidl \
419 media/java/android/media/IMediaResourceMonitor.aidl \
420 media/java/android/media/IMediaRouterClient.aidl \
421 media/java/android/media/IMediaRouterService.aidl \
422 media/java/android/media/IMediaScannerListener.aidl \
423 media/java/android/media/IMediaScannerService.aidl \
424 media/java/android/media/IPlaybackConfigDispatcher.aidl \
425 media/java/android/media/IPlayer.aidl \
426 media/java/android/media/IRecordingConfigDispatcher.aidl \
427 media/java/android/media/IRemoteDisplayCallback.aidl \
428 media/java/android/media/IRemoteDisplayProvider.aidl \
429 media/java/android/media/IRemoteVolumeController.aidl \
430 media/java/android/media/IRemoteVolumeObserver.aidl \
431 media/java/android/media/IRingtonePlayer.aidl \
432 media/java/android/media/IVolumeController.aidl \
433 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
434 media/java/android/media/midi/IBluetoothMidiService.aidl \
435 media/java/android/media/midi/IMidiDeviceListener.aidl \
436 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
437 media/java/android/media/midi/IMidiDeviceServer.aidl \
438 media/java/android/media/midi/IMidiManager.aidl \
439 media/java/android/media/projection/IMediaProjection.aidl \
440 media/java/android/media/projection/IMediaProjectionCallback.aidl \
441 media/java/android/media/projection/IMediaProjectionManager.aidl \
442 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
443 media/java/android/media/session/IActiveSessionsListener.aidl \
444 media/java/android/media/session/ICallback.aidl \
445 media/java/android/media/session/IOnMediaKeyListener.aidl \
446 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
447 media/java/android/media/session/ISession.aidl \
448 media/java/android/media/session/ISessionCallback.aidl \
449 media/java/android/media/session/ISessionController.aidl \
450 media/java/android/media/session/ISessionControllerCallback.aidl \
451 media/java/android/media/session/ISessionManager.aidl \
452 media/java/android/media/tv/ITvInputClient.aidl \
453 media/java/android/media/tv/ITvInputHardware.aidl \
454 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
455 media/java/android/media/tv/ITvInputManager.aidl \
456 media/java/android/media/tv/ITvInputManagerCallback.aidl \
457 media/java/android/media/tv/ITvInputService.aidl \
458 media/java/android/media/tv/ITvInputServiceCallback.aidl \
459 media/java/android/media/tv/ITvInputSession.aidl \
460 media/java/android/media/tv/ITvInputSessionCallback.aidl \
461 media/java/android/media/tv/ITvRemoteProvider.aidl \
462 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
463 media/java/android/service/media/IMediaBrowserService.aidl \
464 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
465 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
466 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
467 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
468 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
469 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
470 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
471 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
472 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
473 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
474 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
475 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
476 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
477 telephony/java/com/android/ims/internal/IImsConfig.aidl \
478 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
479 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
480 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
481 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
482 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
483 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
484 telephony/java/com/android/ims/internal/IImsService.aidl \
485 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
486 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
487 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
488 telephony/java/com/android/ims/internal/IImsUt.aidl \
489 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
490 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
491 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
492 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
493 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
494 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
495 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
496 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
497 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
498 telephony/java/com/android/ims/ImsConfigListener.aidl \
499 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
500 telephony/java/com/android/internal/telephony/IMms.aidl \
501 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
502 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
503 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
504 telephony/java/com/android/internal/telephony/ISms.aidl \
505 telephony/java/com/android/internal/telephony/ISub.aidl \
506 telephony/java/com/android/internal/telephony/ITelephony.aidl \
507 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
508 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
509 wifi/java/android/net/wifi/IWifiManager.aidl \
510 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
511 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
512 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
513 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
514 wifi/java/android/net/wifi/IWifiScanner.aidl \
515 wifi/java/android/net/wifi/IRttManager.aidl \
516 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
517 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
518 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
519 core/java/android/service/quicksettings/IQSService.aidl \
520 core/java/android/service/quicksettings/IQSTileService.aidl \
522 # The following are native binders that need to go with the native component
523 # at system/update_engine/binder_bindings/. Use relative path to refer to them.
525 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
526 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
529 ../../system/netd/server/binder/android/net/INetd.aidl \
530 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
532 LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
534 # FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
535 LOCAL_AIDL_INCLUDES += \
536 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
537 frameworks/native/aidl/binder
539 LOCAL_AIDL_INCLUDES += \
540 frameworks/av/camera/aidl \
541 frameworks/av/drm/libmediadrm/aidl \
542 frameworks/native/aidl/gui \
543 system/netd/server/binder
545 LOCAL_INTERMEDIATE_SOURCES := \
546 $(framework_res_source_path)/android/R.java \
547 $(framework_res_source_path)/android/Manifest.java \
548 $(framework_res_source_path)/com/android/internal/R.java
550 # Make sure that R.java and Manifest.java are built before we build
551 # the source for this library.
552 framework_res_R_stamp := \
553 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
554 LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
556 LOCAL_NO_STANDARD_LIBRARIES := true
557 LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
559 LOCAL_STATIC_JAVA_LIBRARIES := \
561 android.hardware.thermal@1.0-java-constants \
562 android.hardware.health@1.0-java-constants \
563 android.hardware.usb@1.0-java-constants \
565 LOCAL_PROTOC_OPTIMIZE_TYPE := stream
566 LOCAL_PROTOC_FLAGS := \
567 -Iexternal/protobuf/src
569 LOCAL_MODULE := framework
571 LOCAL_DX_FLAGS := --core-library --multi-dex
572 LOCAL_JACK_FLAGS := --multi-dex native
574 LOCAL_RMTYPEDEFS := true
576 ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
577 LOCAL_EMMA_INSTRUMENT := true
580 include $(BUILD_JAVA_LIBRARY)
582 framework_module := $(LOCAL_INSTALLED_MODULE)
583 $(framework_module): | $(dir $(framework_module))framework-res.apk
585 framework_built := $(call java-lib-deps,framework)
587 # Copy AIDL files to be preprocessed and included in the SDK,
588 # specified relative to the root of the build tree.
589 # ============================================================
590 include $(CLEAR_VARS)
593 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
594 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
595 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
596 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
597 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
598 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
599 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
600 frameworks/base/location/java/android/location/Location.aidl \
601 frameworks/base/location/java/android/location/Address.aidl \
602 frameworks/base/location/java/android/location/Criteria.aidl \
603 frameworks/base/media/java/android/media/MediaMetadata.aidl \
604 frameworks/base/media/java/android/media/MediaDescription.aidl \
605 frameworks/base/media/java/android/media/Rating.aidl \
606 frameworks/base/media/java/android/media/AudioAttributes.aidl \
607 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
608 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
609 frameworks/base/media/java/android/media/session/MediaSession.aidl \
610 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
611 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
612 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
613 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
614 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
615 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
616 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
617 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
618 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
619 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
620 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
621 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
622 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
623 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
624 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
625 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
626 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
627 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
628 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
629 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
630 frameworks/base/graphics/java/android/graphics/Region.aidl \
631 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
632 frameworks/base/graphics/java/android/graphics/Point.aidl \
633 frameworks/base/graphics/java/android/graphics/PointF.aidl \
634 frameworks/base/graphics/java/android/graphics/RectF.aidl \
635 frameworks/base/graphics/java/android/graphics/Rect.aidl \
636 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
637 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
638 frameworks/base/core/java/android/accounts/Account.aidl \
639 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
640 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
641 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
642 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
643 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
644 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
645 frameworks/base/core/java/android/print/PageRange.aidl \
646 frameworks/base/core/java/android/print/PrintAttributes.aidl \
647 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
648 frameworks/base/core/java/android/print/PrinterId.aidl \
649 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
650 frameworks/base/core/java/android/print/PrinterInfo.aidl \
651 frameworks/base/core/java/android/print/PrintJobId.aidl \
652 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
653 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
654 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
655 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
656 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
657 frameworks/base/core/java/android/os/Messenger.aidl \
658 frameworks/base/core/java/android/os/PatternMatcher.aidl \
659 frameworks/base/core/java/android/os/Message.aidl \
660 frameworks/base/core/java/android/os/UserHandle.aidl \
661 frameworks/base/core/java/android/os/ParcelUuid.aidl \
662 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
663 frameworks/base/core/java/android/os/ResultReceiver.aidl \
664 frameworks/base/core/java/android/os/WorkSource.aidl \
665 frameworks/base/core/java/android/os/DropBoxManager.aidl \
666 frameworks/base/core/java/android/os/Bundle.aidl \
667 frameworks/base/core/java/android/os/Debug.aidl \
668 frameworks/base/core/java/android/os/StrictMode.aidl \
669 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
670 frameworks/base/core/java/android/net/Network.aidl \
671 frameworks/base/core/java/android/net/RouteInfo.aidl \
672 frameworks/base/core/java/android/net/NetworkInfo.aidl \
673 frameworks/base/core/java/android/net/IpPrefix.aidl \
674 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
675 frameworks/base/core/java/android/net/DhcpInfo.aidl \
676 frameworks/base/core/java/android/net/ProxyInfo.aidl \
677 frameworks/base/core/java/android/net/LinkProperties.aidl \
678 frameworks/base/core/java/android/net/Uri.aidl \
679 frameworks/base/core/java/android/net/NetworkRequest.aidl \
680 frameworks/base/core/java/android/net/LinkAddress.aidl \
681 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
682 frameworks/base/core/java/android/view/Display.aidl \
683 frameworks/base/core/java/android/view/InputDevice.aidl \
684 frameworks/base/core/java/android/view/InputEvent.aidl \
685 frameworks/native/aidl/gui/android/view/Surface.aidl \
686 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
687 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
688 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
689 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
690 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
691 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
692 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
693 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
694 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
695 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
696 frameworks/base/core/java/android/view/DragEvent.aidl \
697 frameworks/base/core/java/android/view/KeyEvent.aidl \
698 frameworks/base/core/java/android/view/WindowManager.aidl \
699 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
700 frameworks/base/core/java/android/view/MotionEvent.aidl \
701 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
702 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
703 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
704 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
705 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
706 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
707 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
708 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
709 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
710 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
711 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
712 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
713 frameworks/base/core/java/android/service/notification/Condition.aidl \
714 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
715 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
716 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
717 frameworks/base/core/java/android/speech/tts/Voice.aidl \
718 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
719 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
720 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
721 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
722 frameworks/base/core/java/android/app/Notification.aidl \
723 frameworks/base/core/java/android/app/NotificationManager.aidl \
724 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
725 frameworks/base/core/java/android/app/AppOpsManager.aidl \
726 frameworks/base/core/java/android/app/ActivityManager.aidl \
727 frameworks/base/core/java/android/app/PendingIntent.aidl \
728 frameworks/base/core/java/android/app/AlarmManager.aidl \
729 frameworks/base/core/java/android/app/SearchableInfo.aidl \
730 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
731 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
732 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
733 frameworks/base/core/java/android/app/job/JobParameters.aidl \
734 frameworks/base/core/java/android/app/job/JobInfo.aidl \
735 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
736 frameworks/base/core/java/android/content/ClipDescription.aidl \
737 frameworks/base/core/java/android/content/IntentFilter.aidl \
738 frameworks/base/core/java/android/content/Intent.aidl \
739 frameworks/base/core/java/android/content/res/Configuration.aidl \
740 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
741 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
742 frameworks/base/core/java/android/content/ClipData.aidl \
743 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
744 frameworks/base/core/java/android/content/SyncRequest.aidl \
745 frameworks/base/core/java/android/content/PeriodicSync.aidl \
746 frameworks/base/core/java/android/content/SyncResult.aidl \
747 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
748 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
749 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
750 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
751 frameworks/base/core/java/android/content/pm/Signature.aidl \
752 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
753 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
754 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
755 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
756 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
757 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
758 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
759 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
760 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
761 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
762 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
763 frameworks/base/core/java/android/content/ComponentName.aidl \
764 frameworks/base/core/java/android/content/SyncStats.aidl \
765 frameworks/base/core/java/android/content/ContentValues.aidl \
766 frameworks/base/core/java/android/content/SyncInfo.aidl \
767 frameworks/base/core/java/android/content/IntentSender.aidl \
768 frameworks/base/core/java/android/widget/RemoteViews.aidl \
769 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
770 frameworks/base/core/java/android/nfc/Tag.aidl \
771 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
772 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
773 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
774 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
775 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
776 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
777 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
778 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
779 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
780 frameworks/base/core/java/android/database/CursorWindow.aidl \
781 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
782 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
783 system/netd/server/binder/android/net/UidRange.aidl \
784 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
786 gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
787 $(gen): PRIVATE_SRC_FILES := $(aidl_files)
788 ALL_SDK_FILES += $(gen)
789 $(gen): $(aidl_files) | $(AIDL)
790 @echo Aidl Preprocess: $@
791 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
794 # ============================================================
796 # TODO: deal with com/google/android/googleapps
797 packages_to_document := \
799 javax/microedition/khronos \
800 org/apache/http/conn \
801 org/apache/http/params
804 # Search through the base framework dirs for these packages.
805 # The result will be relative to frameworks/base.
806 fwbase_dirs_to_document := \
809 $(patsubst $(LOCAL_PATH)/%,%, \
811 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
812 $(addprefix $(dir)/, $(packages_to_document)) \
817 # include definition of libcore_to_document
818 include libcore/Docs.mk
821 ../opt/telephony/src/java/android/provider \
822 ../opt/telephony/src/java/android/telephony \
823 ../opt/telephony/src/java/android/telephony/gsm \
824 ../opt/net/voip/src/java/android/net/rtp \
825 ../opt/net/voip/src/java/android/net/sip
827 # These are relative to frameworks/base
828 dirs_to_check_apis := \
829 $(fwbase_dirs_to_document) \
832 ###########################################################
833 ## Return all directories that have a 'NO_DOCS' file in
834 ## them, appending a '%' to them to form a pattern to
835 ## filter out files under those directories.
836 ## $(1): A list of base directories to look at.
837 ###########################################################
838 define find-no-docs-pattern
839 $(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
842 # These are relative to frameworks/base
843 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
844 dirs_to_document := \
845 $(dirs_to_check_apis) \
846 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
847 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
849 patterns_to_not_document := \
850 $(call find-no-docs-pattern, $(dirs_to_document))
852 # These are relative to frameworks/base
854 $(FRAMEWORKS_BASE_SUBDIRS) \
857 # Common sources for doc check and api check
858 common_src_files := \
859 $(call find-other-html-files, $(html_dirs)) \
860 $(addprefix ../../, $(libcore_to_document))
862 # These are relative to frameworks/base
863 framework_docs_LOCAL_SRC_FILES := \
864 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
867 # These are relative to frameworks/base
868 framework_docs_LOCAL_API_CHECK_SRC_FILES := \
869 $(call find-other-java-files, $(dirs_to_check_apis)) \
872 # This is used by ide.mk as the list of source files that are
874 INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
876 framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
877 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
879 framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
880 $(framework_res_source_path)/android/R.java \
881 $(framework_res_source_path)/android/Manifest.java \
882 $(framework_res_source_path)/com/android/internal/R.java
884 framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
896 framework_docs_LOCAL_JAVA_LIBRARIES := \
897 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
898 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
900 framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
901 framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
902 # The since flag (-since N.xml API_LEVEL) is used to add API Level information
903 # to the reference documentation. Must be in order of oldest to newest.
905 # Conscrypt (com.android.org.conscrypt) is an implementation detail and should
906 # not be referenced in the documentation.
907 framework_docs_LOCAL_DROIDDOC_OPTIONS := \
908 -knowntags ./frameworks/base/docs/knowntags.txt \
909 -knowntags ./libcore/known_oj_tags.txt \
910 -hidePackage com.android.org.conscrypt \
911 -since $(SRC_API_DIR)/1.xml 1 \
912 -since $(SRC_API_DIR)/2.xml 2 \
913 -since $(SRC_API_DIR)/3.xml 3 \
914 -since $(SRC_API_DIR)/4.xml 4 \
915 -since $(SRC_API_DIR)/5.xml 5 \
916 -since $(SRC_API_DIR)/6.xml 6 \
917 -since $(SRC_API_DIR)/7.xml 7 \
918 -since $(SRC_API_DIR)/8.xml 8 \
919 -since $(SRC_API_DIR)/9.xml 9 \
920 -since $(SRC_API_DIR)/10.xml 10 \
921 -since $(SRC_API_DIR)/11.xml 11 \
922 -since $(SRC_API_DIR)/12.xml 12 \
923 -since $(SRC_API_DIR)/13.xml 13 \
924 -since $(SRC_API_DIR)/14.txt 14 \
925 -since $(SRC_API_DIR)/15.txt 15 \
926 -since $(SRC_API_DIR)/16.txt 16 \
927 -since $(SRC_API_DIR)/17.txt 17 \
928 -since $(SRC_API_DIR)/18.txt 18 \
929 -since $(SRC_API_DIR)/19.txt 19 \
930 -since $(SRC_API_DIR)/20.txt 20 \
931 -since $(SRC_API_DIR)/21.txt 21 \
932 -since $(SRC_API_DIR)/22.txt 22 \
933 -since $(SRC_API_DIR)/23.txt 23 \
934 -since $(SRC_API_DIR)/24.txt 24 \
935 -since $(SRC_API_DIR)/25.txt 25 \
936 -since ./frameworks/base/api/current.txt O \
937 -werror -hide 111 -hide 113 \
938 -overview $(LOCAL_PATH)/core/java/overview.html
940 framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
941 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
943 framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
944 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
945 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
946 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
948 framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
949 frameworks/base/docs/knowntags.txt \
952 samples_dir := development/samples/browseable
954 # Whitelist of valid groups, used for default TOC grouping. Each sample must
955 # belong to one (and only one) group. Assign samples to groups by setting
956 # a sample.group var to one of these groups in the sample's _index.jd.
957 sample_groups := -samplegroup Admin \
958 -samplegroup Background \
959 -samplegroup Connectivity \
960 -samplegroup Content \
963 -samplegroup Notification \
964 -samplegroup RenderScript \
965 -samplegroup Security \
966 -samplegroup Sensors \
967 -samplegroup System \
968 -samplegroup Testing \
971 -samplegroup Wearable
973 ## SDK version identifiers used in the published docs
974 # major[.minor] version for current SDK. (full releases only)
975 framework_docs_SDK_VERSION:=7.0
976 # release version (ie "Release x") (full releases only)
977 framework_docs_SDK_REL_ID:=1
979 framework_docs_LOCAL_DROIDDOC_OPTIONS += \
980 -hdf sdk.codename N \
981 -hdf sdk.preview.version 5 \
982 -hdf sdk.version $(framework_docs_SDK_VERSION) \
983 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
986 # ==== the api stubs and current.xml ===========================
987 include $(CLEAR_VARS)
989 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
990 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
991 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
992 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
993 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
994 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
995 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
996 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
998 LOCAL_MODULE := api-stubs
1000 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1002 LOCAL_DROIDDOC_OPTIONS:=\
1003 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1005 -api $(INTERNAL_PLATFORM_API_FILE) \
1006 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1009 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1011 LOCAL_UNINSTALLABLE_MODULE := true
1013 include $(BUILD_DROIDDOC)
1015 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1016 $(full_target): $(framework_built) $(gen)
1017 $(INTERNAL_PLATFORM_API_FILE): $(full_target)
1018 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1020 # ==== the system api stubs ===================================
1021 include $(CLEAR_VARS)
1023 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1024 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1025 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1026 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1027 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1028 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1029 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1030 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1032 LOCAL_MODULE := system-api-stubs
1034 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1036 LOCAL_DROIDDOC_OPTIONS:=\
1037 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1039 -showAnnotation android.annotation.SystemApi \
1040 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1041 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
1044 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1046 LOCAL_UNINSTALLABLE_MODULE := true
1048 include $(BUILD_DROIDDOC)
1050 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1051 $(full_target): $(framework_built) $(gen)
1052 $(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1053 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1055 # ==== the test api stubs ===================================
1056 include $(CLEAR_VARS)
1058 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1059 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1060 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1061 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1062 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1063 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1064 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1065 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1067 LOCAL_MODULE := test-api-stubs
1069 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1071 LOCAL_DROIDDOC_OPTIONS:=\
1072 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1074 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1075 -showAnnotation android.annotation.TestApi \
1076 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1077 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
1080 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1082 LOCAL_UNINSTALLABLE_MODULE := true
1084 include $(BUILD_DROIDDOC)
1086 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1087 $(full_target): $(framework_built) $(gen)
1088 $(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1089 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1091 # ==== check javadoc comments but don't generate docs ========
1092 include $(CLEAR_VARS)
1094 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1095 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1096 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1097 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1098 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1099 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1100 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1101 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1103 LOCAL_MODULE := doc-comment-check
1105 LOCAL_DROIDDOC_OPTIONS:=\
1106 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1110 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1112 LOCAL_UNINSTALLABLE_MODULE := true
1114 include $(BUILD_DROIDDOC)
1116 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1117 $(full_target): $(framework_built) $(gen)
1119 # Run this for checkbuild
1120 checkbuild: doc-comment-check-docs
1121 # Check comment when you are updating the API
1122 update-api: doc-comment-check-docs
1124 # ==== static html in the sdk ==================================
1125 include $(CLEAR_VARS)
1127 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1128 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1129 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1130 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1131 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1132 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1133 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1134 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1136 LOCAL_MODULE := offline-sdk
1138 LOCAL_DROIDDOC_OPTIONS:=\
1139 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1141 -title "Android SDK" \
1142 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1143 -sdkvalues $(OUT_DOCS) \
1144 -hdf android.whichdoc offline
1146 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1148 include $(BUILD_DROIDDOC)
1150 static_doc_index_redirect := $(out_dir)/index.html
1151 $(static_doc_index_redirect): \
1152 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1153 $(hide) mkdir -p $(dir $@)
1154 $(hide) $(ACP) $< $@
1156 $(full_target): $(static_doc_index_redirect)
1157 $(full_target): $(framework_built)
1160 # ==== static html in the sdk ==================================
1161 include $(CLEAR_VARS)
1163 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1164 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1165 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1166 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1167 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1168 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1169 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1170 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1172 LOCAL_MODULE := offline-sdk-referenceonly
1174 LOCAL_DROIDDOC_OPTIONS:=\
1175 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1177 -title "Android SDK" \
1178 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1179 -sdkvalues $(OUT_DOCS) \
1180 -hdf android.whichdoc offline \
1182 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1183 -resourcesoutdir reference/android/images/
1185 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1187 include $(BUILD_DROIDDOC)
1189 static_doc_index_redirect := $(out_dir)/index.html
1190 $(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
1191 $(copy-file-to-target)
1193 static_doc_properties := $(out_dir)/source.properties
1194 $(static_doc_properties): \
1195 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1196 $(hide) mkdir -p $(dir $@)
1197 $(hide) $(ACP) $< $@
1199 $(full_target): $(static_doc_index_redirect)
1200 $(full_target): $(static_doc_properties)
1201 $(full_target): $(framework_built)
1204 # ==== docs for the web (on the androiddevdocs app engine server) =======================
1205 include $(CLEAR_VARS)
1207 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1208 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1209 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1210 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1211 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1212 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1213 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1214 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1215 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1216 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1218 LOCAL_MODULE := online-sdk
1220 LOCAL_DROIDDOC_OPTIONS:= \
1221 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1223 -hdf android.whichdoc online \
1225 -hdf android.hasSamples true \
1226 -samplesdir $(samples_dir)
1228 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1230 include $(BUILD_DROIDDOC)
1232 # ==== docs for the web (on the androiddevdocs app engine server) =======================
1233 # TODO: Fix the System API docs build.
1234 ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1235 include $(CLEAR_VARS)
1237 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1238 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1239 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1240 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1241 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1242 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1243 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1244 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1245 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1246 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1248 LOCAL_MODULE := online-system-api-sdk
1250 LOCAL_DROIDDOC_OPTIONS:= \
1251 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1253 -showAnnotation android.annotation.SystemApi \
1254 -title "Android SDK - Including system APIs." \
1259 -hdf android.whichdoc online \
1261 -hdf android.hasSamples true \
1262 -samplesdir $(samples_dir)
1264 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1265 # Don't build by default
1266 LOCAL_UNINSTALLABLE_MODULE := true
1268 include $(BUILD_DROIDDOC)
1269 endif # online-system-api-sdk-docs in make command line.
1271 # ==== docs for the web (on the devsite app engine server) =======================
1272 include $(CLEAR_VARS)
1273 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1274 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1275 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1276 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1277 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1278 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1279 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1280 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1281 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1282 # specify a second html input dir and an output path relative to OUT_DIR)
1283 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1287 LOCAL_DROIDDOC_OPTIONS:= \
1288 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1290 -hdf android.whichdoc online \
1293 -hdf android.hasSamples true \
1294 -samplesdir $(samples_dir)
1296 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1298 include $(BUILD_DROIDDOC)
1300 # ==== docs for the web (on the devsite app engine server) =======================
1301 include $(CLEAR_VARS)
1302 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1303 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1304 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1305 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1306 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1307 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1308 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1309 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1310 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1311 # specify a second html input dir and an output path relative to OUT_DIR)
1312 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1314 LOCAL_MODULE := ds-static
1316 LOCAL_DROIDDOC_OPTIONS:= \
1317 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1318 -hdf android.whichdoc online \
1324 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1326 include $(BUILD_DROIDDOC)
1328 # ==== generates full navtree for resolving @links in ds postprocessing ====
1329 include $(CLEAR_VARS)
1331 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1332 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1333 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1334 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1335 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1336 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1337 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1338 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1340 LOCAL_MODULE := ds-ref-navtree
1342 LOCAL_DROIDDOC_OPTIONS:= \
1343 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1344 -hdf android.whichdoc online \
1349 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1351 include $(BUILD_DROIDDOC)
1353 # ==== site updates for docs (on the androiddevdocs app engine server) =======================
1354 include $(CLEAR_VARS)
1356 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1357 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1358 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1359 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1360 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1361 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1362 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1363 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1364 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1365 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1367 LOCAL_MODULE := online-sdk-dev
1369 LOCAL_DROIDDOC_OPTIONS:= \
1370 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1372 -hdf android.whichdoc online \
1374 -hdf android.hasSamples true \
1375 -samplesdir $(samples_dir)
1377 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1379 include $(BUILD_DROIDDOC)
1381 # ==== docs that have all of the stuff that's @hidden =======================
1382 include $(CLEAR_VARS)
1384 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1385 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1386 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1387 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1388 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1389 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1390 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1391 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1393 LOCAL_MODULE := hidden
1394 LOCAL_DROIDDOC_OPTIONS:=\
1395 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1397 -title "Android SDK - Including hidden APIs."
1400 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1402 include $(BUILD_DROIDDOC)
1405 # ============================================================
1408 ../../external/nist-sip/java \
1409 ../../external/tagsoup/src \
1411 ext_src_files := $(call all-java-files-under,$(ext_dirs))
1413 # ==== the library =========================================
1414 include $(CLEAR_VARS)
1416 LOCAL_SRC_FILES := $(ext_src_files)
1418 LOCAL_NO_STANDARD_LIBRARIES := true
1419 LOCAL_JAVA_LIBRARIES := core-oj core-libart
1420 LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1421 LOCAL_MODULE_TAGS := optional
1424 LOCAL_DX_FLAGS := --core-library
1426 ifneq ($(INCREMENTAL_BUILDS),)
1427 LOCAL_PROGUARD_ENABLED := disabled
1428 LOCAL_JACK_ENABLED := incremental
1431 include $(BUILD_JAVA_LIBRARY)
1433 # ==== c++ proto device library ==============================
1434 include $(CLEAR_VARS)
1435 LOCAL_MODULE := libplatformprotos
1436 # b/34740546, work around clang-tidy segmentation fault.
1437 LOCAL_TIDY_CHECKS := -modernize*
1438 LOCAL_PROTOC_OPTIMIZE_TYPE := lite
1439 LOCAL_PROTOC_FLAGS := \
1440 --include_source_info \
1441 -Iexternal/protobuf/src
1442 LOCAL_SRC_FILES := \
1443 $(call all-proto-files-under, core/proto) \
1444 $(call all-proto-files-under, libs/incident/proto)
1445 LOCAL_C_INCLUDES := \
1446 $(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
1447 LOCAL_EXPORT_C_INCLUDES := \
1448 $(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
1449 include $(BUILD_STATIC_LIBRARY)
1451 # ==== c++ proto host library ==============================
1452 include $(CLEAR_VARS)
1453 LOCAL_MODULE := libplatformprotos
1454 # b/34740546, work around clang-tidy segmentation fault.
1455 LOCAL_TIDY_CHECKS := -modernize*
1456 LOCAL_PROTOC_OPTIMIZE_TYPE := full
1457 LOCAL_PROTOC_FLAGS := \
1458 --include_source_info \
1459 -Iexternal/protobuf/src
1460 LOCAL_SRC_FILES := \
1461 $(call all-proto-files-under, core/proto) \
1462 $(call all-proto-files-under, libs/incident/proto)
1463 LOCAL_C_INCLUDES := \
1464 $(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
1465 LOCAL_EXPORT_C_INCLUDES := \
1466 $(call generated-sources-dir-for,STATIC_LIBRARIES,libplatformprotos,)/proto
1467 include $(BUILD_HOST_SHARED_LIBRARY)
1470 # ==== java proto host library ==============================
1471 include $(CLEAR_VARS)
1472 LOCAL_MODULE := platformprotos
1473 LOCAL_PROTOC_OPTIMIZE_TYPE := full
1474 LOCAL_PROTOC_FLAGS := \
1475 -Iexternal/protobuf/src
1476 LOCAL_SOURCE_FILES_ALL_GENERATED := true
1477 LOCAL_SRC_FILES := \
1478 $(call all-proto-files-under, core/proto) \
1479 $(call all-proto-files-under, libs/incident/proto)
1480 include $(BUILD_HOST_JAVA_LIBRARY)
1483 # Include subdirectory makefiles
1484 # ============================================================
1486 # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1487 # team really wants is to build the stuff defined by this makefile.
1488 ifeq (,$(ONE_SHOT_MAKEFILE))
1489 include $(call first-makefiles-under,$(LOCAL_PATH))
1492 endif # ANDROID_BUILD_EMBEDDED