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