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
41 LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
45 core/java/android/app/admin/SecurityLogTags.logtags \
46 core/java/android/content/EventLogTags.logtags \
47 core/java/android/speech/tts/EventLogTags.logtags \
48 core/java/android/webkit/EventLogTags.logtags \
49 core/java/com/android/internal/logging/EventLogTags.logtags \
51 ## READ ME: ########################################################
53 ## When updating this list of aidl files, consider if that aidl is
54 ## part of the SDK API. If it is, also add it to the list below that
55 ## is preprocessed and distributed with the SDK. This list should
56 ## not contain any aidl files for parcelables, but the one below should
57 ## if you intend for 3rd parties to be able to send those objects
58 ## across process boundaries.
60 ## READ ME: ########################################################
62 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
63 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
64 core/java/android/accounts/IAccountManager.aidl \
65 core/java/android/accounts/IAccountManagerResponse.aidl \
66 core/java/android/accounts/IAccountAuthenticator.aidl \
67 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
68 core/java/android/app/IActivityContainer.aidl \
69 core/java/android/app/IActivityContainerCallback.aidl \
70 core/java/android/app/IActivityController.aidl \
71 core/java/android/app/IActivityPendingResult.aidl \
72 core/java/android/app/IAlarmCompleteListener.aidl \
73 core/java/android/app/IAlarmListener.aidl \
74 core/java/android/app/IAlarmManager.aidl \
75 core/java/android/app/IAppTask.aidl \
76 core/java/android/app/ITaskStackListener.aidl \
77 core/java/android/app/IBackupAgent.aidl \
78 core/java/android/app/IInstrumentationWatcher.aidl \
79 core/java/android/app/INotificationManager.aidl \
80 core/java/android/app/IProcessObserver.aidl \
81 core/java/android/app/ISearchManager.aidl \
82 core/java/android/app/ISearchManagerCallback.aidl \
83 core/java/android/app/IServiceConnection.aidl \
84 core/java/android/app/IStopUserCallback.aidl \
85 core/java/android/app/job/IJobCallback.aidl \
86 core/java/android/app/job/IJobScheduler.aidl \
87 core/java/android/app/job/IJobService.aidl \
88 core/java/android/app/ITransientNotification.aidl \
89 core/java/android/app/IUidObserver.aidl \
90 core/java/android/app/IUiAutomationConnection.aidl \
91 core/java/android/app/IUiModeManager.aidl \
92 core/java/android/app/IUserSwitchObserver.aidl \
93 core/java/android/app/IWallpaperManager.aidl \
94 core/java/android/app/IWallpaperManagerCallback.aidl \
95 core/java/android/app/admin/IDevicePolicyManager.aidl \
96 core/java/android/app/trust/IStrongAuthTracker.aidl \
97 core/java/android/app/trust/ITrustManager.aidl \
98 core/java/android/app/trust/ITrustListener.aidl \
99 core/java/android/app/backup/IBackupManager.aidl \
100 core/java/android/app/backup/IBackupObserver.aidl \
101 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
102 core/java/android/app/backup/IRestoreObserver.aidl \
103 core/java/android/app/backup/IRestoreSession.aidl \
104 core/java/android/app/usage/IUsageStatsManager.aidl \
105 core/java/android/bluetooth/IBluetooth.aidl \
106 core/java/android/bluetooth/IBluetoothA2dp.aidl \
107 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
108 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
109 core/java/android/bluetooth/IBluetoothCallback.aidl \
110 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
111 core/java/android/bluetooth/IBluetoothHeadset.aidl \
112 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
113 core/java/android/bluetooth/IBluetoothHealth.aidl \
114 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
115 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
116 core/java/android/bluetooth/IBluetoothPan.aidl \
117 core/java/android/bluetooth/IBluetoothManager.aidl \
118 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
119 core/java/android/bluetooth/IBluetoothPbap.aidl \
120 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
121 core/java/android/bluetooth/IBluetoothMap.aidl \
122 core/java/android/bluetooth/IBluetoothSap.aidl \
123 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
124 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
125 core/java/android/bluetooth/IBluetoothGatt.aidl \
126 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
127 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
128 core/java/android/content/IClipboard.aidl \
129 core/java/android/content/IContentService.aidl \
130 core/java/android/content/IIntentReceiver.aidl \
131 core/java/android/content/IIntentSender.aidl \
132 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
133 core/java/android/content/IRestrictionsManager.aidl \
134 core/java/android/content/ISyncAdapter.aidl \
135 core/java/android/content/ISyncContext.aidl \
136 core/java/android/content/ISyncServiceAdapter.aidl \
137 core/java/android/content/ISyncStatusObserver.aidl \
138 core/java/android/content/pm/ILauncherApps.aidl \
139 core/java/android/content/pm/IOnAppsChangedListener.aidl \
140 core/java/android/content/pm/IOtaDexopt.aidl \
141 core/java/android/content/pm/IPackageDataObserver.aidl \
142 core/java/android/content/pm/IPackageDeleteObserver.aidl \
143 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
144 core/java/android/content/pm/IPackageInstallObserver.aidl \
145 core/java/android/content/pm/IPackageInstallObserver2.aidl \
146 core/java/android/content/pm/IPackageInstaller.aidl \
147 core/java/android/content/pm/IPackageInstallerCallback.aidl \
148 core/java/android/content/pm/IPackageInstallerSession.aidl \
149 core/java/android/content/pm/IPackageManager.aidl \
150 core/java/android/content/pm/IPackageMoveObserver.aidl \
151 core/java/android/content/pm/IPackageStatsObserver.aidl \
152 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
153 core/java/android/content/pm/IShortcutService.aidl \
154 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
155 core/java/android/database/IContentObserver.aidl \
156 ../av/camera/aidl/android/hardware/ICameraService.aidl \
157 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
158 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
159 ../av/camera/aidl/android/hardware/ICamera.aidl \
160 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
161 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
162 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
163 core/java/android/hardware/IConsumerIrService.aidl \
164 core/java/android/hardware/ISerialManager.aidl \
165 core/java/android/hardware/display/IDisplayManager.aidl \
166 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
167 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
168 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
169 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
170 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
171 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
172 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
173 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
174 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
175 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
176 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
177 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
178 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
179 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
180 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
181 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
182 core/java/android/hardware/input/IInputManager.aidl \
183 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
184 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
185 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
186 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
187 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
188 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
189 core/java/android/hardware/location/IFusedLocationHardware.aidl \
190 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
191 core/java/android/hardware/location/IGeofenceHardware.aidl \
192 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
193 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
194 core/java/android/hardware/location/IContextHubCallback.aidl \
195 core/java/android/hardware/location/IContextHubService.aidl \
196 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
197 core/java/android/hardware/usb/IUsbManager.aidl \
198 core/java/android/net/ICaptivePortal.aidl \
199 core/java/android/net/IConnectivityManager.aidl \
200 core/java/android/net/IConnectivityMetricsLogger.aidl \
201 core/java/android/net/IEthernetManager.aidl \
202 core/java/android/net/IEthernetServiceListener.aidl \
203 core/java/android/net/INetworkManagementEventObserver.aidl \
204 core/java/android/net/INetworkPolicyListener.aidl \
205 core/java/android/net/INetworkPolicyManager.aidl \
206 core/java/android/net/INetworkScoreCache.aidl \
207 core/java/android/net/INetworkScoreService.aidl \
208 core/java/android/net/INetworkStatsService.aidl \
209 core/java/android/net/INetworkStatsSession.aidl \
210 core/java/android/net/nsd/INsdManager.aidl \
211 core/java/android/nfc/IAppCallback.aidl \
212 core/java/android/nfc/INfcAdapter.aidl \
213 core/java/android/nfc/INfcAdapterExtras.aidl \
214 core/java/android/nfc/INfcTag.aidl \
215 core/java/android/nfc/INfcCardEmulation.aidl \
216 core/java/android/nfc/INfcFCardEmulation.aidl \
217 core/java/android/nfc/INfcUnlockHandler.aidl \
218 core/java/android/nfc/ITagRemovedCallback.aidl \
219 core/java/android/os/IBatteryPropertiesListener.aidl \
220 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
221 core/java/android/os/ICancellationSignal.aidl \
222 core/java/android/os/IDeviceIdleController.aidl \
223 core/java/android/os/IHardwarePropertiesManager.aidl \
224 core/java/android/os/IMaintenanceActivityListener.aidl \
225 core/java/android/os/IMessenger.aidl \
226 core/java/android/os/INetworkActivityListener.aidl \
227 core/java/android/os/INetworkManagementService.aidl \
228 core/java/android/os/IPermissionController.aidl \
229 core/java/android/os/IProcessInfoService.aidl \
230 core/java/android/os/IProgressListener.aidl \
231 core/java/android/os/IPowerManager.aidl \
232 core/java/android/os/IRecoverySystem.aidl \
233 core/java/android/os/IRecoverySystemProgressListener.aidl \
234 core/java/android/os/IRemoteCallback.aidl \
235 core/java/android/os/ISchedulingPolicyService.aidl \
236 core/java/android/os/IUpdateLock.aidl \
237 core/java/android/os/IUserManager.aidl \
238 core/java/android/os/IVibratorService.aidl \
239 core/java/android/security/IKeystoreService.aidl \
240 core/java/android/service/carrier/ICarrierService.aidl \
241 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
242 core/java/android/service/carrier/ICarrierMessagingService.aidl \
243 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
244 core/java/android/service/notification/INotificationListener.aidl \
245 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
246 core/java/android/service/notification/IConditionListener.aidl \
247 core/java/android/service/notification/IConditionProvider.aidl \
248 core/java/android/service/vr/IVrListener.aidl \
249 core/java/android/service/vr/IVrManager.aidl \
250 core/java/android/service/vr/IVrStateCallbacks.aidl \
251 core/java/android/print/ILayoutResultCallback.aidl \
252 core/java/android/print/IPrinterDiscoveryObserver.aidl \
253 core/java/android/print/IPrintDocumentAdapter.aidl \
254 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
255 core/java/android/print/IPrintJobStateChangeListener.aidl \
256 core/java/android/print/IPrintServicesChangeListener.aidl \
257 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
258 core/java/android/print/IPrintManager.aidl \
259 core/java/android/print/IPrintSpooler.aidl \
260 core/java/android/print/IPrintSpoolerCallbacks.aidl \
261 core/java/android/print/IPrintSpoolerClient.aidl \
262 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
263 core/java/android/printservice/recommendation/IRecommendationService.aidl \
264 core/java/android/print/IWriteResultCallback.aidl \
265 core/java/android/printservice/IPrintService.aidl \
266 core/java/android/printservice/IPrintServiceClient.aidl \
267 core/java/android/service/dreams/IDreamManager.aidl \
268 core/java/android/service/dreams/IDreamService.aidl \
269 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
270 core/java/android/service/trust/ITrustAgentService.aidl \
271 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
272 core/java/android/service/voice/IVoiceInteractionService.aidl \
273 core/java/android/service/voice/IVoiceInteractionSession.aidl \
274 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
275 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
276 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
277 core/java/android/service/wallpaper/IWallpaperService.aidl \
278 core/java/android/service/chooser/IChooserTargetService.aidl \
279 core/java/android/service/chooser/IChooserTargetResult.aidl \
280 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
281 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
282 core/java/android/view/accessibility/IAccessibilityManager.aidl \
283 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
284 core/java/android/view/IApplicationToken.aidl \
285 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
286 core/java/android/view/IAssetAtlas.aidl \
287 core/java/android/view/IDockedStackListener.aidl \
288 core/java/android/view/IGraphicsStats.aidl \
289 core/java/android/view/IInputFilter.aidl \
290 core/java/android/view/IInputFilterHost.aidl \
291 core/java/android/view/IOnKeyguardExitResult.aidl \
292 core/java/android/view/IRotationWatcher.aidl \
293 core/java/android/view/IWindow.aidl \
294 core/java/android/view/IWindowFocusObserver.aidl \
295 core/java/android/view/IWindowId.aidl \
296 core/java/android/view/IWindowManager.aidl \
297 core/java/android/view/IWindowSession.aidl \
298 core/java/android/view/IWindowSessionCallback.aidl \
299 core/java/android/webkit/IWebViewUpdateService.aidl \
300 core/java/android/speech/IRecognitionListener.aidl \
301 core/java/android/speech/IRecognitionService.aidl \
302 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
303 core/java/android/speech/tts/ITextToSpeechService.aidl \
304 core/java/com/android/internal/app/IAppOpsCallback.aidl \
305 core/java/com/android/internal/app/IAppOpsService.aidl \
306 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
307 core/java/com/android/internal/app/IBatteryStats.aidl \
308 core/java/com/android/internal/app/IEphemeralResolver.aidl \
309 core/java/com/android/internal/app/ISoundTriggerService.aidl \
310 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
311 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
312 core/java/com/android/internal/app/IVoiceInteractor.aidl \
313 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
314 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
315 core/java/com/android/internal/app/IMediaContainerService.aidl \
316 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
317 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
318 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
319 core/java/com/android/internal/backup/IBackupTransport.aidl \
320 core/java/com/android/internal/backup/IObbBackupService.aidl \
321 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
322 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
323 core/java/com/android/internal/policy/IKeyguardService.aidl \
324 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
325 core/java/com/android/internal/policy/IShortcutService.aidl \
326 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
327 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
328 core/java/com/android/internal/os/IResultReceiver.aidl \
329 core/java/com/android/internal/statusbar/IStatusBar.aidl \
330 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
331 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
332 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
333 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
334 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
335 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
336 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
337 core/java/com/android/internal/view/IInputContext.aidl \
338 core/java/com/android/internal/view/IInputContextCallback.aidl \
339 core/java/com/android/internal/view/IInputMethod.aidl \
340 core/java/com/android/internal/view/IInputMethodClient.aidl \
341 core/java/com/android/internal/view/IInputMethodManager.aidl \
342 core/java/com/android/internal/view/IInputMethodSession.aidl \
343 core/java/com/android/internal/view/IInputSessionCallback.aidl \
344 core/java/com/android/internal/widget/ILockSettings.aidl \
345 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
346 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
347 keystore/java/android/security/IKeyChainAliasCallback.aidl \
348 keystore/java/android/security/IKeyChainService.aidl \
349 location/java/android/location/ICountryDetector.aidl \
350 location/java/android/location/ICountryListener.aidl \
351 location/java/android/location/IFusedProvider.aidl \
352 location/java/android/location/IGeocodeProvider.aidl \
353 location/java/android/location/IGeofenceProvider.aidl \
354 location/java/android/location/IGnssStatusListener.aidl \
355 location/java/android/location/IGnssStatusProvider.aidl \
356 location/java/android/location/IGnssMeasurementsListener.aidl \
357 location/java/android/location/IGnssNavigationMessageListener.aidl \
358 location/java/android/location/ILocationListener.aidl \
359 location/java/android/location/ILocationManager.aidl \
360 location/java/android/location/IFusedGeofenceHardware.aidl \
361 location/java/android/location/IGpsGeofenceHardware.aidl \
362 location/java/android/location/INetInitiatedListener.aidl \
363 location/java/com/android/internal/location/ILocationProvider.aidl \
364 media/java/android/media/IAudioService.aidl \
365 media/java/android/media/IAudioFocusDispatcher.aidl \
366 media/java/android/media/IAudioRoutesObserver.aidl \
367 media/java/android/media/IMediaHTTPConnection.aidl \
368 media/java/android/media/IMediaHTTPService.aidl \
369 media/java/android/media/IMediaResourceMonitor.aidl \
370 media/java/android/media/IMediaRouterClient.aidl \
371 media/java/android/media/IMediaRouterService.aidl \
372 media/java/android/media/IMediaScannerListener.aidl \
373 media/java/android/media/IMediaScannerService.aidl \
374 media/java/android/media/IRecordingConfigDispatcher.aidl \
375 media/java/android/media/IRemoteDisplayCallback.aidl \
376 media/java/android/media/IRemoteDisplayProvider.aidl \
377 media/java/android/media/IRemoteVolumeController.aidl \
378 media/java/android/media/IRemoteVolumeObserver.aidl \
379 media/java/android/media/IRingtonePlayer.aidl \
380 media/java/android/media/IVolumeController.aidl \
381 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
382 media/java/android/media/midi/IBluetoothMidiService.aidl \
383 media/java/android/media/midi/IMidiDeviceListener.aidl \
384 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
385 media/java/android/media/midi/IMidiDeviceServer.aidl \
386 media/java/android/media/midi/IMidiManager.aidl \
387 media/java/android/media/projection/IMediaProjection.aidl \
388 media/java/android/media/projection/IMediaProjectionCallback.aidl \
389 media/java/android/media/projection/IMediaProjectionManager.aidl \
390 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
391 media/java/android/media/session/IActiveSessionsListener.aidl \
392 media/java/android/media/session/ISessionController.aidl \
393 media/java/android/media/session/ISessionControllerCallback.aidl \
394 media/java/android/media/session/ISession.aidl \
395 media/java/android/media/session/ISessionCallback.aidl \
396 media/java/android/media/session/ISessionManager.aidl \
397 media/java/android/media/tv/ITvInputClient.aidl \
398 media/java/android/media/tv/ITvInputHardware.aidl \
399 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
400 media/java/android/media/tv/ITvInputManager.aidl \
401 media/java/android/media/tv/ITvInputManagerCallback.aidl \
402 media/java/android/media/tv/ITvInputService.aidl \
403 media/java/android/media/tv/ITvInputServiceCallback.aidl \
404 media/java/android/media/tv/ITvInputSession.aidl \
405 media/java/android/media/tv/ITvInputSessionCallback.aidl \
406 media/java/android/media/tv/ITvRemoteProvider.aidl \
407 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
408 media/java/android/service/media/IMediaBrowserService.aidl \
409 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
410 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
411 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
412 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
413 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
414 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
415 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
416 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
417 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
418 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
419 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
420 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
421 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
422 telephony/java/com/android/ims/internal/IImsConfig.aidl \
423 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
424 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
425 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
426 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
427 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
428 telephony/java/com/android/ims/internal/IImsService.aidl \
429 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
430 telephony/java/com/android/ims/internal/IImsUt.aidl \
431 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
432 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
433 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
434 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
435 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
436 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
437 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
438 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
439 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
440 telephony/java/com/android/ims/ImsConfigListener.aidl \
441 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
442 telephony/java/com/android/internal/telephony/IMms.aidl \
443 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
444 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
445 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
446 telephony/java/com/android/internal/telephony/ISms.aidl \
447 telephony/java/com/android/internal/telephony/ISub.aidl \
448 telephony/java/com/android/internal/telephony/ITelephony.aidl \
449 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
450 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
451 wifi/java/android/net/wifi/IWifiManager.aidl \
452 wifi/java/android/net/wifi/nan/IWifiNanEventListener.aidl \
453 wifi/java/android/net/wifi/nan/IWifiNanManager.aidl \
454 wifi/java/android/net/wifi/nan/IWifiNanSessionListener.aidl \
455 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
456 wifi/java/android/net/wifi/IWifiScanner.aidl \
457 wifi/java/android/net/wifi/IRttManager.aidl \
458 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
459 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
460 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
461 core/java/android/service/quicksettings/IQSService.aidl \
462 core/java/android/service/quicksettings/IQSTileService.aidl \
464 # The following are native binders that need to go with the native component
465 # at system/update_engine/binder_bindings/. Use relative path to refer to them.
467 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
468 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
470 LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
472 # FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
473 LOCAL_AIDL_INCLUDES += \
474 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
475 frameworks/native/aidl/binder
477 LOCAL_AIDL_INCLUDES += \
478 frameworks/av/camera/aidl \
479 frameworks/native/aidl/gui \
480 system/netd/server/binder
482 LOCAL_INTERMEDIATE_SOURCES := \
483 $(framework_res_source_path)/android/R.java \
484 $(framework_res_source_path)/android/Manifest.java \
485 $(framework_res_source_path)/com/android/internal/R.java
487 LOCAL_NO_STANDARD_LIBRARIES := true
488 LOCAL_JAVA_LIBRARIES := core-oj core-libart core-lambda-stubs conscrypt okhttp core-junit bouncycastle ext
489 LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
491 LOCAL_MODULE := framework
493 LOCAL_JACK_FLAGS := --multi-dex native
495 LOCAL_RMTYPEDEFS := true
497 ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
498 LOCAL_EMMA_INSTRUMENT := true
501 include $(BUILD_JAVA_LIBRARY)
502 framework_module := $(LOCAL_INSTALLED_MODULE)
504 # Make sure that R.java and Manifest.java are built before we build
505 # the source for this library.
506 framework_res_R_stamp := \
507 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
508 $(full_classes_compiled_jar): $(framework_res_R_stamp)
509 $(built_dex_intermediate): $(framework_res_R_stamp)
511 $(framework_module): | $(dir $(framework_module))framework-res.apk
513 framework_built := $(call java-lib-deps,framework)
515 # Copy AIDL files to be preprocessed and included in the SDK,
516 # specified relative to the root of the build tree.
517 # ============================================================
518 include $(CLEAR_VARS)
521 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
522 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
523 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
524 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
525 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
526 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
527 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
528 frameworks/base/location/java/android/location/Location.aidl \
529 frameworks/base/location/java/android/location/Address.aidl \
530 frameworks/base/location/java/android/location/Criteria.aidl \
531 frameworks/base/media/java/android/media/MediaMetadata.aidl \
532 frameworks/base/media/java/android/media/MediaDescription.aidl \
533 frameworks/base/media/java/android/media/Rating.aidl \
534 frameworks/base/media/java/android/media/AudioAttributes.aidl \
535 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
536 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
537 frameworks/base/media/java/android/media/session/MediaSession.aidl \
538 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
539 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
540 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
541 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
542 frameworks/base/wifi/java/android/net/wifi/nan/ConfigRequest.aidl \
543 frameworks/base/wifi/java/android/net/wifi/nan/PublishData.aidl \
544 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeData.aidl \
545 frameworks/base/wifi/java/android/net/wifi/nan/PublishSettings.aidl \
546 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeSettings.aidl \
547 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
548 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
549 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
550 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
551 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
552 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
553 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
554 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
555 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
556 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
557 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
558 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
559 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
560 frameworks/base/graphics/java/android/graphics/Region.aidl \
561 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
562 frameworks/base/graphics/java/android/graphics/Point.aidl \
563 frameworks/base/graphics/java/android/graphics/PointF.aidl \
564 frameworks/base/graphics/java/android/graphics/RectF.aidl \
565 frameworks/base/graphics/java/android/graphics/Rect.aidl \
566 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
567 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
568 frameworks/base/core/java/android/accounts/Account.aidl \
569 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
570 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
571 frameworks/base/core/java/android/print/PageRange.aidl \
572 frameworks/base/core/java/android/print/PrintAttributes.aidl \
573 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
574 frameworks/base/core/java/android/print/PrinterId.aidl \
575 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
576 frameworks/base/core/java/android/print/PrinterInfo.aidl \
577 frameworks/base/core/java/android/print/PrintJobId.aidl \
578 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
579 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
580 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
581 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
582 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
583 frameworks/base/core/java/android/os/Messenger.aidl \
584 frameworks/base/core/java/android/os/PatternMatcher.aidl \
585 frameworks/base/core/java/android/os/Message.aidl \
586 frameworks/base/core/java/android/os/UserHandle.aidl \
587 frameworks/base/core/java/android/os/ParcelUuid.aidl \
588 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
589 frameworks/base/core/java/android/os/ResultReceiver.aidl \
590 frameworks/base/core/java/android/os/WorkSource.aidl \
591 frameworks/base/core/java/android/os/DropBoxManager.aidl \
592 frameworks/base/core/java/android/os/Bundle.aidl \
593 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
594 frameworks/base/core/java/android/net/Network.aidl \
595 frameworks/base/core/java/android/net/RouteInfo.aidl \
596 frameworks/base/core/java/android/net/NetworkInfo.aidl \
597 frameworks/base/core/java/android/net/IpPrefix.aidl \
598 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
599 frameworks/base/core/java/android/net/DhcpInfo.aidl \
600 frameworks/base/core/java/android/net/ProxyInfo.aidl \
601 frameworks/base/core/java/android/net/LinkProperties.aidl \
602 frameworks/base/core/java/android/net/Uri.aidl \
603 frameworks/base/core/java/android/net/NetworkRequest.aidl \
604 frameworks/base/core/java/android/net/LinkAddress.aidl \
605 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
606 frameworks/base/core/java/android/view/Display.aidl \
607 frameworks/base/core/java/android/view/InputDevice.aidl \
608 frameworks/base/core/java/android/view/InputEvent.aidl \
609 frameworks/native/aidl/gui/android/view/Surface.aidl \
610 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
611 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
612 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
613 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
614 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
615 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
616 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
617 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
618 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
619 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
620 frameworks/base/core/java/android/view/DragEvent.aidl \
621 frameworks/base/core/java/android/view/KeyEvent.aidl \
622 frameworks/base/core/java/android/view/WindowManager.aidl \
623 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
624 frameworks/base/core/java/android/view/MotionEvent.aidl \
625 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
626 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
627 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
628 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
629 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
630 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
631 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
632 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
633 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
634 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
635 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
636 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
637 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
638 frameworks/base/core/java/android/speech/tts/Voice.aidl \
639 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
640 frameworks/base/core/java/android/app/Notification.aidl \
641 frameworks/base/core/java/android/app/NotificationManager.aidl \
642 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
643 frameworks/base/core/java/android/app/AppOpsManager.aidl \
644 frameworks/base/core/java/android/app/ActivityManager.aidl \
645 frameworks/base/core/java/android/app/PendingIntent.aidl \
646 frameworks/base/core/java/android/app/AlarmManager.aidl \
647 frameworks/base/core/java/android/app/SearchableInfo.aidl \
648 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
649 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
650 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
651 frameworks/base/core/java/android/app/job/JobParameters.aidl \
652 frameworks/base/core/java/android/app/job/JobInfo.aidl \
653 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
654 frameworks/base/core/java/android/content/ClipDescription.aidl \
655 frameworks/base/core/java/android/content/IntentFilter.aidl \
656 frameworks/base/core/java/android/content/Intent.aidl \
657 frameworks/base/core/java/android/content/res/Configuration.aidl \
658 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
659 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
660 frameworks/base/core/java/android/content/ClipData.aidl \
661 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
662 frameworks/base/core/java/android/content/SyncRequest.aidl \
663 frameworks/base/core/java/android/content/PeriodicSync.aidl \
664 frameworks/base/core/java/android/content/SyncResult.aidl \
665 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
666 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
667 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
668 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
669 frameworks/base/core/java/android/content/pm/Signature.aidl \
670 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
671 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
672 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
673 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
674 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
675 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
676 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
677 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
678 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
679 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
680 frameworks/base/core/java/android/content/ComponentName.aidl \
681 frameworks/base/core/java/android/content/SyncStats.aidl \
682 frameworks/base/core/java/android/content/ContentValues.aidl \
683 frameworks/base/core/java/android/content/SyncInfo.aidl \
684 frameworks/base/core/java/android/content/IntentSender.aidl \
685 frameworks/base/core/java/android/widget/RemoteViews.aidl \
686 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
687 frameworks/base/core/java/android/nfc/Tag.aidl \
688 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
689 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
690 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
691 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
692 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
693 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
694 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
695 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
696 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
697 frameworks/base/core/java/android/database/CursorWindow.aidl \
698 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
699 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
700 system/netd/server/binder/android/net/UidRange.aidl \
702 gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
703 $(gen): PRIVATE_SRC_FILES := $(aidl_files)
704 ALL_SDK_FILES += $(gen)
705 $(gen): $(aidl_files) | $(AIDL)
706 @echo Aidl Preprocess: $@
707 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
710 # ============================================================
712 # TODO: deal with com/google/android/googleapps
713 packages_to_document := \
715 javax/microedition/khronos \
716 org/apache/http/conn \
717 org/apache/http/params
720 # Search through the base framework dirs for these packages.
721 # The result will be relative to frameworks/base.
722 fwbase_dirs_to_document := \
724 $(patsubst $(LOCAL_PATH)/%,%, \
726 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
727 $(addprefix $(dir)/, $(packages_to_document)) \
732 # include definition of libcore_to_document
733 include libcore/Docs.mk
735 # include definition of junit_to_document
736 include external/junit/Common.mk
739 ../opt/telephony/src/java/android/provider \
740 ../opt/telephony/src/java/android/telephony \
741 ../opt/telephony/src/java/android/telephony/gsm \
742 ../opt/net/voip/src/java/android/net/rtp \
743 ../opt/net/voip/src/java/android/net/sip
745 # These are relative to frameworks/base
746 dirs_to_check_apis := \
747 $(fwbase_dirs_to_document) \
750 ###########################################################
751 ## Return all directories that have a 'NO_DOCS' file in
752 ## them, appending a '%' to them to form a pattern to
753 ## filter out files under those directories.
754 ## $(1): A list of base directories to look at.
755 ###########################################################
756 define find-no-docs-pattern
757 $(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
760 # These are relative to frameworks/base
761 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
762 dirs_to_document := \
763 $(dirs_to_check_apis) \
764 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
765 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
767 patterns_to_not_document := \
768 $(call find-no-docs-pattern, $(dirs_to_document))
770 # These are relative to frameworks/base
772 $(FRAMEWORKS_BASE_SUBDIRS) \
775 # Common sources for doc check and api check
776 common_src_files := \
777 $(call find-other-html-files, $(html_dirs)) \
778 $(addprefix ../../, $(libcore_to_document)) \
779 $(addprefix ../../external/junit/, $(junit_to_document))
781 # These are relative to frameworks/base
782 framework_docs_LOCAL_SRC_FILES := \
783 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
786 # These are relative to frameworks/base
787 framework_docs_LOCAL_API_CHECK_SRC_FILES := \
788 $(call find-other-java-files, $(dirs_to_check_apis)) \
791 # This is used by ide.mk as the list of source files that are
793 INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
795 framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
796 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
798 framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
799 $(framework_res_source_path)/android/R.java \
800 $(framework_res_source_path)/android/Manifest.java \
801 $(framework_res_source_path)/com/android/internal/R.java
803 framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
815 framework_docs_LOCAL_JAVA_LIBRARIES := \
816 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
817 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
819 framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
820 framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
821 # The since flag (-since N.xml API_LEVEL) is used to add API Level information
822 # to the reference documentation. Must be in order of oldest to newest.
824 # Conscrypt (com.android.org.conscrypt) is an implementation detail and should
825 # not be referenced in the documentation.
826 framework_docs_LOCAL_DROIDDOC_OPTIONS := \
827 -knowntags ./frameworks/base/docs/knowntags.txt \
828 -knowntags ./libcore/known_oj_tags.txt \
829 -hidePackage com.android.org.conscrypt \
830 -since $(SRC_API_DIR)/1.xml 1 \
831 -since $(SRC_API_DIR)/2.xml 2 \
832 -since $(SRC_API_DIR)/3.xml 3 \
833 -since $(SRC_API_DIR)/4.xml 4 \
834 -since $(SRC_API_DIR)/5.xml 5 \
835 -since $(SRC_API_DIR)/6.xml 6 \
836 -since $(SRC_API_DIR)/7.xml 7 \
837 -since $(SRC_API_DIR)/8.xml 8 \
838 -since $(SRC_API_DIR)/9.xml 9 \
839 -since $(SRC_API_DIR)/10.xml 10 \
840 -since $(SRC_API_DIR)/11.xml 11 \
841 -since $(SRC_API_DIR)/12.xml 12 \
842 -since $(SRC_API_DIR)/13.xml 13 \
843 -since $(SRC_API_DIR)/14.txt 14 \
844 -since $(SRC_API_DIR)/15.txt 15 \
845 -since $(SRC_API_DIR)/16.txt 16 \
846 -since $(SRC_API_DIR)/17.txt 17 \
847 -since $(SRC_API_DIR)/18.txt 18 \
848 -since $(SRC_API_DIR)/19.txt 19 \
849 -since $(SRC_API_DIR)/20.txt 20 \
850 -since $(SRC_API_DIR)/21.txt 21 \
851 -since $(SRC_API_DIR)/22.txt 22 \
852 -since $(SRC_API_DIR)/23.txt 23 \
853 -since $(SRC_API_DIR)/24.txt 24 \
854 -werror -hide 111 -hide 113 \
855 -overview $(LOCAL_PATH)/core/java/overview.html
857 framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
858 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
860 framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
861 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
862 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
863 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
865 framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
866 frameworks/base/docs/knowntags.txt \
869 samples_dir := development/samples/browseable
871 # Whitelist of valid groups, used for default TOC grouping. Each sample must
872 # belong to one (and only one) group. Assign samples to groups by setting
873 # a sample.group var to one of these groups in the sample's _index.jd.
874 sample_groups := -samplegroup Admin \
875 -samplegroup Background \
876 -samplegroup Connectivity \
877 -samplegroup Content \
880 -samplegroup Notification \
881 -samplegroup RenderScript \
882 -samplegroup Security \
883 -samplegroup Sensors \
884 -samplegroup System \
885 -samplegroup Testing \
888 -samplegroup Wearable
890 ## SDK version identifiers used in the published docs
891 # major[.minor] version for current SDK. (full releases only)
892 framework_docs_SDK_VERSION:=6.0
893 # release version (ie "Release x") (full releases only)
894 framework_docs_SDK_REL_ID:=1
896 framework_docs_LOCAL_DROIDDOC_OPTIONS += \
897 -hdf sdk.codename N \
898 -hdf sdk.preview.version 2 \
899 -hdf sdk.version $(framework_docs_SDK_VERSION) \
900 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
903 # ==== the api stubs and current.xml ===========================
904 include $(CLEAR_VARS)
906 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
907 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
908 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
909 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
910 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
911 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
912 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
913 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
915 LOCAL_MODULE := api-stubs
917 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
919 LOCAL_DROIDDOC_OPTIONS:=\
920 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
921 -api $(INTERNAL_PLATFORM_API_FILE) \
922 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
925 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
927 LOCAL_UNINSTALLABLE_MODULE := true
929 include $(BUILD_DROIDDOC)
931 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
932 $(full_target): $(framework_built) $(gen)
933 $(INTERNAL_PLATFORM_API_FILE): $(full_target)
934 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
936 # ==== the system api stubs ===================================
937 include $(CLEAR_VARS)
939 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
940 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
941 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
942 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
943 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
944 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
945 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
946 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
948 LOCAL_MODULE := system-api-stubs
950 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
952 LOCAL_DROIDDOC_OPTIONS:=\
953 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
954 -showAnnotation android.annotation.SystemApi \
955 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
956 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
959 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
961 LOCAL_UNINSTALLABLE_MODULE := true
963 include $(BUILD_DROIDDOC)
965 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
966 $(full_target): $(framework_built) $(gen)
967 $(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
968 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
970 # ==== the test api stubs ===================================
971 include $(CLEAR_VARS)
973 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
974 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
975 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
976 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
977 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
978 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
979 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
980 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
982 LOCAL_MODULE := test-api-stubs
984 LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
986 LOCAL_DROIDDOC_OPTIONS:=\
987 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
988 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
989 -showAnnotation android.annotation.TestApi \
990 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
991 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
994 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
996 LOCAL_UNINSTALLABLE_MODULE := true
998 include $(BUILD_DROIDDOC)
1000 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1001 $(full_target): $(framework_built) $(gen)
1002 $(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1003 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1005 # ==== check javadoc comments but don't generate docs ========
1006 include $(CLEAR_VARS)
1008 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1009 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1010 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1011 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1012 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1013 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1014 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1015 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1017 LOCAL_MODULE := doc-comment-check
1019 LOCAL_DROIDDOC_OPTIONS:=\
1020 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1023 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1025 LOCAL_UNINSTALLABLE_MODULE := true
1027 include $(BUILD_DROIDDOC)
1029 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1030 $(full_target): $(framework_built) $(gen)
1032 # Run this for checkbuild
1033 checkbuild: doc-comment-check-docs
1034 # Check comment when you are updating the API
1035 update-api: doc-comment-check-docs
1037 # ==== static html in the sdk ==================================
1038 include $(CLEAR_VARS)
1040 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1041 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1042 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1043 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1044 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1045 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1046 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1047 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1049 LOCAL_MODULE := offline-sdk
1051 LOCAL_DROIDDOC_OPTIONS:=\
1052 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1054 -title "Android SDK" \
1055 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1056 -sdkvalues $(OUT_DOCS) \
1057 -hdf android.whichdoc offline
1059 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
1061 include $(BUILD_DROIDDOC)
1063 static_doc_index_redirect := $(out_dir)/index.html
1064 $(static_doc_index_redirect): \
1065 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1066 $(hide) mkdir -p $(dir $@)
1067 $(hide) $(ACP) $< $@
1069 $(full_target): $(static_doc_index_redirect)
1070 $(full_target): $(framework_built)
1073 # ==== static html in the sdk ==================================
1074 include $(CLEAR_VARS)
1076 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1077 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1078 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1079 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1080 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1081 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1082 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1083 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1085 LOCAL_MODULE := offline-sdk-referenceonly
1087 LOCAL_DROIDDOC_OPTIONS:=\
1088 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1090 -title "Android SDK" \
1091 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1092 -sdkvalues $(OUT_DOCS) \
1093 -hdf android.whichdoc offline \
1096 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1098 include $(BUILD_DROIDDOC)
1100 static_doc_index_redirect := $(out_dir)/index.html
1101 $(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-preview-index.html
1102 $(copy-file-to-target)
1104 $(full_target): $(static_doc_index_redirect)
1105 $(full_target): $(framework_built)
1108 # ==== docs for the web (on the androiddevdocs app engine server) =======================
1109 include $(CLEAR_VARS)
1111 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1112 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1113 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1114 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1115 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1116 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1117 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1118 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1119 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1120 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1122 LOCAL_MODULE := online-sdk
1124 LOCAL_DROIDDOC_OPTIONS:= \
1125 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1127 -hdf android.whichdoc online \
1129 -hdf android.hasSamples true \
1130 -samplesdir $(samples_dir)
1132 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
1134 include $(BUILD_DROIDDOC)
1136 # ==== docs for the web (on the androiddevdocs app engine server) =======================
1137 # TODO: Fix the System API docs build.
1138 ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1139 include $(CLEAR_VARS)
1141 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1142 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1143 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1144 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1145 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1146 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1147 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1148 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1149 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1150 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1152 LOCAL_MODULE := online-system-api-sdk
1154 LOCAL_DROIDDOC_OPTIONS:= \
1155 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1156 -showAnnotation android.annotation.SystemApi \
1157 -title "Android SDK - Including system APIs." \
1162 -hdf android.whichdoc online \
1164 -hdf android.hasSamples true \
1165 -samplesdir $(samples_dir)
1167 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1168 # Don't build by default
1169 LOCAL_UNINSTALLABLE_MODULE := true
1171 include $(BUILD_DROIDDOC)
1172 endif # online-system-api-sdk-docs in make command line.
1174 # ==== docs for the web (on the devsite app engine server) =======================
1175 include $(CLEAR_VARS)
1176 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1177 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1178 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1179 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1180 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1181 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1182 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1183 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1184 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1185 # specify a second html input dir and an output path relative to OUT_DIR)
1186 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1190 LOCAL_DROIDDOC_OPTIONS:= \
1191 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1195 -hdf android.whichdoc online \
1197 -useUpdatedTemplates \
1198 -hdf android.hasSamples true \
1200 -samplesdir $(samples_dir)
1202 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
1204 include $(BUILD_DROIDDOC)
1206 # ==== site updates for docs (on the androiddevdocs app engine server) =======================
1207 include $(CLEAR_VARS)
1209 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1210 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1211 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1212 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1213 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1214 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1215 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1216 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1217 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1218 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1220 LOCAL_MODULE := online-sdk-dev
1222 LOCAL_DROIDDOC_OPTIONS:= \
1223 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1225 -hdf android.whichdoc online \
1227 -useUpdatedTemplates \
1228 -hdf android.hasSamples true \
1229 -samplesdir $(samples_dir)
1231 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
1233 include $(BUILD_DROIDDOC)
1235 # ==== docs that have all of the stuff that's @hidden =======================
1236 include $(CLEAR_VARS)
1238 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1239 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
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)
1247 LOCAL_MODULE := hidden
1248 LOCAL_DROIDDOC_OPTIONS:=\
1249 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1250 -title "Android SDK - Including hidden APIs."
1253 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1255 include $(BUILD_DROIDDOC)
1258 # ============================================================
1261 ../../external/nist-sip/java \
1262 ../../external/tagsoup/src \
1264 ext_src_files := $(call all-java-files-under,$(ext_dirs))
1266 # ==== the library =========================================
1267 include $(CLEAR_VARS)
1269 LOCAL_SRC_FILES := $(ext_src_files)
1271 LOCAL_NO_STANDARD_LIBRARIES := true
1272 LOCAL_JAVA_LIBRARIES := core-oj core-libart
1273 LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1274 LOCAL_MODULE_TAGS := optional
1277 ifneq ($(INCREMENTAL_BUILDS),)
1278 LOCAL_PROGUARD_ENABLED := disabled
1279 LOCAL_JACK_ENABLED := incremental
1282 include $(BUILD_JAVA_LIBRARY)
1285 # Include subdirectory makefiles
1286 # ============================================================
1288 # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1289 # team really wants is to build the stuff defined by this makefile.
1290 ifeq (,$(ONE_SHOT_MAKEFILE))
1291 include $(call first-makefiles-under,$(LOCAL_PATH))
1294 endif # ANDROID_BUILD_EMBEDDED