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