blob: 2673cd8b7ac8c3ee5da3f3f087ef50ea9cb1f499 [file] [log] [blame]
Bart Searsa8cc0582015-05-07 03:23:20 +00001#
2# Copyright (C) 2008 The Android Open Source Project
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15#
16LOCAL_PATH := $(call my-dir)
17
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.
27framework_res_source_path := APPS/framework-res_intermediates/src
28
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# ============================================================
34
35# embedded builds use nothing in frameworks/base
36ifneq ($(ANDROID_BUILD_EMBEDDED),true)
37
38include $(CLEAR_VARS)
39
40# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
41LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
42
43# EventLogTags files.
44LOCAL_SRC_FILES += \
45 core/java/android/content/EventLogTags.logtags \
46 core/java/android/speech/tts/EventLogTags.logtags \
47 core/java/android/webkit/EventLogTags.logtags \
48 core/java/com/android/internal/logging/EventLogTags.logtags \
49
50## READ ME: ########################################################
51##
52## When updating this list of aidl files, consider if that aidl is
53## part of the SDK API. If it is, also add it to the list below that
54## is preprocessed and distributed with the SDK. This list should
55## not contain any aidl files for parcelables, but the one below should
56## if you intend for 3rd parties to be able to send those objects
57## across process boundaries.
58##
59## READ ME: ########################################################
60LOCAL_SRC_FILES += \
61 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
62 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
63 core/java/android/accounts/IAccountManager.aidl \
64 core/java/android/accounts/IAccountManagerResponse.aidl \
65 core/java/android/accounts/IAccountAuthenticator.aidl \
66 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
67 core/java/android/app/IActivityContainer.aidl \
68 core/java/android/app/IActivityContainerCallback.aidl \
69 core/java/android/app/IActivityController.aidl \
70 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070071 core/java/android/app/IAlarmCompleteListener.aidl \
72 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000073 core/java/android/app/IAlarmManager.aidl \
74 core/java/android/app/IAppTask.aidl \
75 core/java/android/app/ITaskStackListener.aidl \
76 core/java/android/app/IBackupAgent.aidl \
77 core/java/android/app/IInstrumentationWatcher.aidl \
78 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000079 core/java/android/app/IProcessObserver.aidl \
80 core/java/android/app/ISearchManager.aidl \
81 core/java/android/app/ISearchManagerCallback.aidl \
82 core/java/android/app/IServiceConnection.aidl \
83 core/java/android/app/IStopUserCallback.aidl \
84 core/java/android/app/job/IJobCallback.aidl \
85 core/java/android/app/job/IJobScheduler.aidl \
86 core/java/android/app/job/IJobService.aidl \
87 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070088 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000089 core/java/android/app/IUiAutomationConnection.aidl \
90 core/java/android/app/IUiModeManager.aidl \
91 core/java/android/app/IUserSwitchObserver.aidl \
92 core/java/android/app/IWallpaperManager.aidl \
93 core/java/android/app/IWallpaperManagerCallback.aidl \
94 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -070095 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000096 core/java/android/app/trust/ITrustManager.aidl \
97 core/java/android/app/trust/ITrustListener.aidl \
98 core/java/android/app/backup/IBackupManager.aidl \
99 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
100 core/java/android/app/backup/IRestoreObserver.aidl \
101 core/java/android/app/backup/IRestoreSession.aidl \
102 core/java/android/app/usage/IUsageStatsManager.aidl \
103 core/java/android/bluetooth/IBluetooth.aidl \
104 core/java/android/bluetooth/IBluetoothA2dp.aidl \
105 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
106 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
107 core/java/android/bluetooth/IBluetoothCallback.aidl \
108 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
109 core/java/android/bluetooth/IBluetoothHeadset.aidl \
110 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
111 core/java/android/bluetooth/IBluetoothHealth.aidl \
112 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
113 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
114 core/java/android/bluetooth/IBluetoothPan.aidl \
115 core/java/android/bluetooth/IBluetoothManager.aidl \
116 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
117 core/java/android/bluetooth/IBluetoothPbap.aidl \
118 core/java/android/bluetooth/IBluetoothMap.aidl \
119 core/java/android/bluetooth/IBluetoothSap.aidl \
120 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
121 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
122 core/java/android/bluetooth/IBluetoothGatt.aidl \
123 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
124 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
125 core/java/android/content/IClipboard.aidl \
126 core/java/android/content/IContentService.aidl \
127 core/java/android/content/IIntentReceiver.aidl \
128 core/java/android/content/IIntentSender.aidl \
129 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
130 core/java/android/content/IRestrictionsManager.aidl \
131 core/java/android/content/ISyncAdapter.aidl \
132 core/java/android/content/ISyncContext.aidl \
133 core/java/android/content/ISyncServiceAdapter.aidl \
134 core/java/android/content/ISyncStatusObserver.aidl \
135 core/java/android/content/pm/ILauncherApps.aidl \
136 core/java/android/content/pm/IOnAppsChangedListener.aidl \
137 core/java/android/content/pm/IPackageDataObserver.aidl \
138 core/java/android/content/pm/IPackageDeleteObserver.aidl \
139 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
140 core/java/android/content/pm/IPackageInstallObserver.aidl \
141 core/java/android/content/pm/IPackageInstallObserver2.aidl \
142 core/java/android/content/pm/IPackageInstaller.aidl \
143 core/java/android/content/pm/IPackageInstallerCallback.aidl \
144 core/java/android/content/pm/IPackageInstallerSession.aidl \
145 core/java/android/content/pm/IPackageManager.aidl \
146 core/java/android/content/pm/IPackageMoveObserver.aidl \
147 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700148 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000149 core/java/android/database/IContentObserver.aidl \
150 core/java/android/hardware/ICameraService.aidl \
151 core/java/android/hardware/ICameraServiceListener.aidl \
Ruben Brunk6664aee2015-05-19 17:20:24 -0700152 core/java/android/hardware/ICameraServiceProxy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000153 core/java/android/hardware/ICamera.aidl \
154 core/java/android/hardware/ICameraClient.aidl \
155 core/java/android/hardware/IConsumerIrService.aidl \
156 core/java/android/hardware/camera2/ICameraDeviceUser.aidl \
157 core/java/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
158 core/java/android/hardware/ISerialManager.aidl \
159 core/java/android/hardware/display/IDisplayManager.aidl \
160 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
161 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700162 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
163 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000164 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700165 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000166 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
167 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
168 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
169 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
170 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
171 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
172 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
173 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
174 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
175 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
176 core/java/android/hardware/input/IInputManager.aidl \
177 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100178 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000179 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700180 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000181 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
182 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
183 core/java/android/hardware/location/IFusedLocationHardware.aidl \
184 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
185 core/java/android/hardware/location/IGeofenceHardware.aidl \
186 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
187 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
188 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
189 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400190 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000191 core/java/android/net/IConnectivityManager.aidl \
192 core/java/android/net/IEthernetManager.aidl \
193 core/java/android/net/IEthernetServiceListener.aidl \
194 core/java/android/net/INetworkManagementEventObserver.aidl \
195 core/java/android/net/INetworkPolicyListener.aidl \
196 core/java/android/net/INetworkPolicyManager.aidl \
197 core/java/android/net/INetworkScoreCache.aidl \
198 core/java/android/net/INetworkScoreService.aidl \
199 core/java/android/net/INetworkStatsService.aidl \
200 core/java/android/net/INetworkStatsSession.aidl \
201 core/java/android/net/nsd/INsdManager.aidl \
202 core/java/android/nfc/IAppCallback.aidl \
203 core/java/android/nfc/INfcAdapter.aidl \
204 core/java/android/nfc/INfcAdapterExtras.aidl \
205 core/java/android/nfc/INfcTag.aidl \
206 core/java/android/nfc/INfcCardEmulation.aidl \
207 core/java/android/nfc/INfcUnlockHandler.aidl \
208 core/java/android/os/IBatteryPropertiesListener.aidl \
209 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
210 core/java/android/os/ICancellationSignal.aidl \
211 core/java/android/os/IDeviceIdleController.aidl \
212 core/java/android/os/IMessenger.aidl \
213 core/java/android/os/INetworkActivityListener.aidl \
214 core/java/android/os/INetworkManagementService.aidl \
215 core/java/android/os/IPermissionController.aidl \
216 core/java/android/os/IProcessInfoService.aidl \
217 core/java/android/os/IPowerManager.aidl \
218 core/java/android/os/IRemoteCallback.aidl \
219 core/java/android/os/ISchedulingPolicyService.aidl \
220 core/java/android/os/IUpdateLock.aidl \
221 core/java/android/os/IUserManager.aidl \
222 core/java/android/os/IVibratorService.aidl \
223 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700224 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000225 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
226 core/java/android/service/carrier/ICarrierMessagingService.aidl \
227 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
228 core/java/android/service/notification/INotificationListener.aidl \
229 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
230 core/java/android/service/notification/IConditionListener.aidl \
231 core/java/android/service/notification/IConditionProvider.aidl \
232 core/java/android/print/ILayoutResultCallback.aidl \
233 core/java/android/print/IPrinterDiscoveryObserver.aidl \
234 core/java/android/print/IPrintDocumentAdapter.aidl \
235 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
236 core/java/android/print/IPrintJobStateChangeListener.aidl \
237 core/java/android/print/IPrintManager.aidl \
238 core/java/android/print/IPrintSpooler.aidl \
239 core/java/android/print/IPrintSpoolerCallbacks.aidl \
240 core/java/android/print/IPrintSpoolerClient.aidl \
241 core/java/android/print/IWriteResultCallback.aidl \
242 core/java/android/printservice/IPrintService.aidl \
243 core/java/android/printservice/IPrintServiceClient.aidl \
244 core/java/android/service/dreams/IDreamManager.aidl \
245 core/java/android/service/dreams/IDreamService.aidl \
246 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
247 core/java/android/service/trust/ITrustAgentService.aidl \
248 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
249 core/java/android/service/voice/IVoiceInteractionService.aidl \
250 core/java/android/service/voice/IVoiceInteractionSession.aidl \
251 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
252 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
253 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
254 core/java/android/service/wallpaper/IWallpaperService.aidl \
255 core/java/android/service/chooser/IChooserTargetService.aidl \
256 core/java/android/service/chooser/IChooserTargetResult.aidl \
257 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
258 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
259 core/java/android/view/accessibility/IAccessibilityManager.aidl \
260 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
261 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100262 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000263 core/java/android/view/IAssetAtlas.aidl \
Filip Gruszczynski64cdc142015-11-29 21:10:07 -0800264 core/java/android/view/IDockDividerVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000265 core/java/android/view/IGraphicsStats.aidl \
266 core/java/android/view/IInputFilter.aidl \
267 core/java/android/view/IInputFilterHost.aidl \
268 core/java/android/view/IOnKeyguardExitResult.aidl \
269 core/java/android/view/IRotationWatcher.aidl \
270 core/java/android/view/IWindow.aidl \
271 core/java/android/view/IWindowFocusObserver.aidl \
272 core/java/android/view/IWindowId.aidl \
273 core/java/android/view/IWindowManager.aidl \
274 core/java/android/view/IWindowSession.aidl \
275 core/java/android/view/IWindowSessionCallback.aidl \
276 core/java/android/webkit/IWebViewUpdateService.aidl \
277 core/java/android/speech/IRecognitionListener.aidl \
278 core/java/android/speech/IRecognitionService.aidl \
279 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
280 core/java/android/speech/tts/ITextToSpeechService.aidl \
281 core/java/com/android/internal/app/IAppOpsCallback.aidl \
282 core/java/com/android/internal/app/IAppOpsService.aidl \
283 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
284 core/java/com/android/internal/app/IBatteryStats.aidl \
Todd Kennedyb8a279e2015-11-18 09:59:47 -0800285 core/java/com/android/internal/app/IEphemeralResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000286 core/java/com/android/internal/app/IProcessStats.aidl \
287 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
288 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
289 core/java/com/android/internal/app/IVoiceInteractor.aidl \
290 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
291 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
292 core/java/com/android/internal/app/IMediaContainerService.aidl \
293 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
294 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
295 core/java/com/android/internal/backup/IBackupTransport.aidl \
296 core/java/com/android/internal/backup/IObbBackupService.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700297 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000298 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
299 core/java/com/android/internal/policy/IKeyguardService.aidl \
300 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
301 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
302 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
303 core/java/com/android/internal/os/IResultReceiver.aidl \
304 core/java/com/android/internal/statusbar/IStatusBar.aidl \
305 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
306 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
307 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
308 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
309 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
310 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheevede5f542015-07-15 18:04:04 -0700311 core/java/com/android/internal/view/IDropPermissionHolder.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000312 core/java/com/android/internal/view/IInputContext.aidl \
313 core/java/com/android/internal/view/IInputContextCallback.aidl \
314 core/java/com/android/internal/view/IInputMethod.aidl \
315 core/java/com/android/internal/view/IInputMethodClient.aidl \
316 core/java/com/android/internal/view/IInputMethodManager.aidl \
317 core/java/com/android/internal/view/IInputMethodSession.aidl \
318 core/java/com/android/internal/view/IInputSessionCallback.aidl \
319 core/java/com/android/internal/widget/ILockSettings.aidl \
320 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
321 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
322 keystore/java/android/security/IKeyChainAliasCallback.aidl \
323 keystore/java/android/security/IKeyChainService.aidl \
324 location/java/android/location/ICountryDetector.aidl \
325 location/java/android/location/ICountryListener.aidl \
326 location/java/android/location/IFusedProvider.aidl \
327 location/java/android/location/IGeocodeProvider.aidl \
328 location/java/android/location/IGeofenceProvider.aidl \
329 location/java/android/location/IGpsMeasurementsListener.aidl \
330 location/java/android/location/IGpsNavigationMessageListener.aidl \
331 location/java/android/location/IGpsStatusListener.aidl \
332 location/java/android/location/IGpsStatusProvider.aidl \
333 location/java/android/location/ILocationListener.aidl \
334 location/java/android/location/ILocationManager.aidl \
335 location/java/android/location/IFusedGeofenceHardware.aidl \
336 location/java/android/location/IGpsGeofenceHardware.aidl \
337 location/java/android/location/INetInitiatedListener.aidl \
338 location/java/com/android/internal/location/ILocationProvider.aidl \
339 media/java/android/media/IAudioService.aidl \
340 media/java/android/media/IAudioFocusDispatcher.aidl \
341 media/java/android/media/IAudioRoutesObserver.aidl \
342 media/java/android/media/IMediaHTTPConnection.aidl \
343 media/java/android/media/IMediaHTTPService.aidl \
344 media/java/android/media/IMediaRouterClient.aidl \
345 media/java/android/media/IMediaRouterService.aidl \
346 media/java/android/media/IMediaScannerListener.aidl \
347 media/java/android/media/IMediaScannerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000348 media/java/android/media/IRemoteDisplayCallback.aidl \
349 media/java/android/media/IRemoteDisplayProvider.aidl \
350 media/java/android/media/IRemoteVolumeController.aidl \
351 media/java/android/media/IRemoteVolumeObserver.aidl \
352 media/java/android/media/IRingtonePlayer.aidl \
353 media/java/android/media/IVolumeController.aidl \
354 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700355 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000356 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700357 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000358 media/java/android/media/midi/IMidiDeviceServer.aidl \
359 media/java/android/media/midi/IMidiManager.aidl \
360 media/java/android/media/projection/IMediaProjection.aidl \
361 media/java/android/media/projection/IMediaProjectionCallback.aidl \
362 media/java/android/media/projection/IMediaProjectionManager.aidl \
363 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
364 media/java/android/media/session/IActiveSessionsListener.aidl \
365 media/java/android/media/session/ISessionController.aidl \
366 media/java/android/media/session/ISessionControllerCallback.aidl \
367 media/java/android/media/session/ISession.aidl \
368 media/java/android/media/session/ISessionCallback.aidl \
369 media/java/android/media/session/ISessionManager.aidl \
370 media/java/android/media/tv/ITvInputClient.aidl \
371 media/java/android/media/tv/ITvInputHardware.aidl \
372 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
373 media/java/android/media/tv/ITvInputManager.aidl \
374 media/java/android/media/tv/ITvInputManagerCallback.aidl \
375 media/java/android/media/tv/ITvInputService.aidl \
376 media/java/android/media/tv/ITvInputServiceCallback.aidl \
377 media/java/android/media/tv/ITvInputSession.aidl \
378 media/java/android/media/tv/ITvInputSessionCallback.aidl \
379 media/java/android/service/media/IMediaBrowserService.aidl \
380 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
381 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
382 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
383 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
384 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
385 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
386 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
387 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
388 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
389 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
390 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
391 telephony/java/com/android/ims/internal/IImsConfig.aidl \
392 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
393 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
394 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
395 telephony/java/com/android/ims/internal/IImsService.aidl \
396 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
397 telephony/java/com/android/ims/internal/IImsUt.aidl \
398 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
399 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
400 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
401 telephony/java/com/android/ims/ImsConfigListener.aidl \
402 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
403 telephony/java/com/android/internal/telephony/IMms.aidl \
404 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
405 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
406 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
407 telephony/java/com/android/internal/telephony/ISms.aidl \
408 telephony/java/com/android/internal/telephony/ISub.aidl \
409 telephony/java/com/android/internal/telephony/ITelephony.aidl \
410 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
411 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
412 wifi/java/android/net/wifi/IWifiManager.aidl \
413 wifi/java/android/net/wifi/passpoint/IWifiPasspointManager.aidl \
414 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
415 wifi/java/android/net/wifi/IWifiScanner.aidl \
416 wifi/java/android/net/wifi/IRttManager.aidl \
417 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
418 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
419 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500420 core/java/android/service/quicksettings/IQSService.aidl \
421 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000422
423# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
424LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
425
426LOCAL_INTERMEDIATE_SOURCES := \
427 $(framework_res_source_path)/android/R.java \
428 $(framework_res_source_path)/android/Manifest.java \
429 $(framework_res_source_path)/com/android/internal/R.java
430
431LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000432LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp core-junit bouncycastle ext
Bart Searsa8cc0582015-05-07 03:23:20 +0000433
434LOCAL_MODULE := framework
435
436LOCAL_DX_FLAGS := --core-library --multi-dex
437LOCAL_JACK_FLAGS := --multi-dex native
438
439LOCAL_RMTYPEDEFS := true
440
441include $(BUILD_JAVA_LIBRARY)
442framework_module := $(LOCAL_INSTALLED_MODULE)
443
444# Make sure that R.java and Manifest.java are built before we build
445# the source for this library.
446framework_res_R_stamp := \
447 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
448$(full_classes_compiled_jar): $(framework_res_R_stamp)
449$(built_dex_intermediate): $(framework_res_R_stamp)
450
451$(framework_module): | $(dir $(framework_module))framework-res.apk
452
453framework_built := $(call java-lib-deps,framework)
454
455# Copy AIDL files to be preprocessed and included in the SDK,
456# specified relative to the root of the build tree.
457# ============================================================
458include $(CLEAR_VARS)
459
460aidl_files := \
461 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
462 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
463 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
464 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
465 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
466 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700467 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000468 frameworks/base/location/java/android/location/Location.aidl \
469 frameworks/base/location/java/android/location/Address.aidl \
470 frameworks/base/location/java/android/location/Criteria.aidl \
471 frameworks/base/media/java/android/media/MediaMetadata.aidl \
472 frameworks/base/media/java/android/media/MediaDescription.aidl \
473 frameworks/base/media/java/android/media/Rating.aidl \
474 frameworks/base/media/java/android/media/AudioAttributes.aidl \
475 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
476 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
477 frameworks/base/media/java/android/media/session/MediaSession.aidl \
478 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
479 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
480 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
481 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
482 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
483 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
484 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
485 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
486 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
487 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
488 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
489 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
490 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Jan Nordqvist52eb29f2015-09-22 15:54:32 -0700491 frameworks/base/wifi/java/android/net/wifi/ScanInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000492 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
493 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
494 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
495 frameworks/base/graphics/java/android/graphics/Region.aidl \
496 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
497 frameworks/base/graphics/java/android/graphics/Point.aidl \
498 frameworks/base/graphics/java/android/graphics/PointF.aidl \
499 frameworks/base/graphics/java/android/graphics/RectF.aidl \
500 frameworks/base/graphics/java/android/graphics/Rect.aidl \
501 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
502 frameworks/base/core/java/android/accounts/Account.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100503 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000504 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
505 frameworks/base/core/java/android/print/PageRange.aidl \
506 frameworks/base/core/java/android/print/PrintAttributes.aidl \
507 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
508 frameworks/base/core/java/android/print/PrinterId.aidl \
509 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
510 frameworks/base/core/java/android/print/PrinterInfo.aidl \
511 frameworks/base/core/java/android/print/PrintJobId.aidl \
512 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
513 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
514 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
515 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
516 frameworks/base/core/java/android/os/Messenger.aidl \
517 frameworks/base/core/java/android/os/PatternMatcher.aidl \
518 frameworks/base/core/java/android/os/Message.aidl \
519 frameworks/base/core/java/android/os/UserHandle.aidl \
520 frameworks/base/core/java/android/os/ParcelUuid.aidl \
521 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
522 frameworks/base/core/java/android/os/ResultReceiver.aidl \
523 frameworks/base/core/java/android/os/PersistableBundle.aidl \
524 frameworks/base/core/java/android/os/WorkSource.aidl \
525 frameworks/base/core/java/android/os/DropBoxManager.aidl \
526 frameworks/base/core/java/android/os/Bundle.aidl \
527 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
528 frameworks/base/core/java/android/net/Network.aidl \
529 frameworks/base/core/java/android/net/RouteInfo.aidl \
530 frameworks/base/core/java/android/net/NetworkInfo.aidl \
531 frameworks/base/core/java/android/net/IpPrefix.aidl \
532 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
533 frameworks/base/core/java/android/net/DhcpInfo.aidl \
534 frameworks/base/core/java/android/net/ProxyInfo.aidl \
535 frameworks/base/core/java/android/net/LinkProperties.aidl \
536 frameworks/base/core/java/android/net/Uri.aidl \
537 frameworks/base/core/java/android/net/NetworkRequest.aidl \
538 frameworks/base/core/java/android/net/LinkAddress.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700539 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000540 frameworks/base/core/java/android/view/InputDevice.aidl \
541 frameworks/base/core/java/android/view/InputEvent.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700542 frameworks/base/core/java/android/view/Surface.aidl \
543 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000544 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
545 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
546 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
547 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
548 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
549 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
550 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
551 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
552 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
553 frameworks/base/core/java/android/view/DragEvent.aidl \
554 frameworks/base/core/java/android/view/KeyEvent.aidl \
555 frameworks/base/core/java/android/view/WindowManager.aidl \
556 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
557 frameworks/base/core/java/android/view/MotionEvent.aidl \
558 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
559 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
560 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
561 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
562 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
563 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
564 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
565 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
566 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
567 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
568 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
569 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
570 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
571 frameworks/base/core/java/android/speech/tts/Voice.aidl \
572 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000573 frameworks/base/core/java/android/app/Notification.aidl \
574 frameworks/base/core/java/android/app/NotificationManager.aidl \
575 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
576 frameworks/base/core/java/android/app/AppOpsManager.aidl \
577 frameworks/base/core/java/android/app/ActivityManager.aidl \
578 frameworks/base/core/java/android/app/PendingIntent.aidl \
579 frameworks/base/core/java/android/app/AlarmManager.aidl \
580 frameworks/base/core/java/android/app/SearchableInfo.aidl \
581 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700582 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
583 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000584 frameworks/base/core/java/android/app/job/JobParameters.aidl \
585 frameworks/base/core/java/android/app/job/JobInfo.aidl \
586 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
587 frameworks/base/core/java/android/content/ClipDescription.aidl \
588 frameworks/base/core/java/android/content/IntentFilter.aidl \
589 frameworks/base/core/java/android/content/Intent.aidl \
590 frameworks/base/core/java/android/content/res/Configuration.aidl \
591 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
592 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
593 frameworks/base/core/java/android/content/ClipData.aidl \
594 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
595 frameworks/base/core/java/android/content/SyncRequest.aidl \
596 frameworks/base/core/java/android/content/PeriodicSync.aidl \
597 frameworks/base/core/java/android/content/SyncResult.aidl \
598 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
599 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
600 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
601 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
602 frameworks/base/core/java/android/content/pm/Signature.aidl \
603 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
604 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
605 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
606 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
607 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
608 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
609 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
610 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
611 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
612 frameworks/base/core/java/android/content/ComponentName.aidl \
613 frameworks/base/core/java/android/content/SyncStats.aidl \
614 frameworks/base/core/java/android/content/ContentValues.aidl \
615 frameworks/base/core/java/android/content/SyncInfo.aidl \
616 frameworks/base/core/java/android/content/IntentSender.aidl \
617 frameworks/base/core/java/android/widget/RemoteViews.aidl \
618 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
619 frameworks/base/core/java/android/nfc/Tag.aidl \
620 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
621 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
622 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
623 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
624 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
625 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
626 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
627 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
628 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
629 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500630 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000631
632gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
633$(gen): PRIVATE_SRC_FILES := $(aidl_files)
634ALL_SDK_FILES += $(gen)
635$(gen): $(aidl_files) | $(AIDL)
636 @echo Aidl Preprocess: $@
637 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
638
639# the documentation
640# ============================================================
641
642# TODO: deal with com/google/android/googleapps
643packages_to_document := \
644 android \
645 javax/microedition/khronos \
646 org/apache/http/conn \
647 org/apache/http/params
648
649
650# Search through the base framework dirs for these packages.
651# The result will be relative to frameworks/base.
652fwbase_dirs_to_document := \
653 test-runner/src \
654 $(patsubst $(LOCAL_PATH)/%,%, \
655 $(wildcard \
656 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
657 $(addprefix $(dir)/, $(packages_to_document)) \
658 ) \
659 ) \
660 )
661
662# include definition of libcore_to_document
663include libcore/Docs.mk
664
665# include definition of junit_to_document
666include external/junit/Common.mk
667
668non_base_dirs := \
669 ../opt/telephony/src/java/android/provider \
670 ../opt/telephony/src/java/android/telephony \
671 ../opt/telephony/src/java/android/telephony/gsm \
672 ../opt/net/voip/src/java/android/net/rtp \
673 ../opt/net/voip/src/java/android/net/sip
674
675# These are relative to frameworks/base
676dirs_to_check_apis := \
677 $(fwbase_dirs_to_document) \
678 $(non_base_dirs)
679
George Mountf6be9932015-12-03 07:39:55 -0800680###########################################################
681## Return all directories that have a 'NO_DOCS' file in
682## them, appending a '%' to them to form a pattern to
683## filter out files under those directories.
684## $(1): A list of base directories to look at.
685###########################################################
686define find-no-docs-pattern
687$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
688endef
689
Bart Searsa8cc0582015-05-07 03:23:20 +0000690# These are relative to frameworks/base
691# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
692dirs_to_document := \
693 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700694 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
695 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000696
George Mountf6be9932015-12-03 07:39:55 -0800697patterns_to_not_document := \
698 $(call find-no-docs-pattern, $(dirs_to_document))
699
Bart Searsa8cc0582015-05-07 03:23:20 +0000700# These are relative to frameworks/base
701html_dirs := \
702 $(FRAMEWORKS_BASE_SUBDIRS) \
703 $(non_base_dirs)
704
705# Common sources for doc check and api check
706common_src_files := \
707 $(call find-other-html-files, $(html_dirs)) \
Neil Fullerf9611142015-10-07 10:30:56 +0100708 $(addprefix ../../, $(libcore_to_document)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000709 $(addprefix ../../external/junit/, $(junit_to_document))
710
711# These are relative to frameworks/base
712framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800713 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000714 $(common_src_files)
715
George Mountf6be9932015-12-03 07:39:55 -0800716# $(call find-other-java-files, $(dirs_to_document)) \
717
Bart Searsa8cc0582015-05-07 03:23:20 +0000718# These are relative to frameworks/base
719framework_docs_LOCAL_API_CHECK_SRC_FILES := \
720 $(call find-other-java-files, $(dirs_to_check_apis)) \
721 $(common_src_files)
722
723# This is used by ide.mk as the list of source files that are
724# always included.
725INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
726
727framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
728 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
729
730framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
731 $(framework_res_source_path)/android/R.java \
732 $(framework_res_source_path)/android/Manifest.java \
733 $(framework_res_source_path)/com/android/internal/R.java
734
735framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000736 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000737 core-libart \
738 conscrypt \
739 bouncycastle \
740 okhttp \
741 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100742 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000743 framework \
744 telephony-common \
745 voip-common
746
747framework_docs_LOCAL_JAVA_LIBRARIES := \
748 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
749 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
750
751framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
752framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
753# The since flag (-since N.xml API_LEVEL) is used to add API Level information
754# to the reference documentation. Must be in order of oldest to newest.
755#
756# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
757# not be referenced in the documentation.
758framework_docs_LOCAL_DROIDDOC_OPTIONS := \
759 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100760 -knowntags ./libcore/known_oj_tags.txt \
Bart Searsa8cc0582015-05-07 03:23:20 +0000761 -hidePackage com.android.org.conscrypt \
762 -since $(SRC_API_DIR)/1.xml 1 \
763 -since $(SRC_API_DIR)/2.xml 2 \
764 -since $(SRC_API_DIR)/3.xml 3 \
765 -since $(SRC_API_DIR)/4.xml 4 \
766 -since $(SRC_API_DIR)/5.xml 5 \
767 -since $(SRC_API_DIR)/6.xml 6 \
768 -since $(SRC_API_DIR)/7.xml 7 \
769 -since $(SRC_API_DIR)/8.xml 8 \
770 -since $(SRC_API_DIR)/9.xml 9 \
771 -since $(SRC_API_DIR)/10.xml 10 \
772 -since $(SRC_API_DIR)/11.xml 11 \
773 -since $(SRC_API_DIR)/12.xml 12 \
774 -since $(SRC_API_DIR)/13.xml 13 \
775 -since $(SRC_API_DIR)/14.txt 14 \
776 -since $(SRC_API_DIR)/15.txt 15 \
777 -since $(SRC_API_DIR)/16.txt 16 \
778 -since $(SRC_API_DIR)/17.txt 17 \
779 -since $(SRC_API_DIR)/18.txt 18 \
780 -since $(SRC_API_DIR)/19.txt 19 \
781 -since $(SRC_API_DIR)/20.txt 20 \
782 -since $(SRC_API_DIR)/21.txt 21 \
783 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700784 -since $(SRC_API_DIR)/23.txt 23 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000785 -werror -hide 111 -hide 113 \
786 -overview $(LOCAL_PATH)/core/java/overview.html
787
788framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
789 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
790
791framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
792 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
793 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
794 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
795
796framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +0100797 frameworks/base/docs/knowntags.txt \
798 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +0000799
800samples_dir := development/samples/browseable
801
802# Whitelist of valid groups, used for default TOC grouping. Each sample must
803# belong to one (and only one) group. Assign samples to groups by setting
804# a sample.group var to one of these groups in the sample's _index.jd.
805sample_groups := -samplegroup Admin \
806 -samplegroup Background \
807 -samplegroup Connectivity \
808 -samplegroup Content \
809 -samplegroup Input \
810 -samplegroup Media \
811 -samplegroup Notification \
812 -samplegroup RenderScript \
813 -samplegroup Security \
814 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700815 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000816 -samplegroup Testing \
817 -samplegroup UI \
818 -samplegroup Views \
819 -samplegroup Wearable
820
821## SDK version identifiers used in the published docs
822 # major[.minor] version for current SDK. (full releases only)
Joe Fernandez1827e322015-08-12 19:45:22 -0700823framework_docs_SDK_VERSION:=6.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000824 # release version (ie "Release x") (full releases only)
825framework_docs_SDK_REL_ID:=1
826
827framework_docs_LOCAL_DROIDDOC_OPTIONS += \
828 -hdf sdk.version $(framework_docs_SDK_VERSION) \
829 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
830 -hdf sdk.preview 0
831
832# ==== the api stubs and current.xml ===========================
833include $(CLEAR_VARS)
834
835LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
836LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
837LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
838LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
839LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
840LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
841LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
842LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
843
844LOCAL_MODULE := api-stubs
845
Ying Wang0f92a2e2015-07-16 14:20:22 -0700846LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
847
Bart Searsa8cc0582015-05-07 03:23:20 +0000848LOCAL_DROIDDOC_OPTIONS:=\
849 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000850 -api $(INTERNAL_PLATFORM_API_FILE) \
851 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
852 -nodocs
853
854LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
855
856LOCAL_UNINSTALLABLE_MODULE := true
857
858include $(BUILD_DROIDDOC)
859
860# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
861$(full_target): $(framework_built) $(gen)
862$(INTERNAL_PLATFORM_API_FILE): $(full_target)
863$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
864
865# ==== the system api stubs ===================================
866include $(CLEAR_VARS)
867
868LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
869LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
870LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
871LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
872LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
873LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
874LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
875LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
876
877LOCAL_MODULE := system-api-stubs
878
Ying Wang0f92a2e2015-07-16 14:20:22 -0700879LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
880
Bart Searsa8cc0582015-05-07 03:23:20 +0000881LOCAL_DROIDDOC_OPTIONS:=\
882 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000883 -showAnnotation android.annotation.SystemApi \
884 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
885 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
886 -nodocs
887
888LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
889
890LOCAL_UNINSTALLABLE_MODULE := true
891
892include $(BUILD_DROIDDOC)
893
894# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
895$(full_target): $(framework_built) $(gen)
896$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
897$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
898
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000899# ==== the test api stubs ===================================
900include $(CLEAR_VARS)
901
902LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
903LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
904LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
905LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
906LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
907LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
908LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
909LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
910
911LOCAL_MODULE := test-api-stubs
912
913LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
914
915LOCAL_DROIDDOC_OPTIONS:=\
916 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
917 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
918 -showAnnotation android.annotation.TestApi \
919 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
920 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
921 -nodocs
922
923LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
924
925LOCAL_UNINSTALLABLE_MODULE := true
926
927include $(BUILD_DROIDDOC)
928
929# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
930$(full_target): $(framework_built) $(gen)
931$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
932$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
933
Bart Searsa8cc0582015-05-07 03:23:20 +0000934# ==== check javadoc comments but don't generate docs ========
935include $(CLEAR_VARS)
936
937LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
938LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
939LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
940LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
941LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
942LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
943LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
944LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
945
946LOCAL_MODULE := doc-comment-check
947
948LOCAL_DROIDDOC_OPTIONS:=\
949 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
950 -parsecomments
951
952LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
953
954LOCAL_UNINSTALLABLE_MODULE := true
955
956include $(BUILD_DROIDDOC)
957
958# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
959$(full_target): $(framework_built) $(gen)
960
961# Run this for checkbuild
962checkbuild: doc-comment-check-docs
963# Check comment when you are updating the API
964update-api: doc-comment-check-docs
965
966# ==== static html in the sdk ==================================
967include $(CLEAR_VARS)
968
969LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
970LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
971LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
972LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
973LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
974LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
975LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
976LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
977
978LOCAL_MODULE := offline-sdk
979
980LOCAL_DROIDDOC_OPTIONS:=\
981 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
982 -offlinemode \
983 -title "Android SDK" \
984 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
985 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
986 -sdkvalues $(OUT_DOCS) \
987 -hdf android.whichdoc offline
988
989LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
990
991include $(BUILD_DROIDDOC)
992
993static_doc_index_redirect := $(out_dir)/index.html
994$(static_doc_index_redirect): \
995 $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
996 $(hide) mkdir -p $(dir $@)
997 $(hide) $(ACP) $< $@
998
999$(full_target): $(static_doc_index_redirect)
1000$(full_target): $(framework_built)
1001
1002# ==== docs for the web (on the androiddevdocs app engine server) =======================
1003include $(CLEAR_VARS)
1004
1005LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1006LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1007LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1008LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1009LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1010LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1011LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1012LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1013LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1014LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1015
1016LOCAL_MODULE := online-sdk
1017
1018LOCAL_DROIDDOC_OPTIONS:= \
1019 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1020 -toroot / \
1021 -hdf android.whichdoc online \
1022 $(sample_groups) \
1023 -hdf android.hasSamples true \
1024 -samplesdir $(samples_dir)
1025
1026LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1027
1028include $(BUILD_DROIDDOC)
1029
1030# ==== docs for the web (on the androiddevdocs app engine server) =======================
1031# TODO: Fix the System API docs build.
1032ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1033include $(CLEAR_VARS)
1034
1035LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1036LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1037LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1038LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1039LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1040LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1041LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1042LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1043LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1044LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1045
1046LOCAL_MODULE := online-system-api-sdk
1047
1048LOCAL_DROIDDOC_OPTIONS:= \
1049 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1050 -showAnnotation android.annotation.SystemApi \
1051 -title "Android SDK - Including system APIs." \
1052 -toroot / \
1053 -hdf android.whichdoc online \
1054 $(sample_groups) \
1055 -hdf android.hasSamples true \
1056 -samplesdir $(samples_dir)
1057
1058LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1059# Don't build by default
1060LOCAL_UNINSTALLABLE_MODULE := true
1061
1062include $(BUILD_DROIDDOC)
1063endif # online-system-api-sdk-docs in make command line.
1064
1065# ==== docs for the web (on the devsite app engine server) =======================
1066include $(CLEAR_VARS)
1067LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1068LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1069LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1070LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1071LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1072LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1073LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1074LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1075LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1076# specify a second html input dir and an output path relative to OUT_DIR)
1077LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1078
1079LOCAL_MODULE := ds
1080
1081LOCAL_DROIDDOC_OPTIONS:= \
1082 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1083 -devsite \
1084 -toroot / \
1085 -hdf android.whichdoc online \
1086 -hdf devsite true
1087
1088LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1089
1090include $(BUILD_DROIDDOC)
1091
1092# ==== docs for the ndk =======================
1093include $(CLEAR_VARS)
1094LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1095LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1096LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1097LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1098LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1099LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1100LOCAL_DROIDDOC_HTML_DIR:=docs/html-ndk
1101LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1102LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1103# specify a second html input dir and an output path relative to OUT_DIR)
1104LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1105
1106LOCAL_MODULE := online-ndk
1107
1108LOCAL_DROIDDOC_OPTIONS:= \
1109 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1110 -toroot / \
1111 -hdf android.whichdoc online \
1112 $(sample_groups) \
1113 -hdf android.hasSamples true \
1114 -samplesdir $(samples_dir)
1115
Dirk Dougherty85dea522015-05-21 14:20:25 -07001116LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001117
1118include $(BUILD_DROIDDOC)
1119
1120
1121# ==== docs that have all of the stuff that's @hidden =======================
1122include $(CLEAR_VARS)
1123
1124LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1125LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1126LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1127LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1128LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1129LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1130LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1131LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1132
1133LOCAL_MODULE := hidden
1134LOCAL_DROIDDOC_OPTIONS:=\
1135 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1136 -title "Android SDK - Including hidden APIs."
1137# -hidden
1138
1139LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1140
1141include $(BUILD_DROIDDOC)
1142
1143# Build ext.jar
1144# ============================================================
1145
1146ext_dirs := \
1147 ../../external/nist-sip/java \
1148 ../../external/tagsoup/src \
1149
1150ext_src_files := $(call all-java-files-under,$(ext_dirs))
1151
1152# ==== the library =========================================
1153include $(CLEAR_VARS)
1154
1155LOCAL_SRC_FILES := $(ext_src_files)
1156
1157LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001158LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001159LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1160LOCAL_MODULE_TAGS := optional
1161LOCAL_MODULE := ext
1162
1163LOCAL_DX_FLAGS := --core-library
1164
1165include $(BUILD_JAVA_LIBRARY)
1166
1167
1168# Include subdirectory makefiles
1169# ============================================================
1170
1171# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1172# team really wants is to build the stuff defined by this makefile.
1173ifeq (,$(ONE_SHOT_MAKEFILE))
1174include $(call first-makefiles-under,$(LOCAL_PATH))
1175endif
1176
1177endif # ANDROID_BUILD_EMBEDDED