blob: a016b84c260c16ad1325c8ca57c88c8d1bf2f225 [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 \
71 core/java/android/app/IAlarmManager.aidl \
72 core/java/android/app/IAppTask.aidl \
73 core/java/android/app/ITaskStackListener.aidl \
74 core/java/android/app/IBackupAgent.aidl \
75 core/java/android/app/IInstrumentationWatcher.aidl \
76 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000077 core/java/android/app/IProcessObserver.aidl \
78 core/java/android/app/ISearchManager.aidl \
79 core/java/android/app/ISearchManagerCallback.aidl \
80 core/java/android/app/IServiceConnection.aidl \
81 core/java/android/app/IStopUserCallback.aidl \
82 core/java/android/app/job/IJobCallback.aidl \
83 core/java/android/app/job/IJobScheduler.aidl \
84 core/java/android/app/job/IJobService.aidl \
85 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070086 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000087 core/java/android/app/IUiAutomationConnection.aidl \
88 core/java/android/app/IUiModeManager.aidl \
89 core/java/android/app/IUserSwitchObserver.aidl \
90 core/java/android/app/IWallpaperManager.aidl \
91 core/java/android/app/IWallpaperManagerCallback.aidl \
92 core/java/android/app/admin/IDevicePolicyManager.aidl \
93 core/java/android/app/trust/ITrustManager.aidl \
94 core/java/android/app/trust/ITrustListener.aidl \
95 core/java/android/app/backup/IBackupManager.aidl \
96 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
97 core/java/android/app/backup/IRestoreObserver.aidl \
98 core/java/android/app/backup/IRestoreSession.aidl \
99 core/java/android/app/usage/IUsageStatsManager.aidl \
100 core/java/android/bluetooth/IBluetooth.aidl \
101 core/java/android/bluetooth/IBluetoothA2dp.aidl \
102 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
103 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
104 core/java/android/bluetooth/IBluetoothCallback.aidl \
105 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
106 core/java/android/bluetooth/IBluetoothHeadset.aidl \
107 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
108 core/java/android/bluetooth/IBluetoothHealth.aidl \
109 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
110 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
111 core/java/android/bluetooth/IBluetoothPan.aidl \
112 core/java/android/bluetooth/IBluetoothManager.aidl \
113 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
114 core/java/android/bluetooth/IBluetoothPbap.aidl \
115 core/java/android/bluetooth/IBluetoothMap.aidl \
116 core/java/android/bluetooth/IBluetoothSap.aidl \
117 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
118 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
119 core/java/android/bluetooth/IBluetoothGatt.aidl \
120 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
121 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
122 core/java/android/content/IClipboard.aidl \
123 core/java/android/content/IContentService.aidl \
124 core/java/android/content/IIntentReceiver.aidl \
125 core/java/android/content/IIntentSender.aidl \
126 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
127 core/java/android/content/IRestrictionsManager.aidl \
128 core/java/android/content/ISyncAdapter.aidl \
129 core/java/android/content/ISyncContext.aidl \
130 core/java/android/content/ISyncServiceAdapter.aidl \
131 core/java/android/content/ISyncStatusObserver.aidl \
132 core/java/android/content/pm/ILauncherApps.aidl \
133 core/java/android/content/pm/IOnAppsChangedListener.aidl \
134 core/java/android/content/pm/IPackageDataObserver.aidl \
135 core/java/android/content/pm/IPackageDeleteObserver.aidl \
136 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
137 core/java/android/content/pm/IPackageInstallObserver.aidl \
138 core/java/android/content/pm/IPackageInstallObserver2.aidl \
139 core/java/android/content/pm/IPackageInstaller.aidl \
140 core/java/android/content/pm/IPackageInstallerCallback.aidl \
141 core/java/android/content/pm/IPackageInstallerSession.aidl \
142 core/java/android/content/pm/IPackageManager.aidl \
143 core/java/android/content/pm/IPackageMoveObserver.aidl \
144 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700145 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000146 core/java/android/database/IContentObserver.aidl \
147 core/java/android/hardware/ICameraService.aidl \
148 core/java/android/hardware/ICameraServiceListener.aidl \
Ruben Brunk6664aee2015-05-19 17:20:24 -0700149 core/java/android/hardware/ICameraServiceProxy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000150 core/java/android/hardware/ICamera.aidl \
151 core/java/android/hardware/ICameraClient.aidl \
152 core/java/android/hardware/IConsumerIrService.aidl \
153 core/java/android/hardware/camera2/ICameraDeviceUser.aidl \
154 core/java/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
155 core/java/android/hardware/ISerialManager.aidl \
156 core/java/android/hardware/display/IDisplayManager.aidl \
157 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
158 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700159 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
160 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000161 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
162 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
163 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
164 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
165 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
166 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
167 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
168 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
169 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
170 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
171 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
172 core/java/android/hardware/input/IInputManager.aidl \
173 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
174 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
175 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
176 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
177 core/java/android/hardware/location/IFusedLocationHardware.aidl \
178 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
179 core/java/android/hardware/location/IGeofenceHardware.aidl \
180 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
181 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
182 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
183 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400184 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000185 core/java/android/net/IConnectivityManager.aidl \
186 core/java/android/net/IEthernetManager.aidl \
187 core/java/android/net/IEthernetServiceListener.aidl \
188 core/java/android/net/INetworkManagementEventObserver.aidl \
189 core/java/android/net/INetworkPolicyListener.aidl \
190 core/java/android/net/INetworkPolicyManager.aidl \
191 core/java/android/net/INetworkScoreCache.aidl \
192 core/java/android/net/INetworkScoreService.aidl \
193 core/java/android/net/INetworkStatsService.aidl \
194 core/java/android/net/INetworkStatsSession.aidl \
195 core/java/android/net/nsd/INsdManager.aidl \
196 core/java/android/nfc/IAppCallback.aidl \
197 core/java/android/nfc/INfcAdapter.aidl \
198 core/java/android/nfc/INfcAdapterExtras.aidl \
199 core/java/android/nfc/INfcTag.aidl \
200 core/java/android/nfc/INfcCardEmulation.aidl \
201 core/java/android/nfc/INfcUnlockHandler.aidl \
202 core/java/android/os/IBatteryPropertiesListener.aidl \
203 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
204 core/java/android/os/ICancellationSignal.aidl \
205 core/java/android/os/IDeviceIdleController.aidl \
206 core/java/android/os/IMessenger.aidl \
207 core/java/android/os/INetworkActivityListener.aidl \
208 core/java/android/os/INetworkManagementService.aidl \
209 core/java/android/os/IPermissionController.aidl \
210 core/java/android/os/IProcessInfoService.aidl \
211 core/java/android/os/IPowerManager.aidl \
212 core/java/android/os/IRemoteCallback.aidl \
213 core/java/android/os/ISchedulingPolicyService.aidl \
214 core/java/android/os/IUpdateLock.aidl \
215 core/java/android/os/IUserManager.aidl \
216 core/java/android/os/IVibratorService.aidl \
217 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700218 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000219 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
220 core/java/android/service/carrier/ICarrierMessagingService.aidl \
221 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
222 core/java/android/service/notification/INotificationListener.aidl \
223 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
224 core/java/android/service/notification/IConditionListener.aidl \
225 core/java/android/service/notification/IConditionProvider.aidl \
226 core/java/android/print/ILayoutResultCallback.aidl \
227 core/java/android/print/IPrinterDiscoveryObserver.aidl \
228 core/java/android/print/IPrintDocumentAdapter.aidl \
229 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
230 core/java/android/print/IPrintJobStateChangeListener.aidl \
231 core/java/android/print/IPrintManager.aidl \
232 core/java/android/print/IPrintSpooler.aidl \
233 core/java/android/print/IPrintSpoolerCallbacks.aidl \
234 core/java/android/print/IPrintSpoolerClient.aidl \
235 core/java/android/print/IWriteResultCallback.aidl \
236 core/java/android/printservice/IPrintService.aidl \
237 core/java/android/printservice/IPrintServiceClient.aidl \
238 core/java/android/service/dreams/IDreamManager.aidl \
239 core/java/android/service/dreams/IDreamService.aidl \
240 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
241 core/java/android/service/trust/ITrustAgentService.aidl \
242 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
243 core/java/android/service/voice/IVoiceInteractionService.aidl \
244 core/java/android/service/voice/IVoiceInteractionSession.aidl \
245 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
246 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
247 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
248 core/java/android/service/wallpaper/IWallpaperService.aidl \
249 core/java/android/service/chooser/IChooserTargetService.aidl \
250 core/java/android/service/chooser/IChooserTargetResult.aidl \
251 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
252 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
253 core/java/android/view/accessibility/IAccessibilityManager.aidl \
254 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
255 core/java/android/view/IApplicationToken.aidl \
256 core/java/android/view/IAssetAtlas.aidl \
257 core/java/android/view/IGraphicsStats.aidl \
258 core/java/android/view/IInputFilter.aidl \
259 core/java/android/view/IInputFilterHost.aidl \
260 core/java/android/view/IOnKeyguardExitResult.aidl \
261 core/java/android/view/IRotationWatcher.aidl \
262 core/java/android/view/IWindow.aidl \
263 core/java/android/view/IWindowFocusObserver.aidl \
264 core/java/android/view/IWindowId.aidl \
265 core/java/android/view/IWindowManager.aidl \
266 core/java/android/view/IWindowSession.aidl \
267 core/java/android/view/IWindowSessionCallback.aidl \
268 core/java/android/webkit/IWebViewUpdateService.aidl \
269 core/java/android/speech/IRecognitionListener.aidl \
270 core/java/android/speech/IRecognitionService.aidl \
271 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
272 core/java/android/speech/tts/ITextToSpeechService.aidl \
273 core/java/com/android/internal/app/IAppOpsCallback.aidl \
274 core/java/com/android/internal/app/IAppOpsService.aidl \
275 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
276 core/java/com/android/internal/app/IBatteryStats.aidl \
277 core/java/com/android/internal/app/IProcessStats.aidl \
278 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
279 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
280 core/java/com/android/internal/app/IVoiceInteractor.aidl \
281 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
282 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
283 core/java/com/android/internal/app/IMediaContainerService.aidl \
284 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
285 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
286 core/java/com/android/internal/backup/IBackupTransport.aidl \
287 core/java/com/android/internal/backup/IObbBackupService.aidl \
Jorim Jaggi740452e2015-07-09 12:13:59 -0700288 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000289 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
290 core/java/com/android/internal/policy/IKeyguardService.aidl \
291 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
292 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
293 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
294 core/java/com/android/internal/os/IResultReceiver.aidl \
295 core/java/com/android/internal/statusbar/IStatusBar.aidl \
296 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
297 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
298 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
299 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
300 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
301 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
302 core/java/com/android/internal/view/IInputContext.aidl \
303 core/java/com/android/internal/view/IInputContextCallback.aidl \
304 core/java/com/android/internal/view/IInputMethod.aidl \
305 core/java/com/android/internal/view/IInputMethodClient.aidl \
306 core/java/com/android/internal/view/IInputMethodManager.aidl \
307 core/java/com/android/internal/view/IInputMethodSession.aidl \
308 core/java/com/android/internal/view/IInputSessionCallback.aidl \
309 core/java/com/android/internal/widget/ILockSettings.aidl \
310 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
311 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
312 keystore/java/android/security/IKeyChainAliasCallback.aidl \
313 keystore/java/android/security/IKeyChainService.aidl \
314 location/java/android/location/ICountryDetector.aidl \
315 location/java/android/location/ICountryListener.aidl \
316 location/java/android/location/IFusedProvider.aidl \
317 location/java/android/location/IGeocodeProvider.aidl \
318 location/java/android/location/IGeofenceProvider.aidl \
319 location/java/android/location/IGpsMeasurementsListener.aidl \
320 location/java/android/location/IGpsNavigationMessageListener.aidl \
321 location/java/android/location/IGpsStatusListener.aidl \
322 location/java/android/location/IGpsStatusProvider.aidl \
323 location/java/android/location/ILocationListener.aidl \
324 location/java/android/location/ILocationManager.aidl \
325 location/java/android/location/IFusedGeofenceHardware.aidl \
326 location/java/android/location/IGpsGeofenceHardware.aidl \
327 location/java/android/location/INetInitiatedListener.aidl \
328 location/java/com/android/internal/location/ILocationProvider.aidl \
329 media/java/android/media/IAudioService.aidl \
330 media/java/android/media/IAudioFocusDispatcher.aidl \
331 media/java/android/media/IAudioRoutesObserver.aidl \
332 media/java/android/media/IMediaHTTPConnection.aidl \
333 media/java/android/media/IMediaHTTPService.aidl \
334 media/java/android/media/IMediaRouterClient.aidl \
335 media/java/android/media/IMediaRouterService.aidl \
336 media/java/android/media/IMediaScannerListener.aidl \
337 media/java/android/media/IMediaScannerService.aidl \
338 media/java/android/media/IRemoteControlClient.aidl \
339 media/java/android/media/IRemoteControlDisplay.aidl \
340 media/java/android/media/IRemoteDisplayCallback.aidl \
341 media/java/android/media/IRemoteDisplayProvider.aidl \
342 media/java/android/media/IRemoteVolumeController.aidl \
343 media/java/android/media/IRemoteVolumeObserver.aidl \
344 media/java/android/media/IRingtonePlayer.aidl \
345 media/java/android/media/IVolumeController.aidl \
346 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
347 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700348 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000349 media/java/android/media/midi/IMidiDeviceServer.aidl \
350 media/java/android/media/midi/IMidiManager.aidl \
351 media/java/android/media/projection/IMediaProjection.aidl \
352 media/java/android/media/projection/IMediaProjectionCallback.aidl \
353 media/java/android/media/projection/IMediaProjectionManager.aidl \
354 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
355 media/java/android/media/session/IActiveSessionsListener.aidl \
356 media/java/android/media/session/ISessionController.aidl \
357 media/java/android/media/session/ISessionControllerCallback.aidl \
358 media/java/android/media/session/ISession.aidl \
359 media/java/android/media/session/ISessionCallback.aidl \
360 media/java/android/media/session/ISessionManager.aidl \
361 media/java/android/media/tv/ITvInputClient.aidl \
362 media/java/android/media/tv/ITvInputHardware.aidl \
363 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
364 media/java/android/media/tv/ITvInputManager.aidl \
365 media/java/android/media/tv/ITvInputManagerCallback.aidl \
366 media/java/android/media/tv/ITvInputService.aidl \
367 media/java/android/media/tv/ITvInputServiceCallback.aidl \
368 media/java/android/media/tv/ITvInputSession.aidl \
369 media/java/android/media/tv/ITvInputSessionCallback.aidl \
370 media/java/android/service/media/IMediaBrowserService.aidl \
371 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
372 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
373 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
374 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
375 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
376 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
377 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
378 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
379 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
380 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
381 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
382 telephony/java/com/android/ims/internal/IImsConfig.aidl \
383 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
384 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
385 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
386 telephony/java/com/android/ims/internal/IImsService.aidl \
387 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
388 telephony/java/com/android/ims/internal/IImsUt.aidl \
389 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
390 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
391 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
392 telephony/java/com/android/ims/ImsConfigListener.aidl \
393 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
394 telephony/java/com/android/internal/telephony/IMms.aidl \
395 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
396 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
397 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
398 telephony/java/com/android/internal/telephony/ISms.aidl \
399 telephony/java/com/android/internal/telephony/ISub.aidl \
400 telephony/java/com/android/internal/telephony/ITelephony.aidl \
401 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
402 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
403 wifi/java/android/net/wifi/IWifiManager.aidl \
404 wifi/java/android/net/wifi/passpoint/IWifiPasspointManager.aidl \
405 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
406 wifi/java/android/net/wifi/IWifiScanner.aidl \
407 wifi/java/android/net/wifi/IRttManager.aidl \
408 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
409 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
410 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
411
412# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
413LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
414
415LOCAL_INTERMEDIATE_SOURCES := \
416 $(framework_res_source_path)/android/R.java \
417 $(framework_res_source_path)/android/Manifest.java \
418 $(framework_res_source_path)/com/android/internal/R.java
419
420LOCAL_NO_STANDARD_LIBRARIES := true
421LOCAL_JAVA_LIBRARIES := core-libart conscrypt okhttp core-junit bouncycastle ext
422
423LOCAL_MODULE := framework
424
425LOCAL_DX_FLAGS := --core-library --multi-dex
426LOCAL_JACK_FLAGS := --multi-dex native
427
428LOCAL_RMTYPEDEFS := true
429
430include $(BUILD_JAVA_LIBRARY)
431framework_module := $(LOCAL_INSTALLED_MODULE)
432
433# Make sure that R.java and Manifest.java are built before we build
434# the source for this library.
435framework_res_R_stamp := \
436 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
437$(full_classes_compiled_jar): $(framework_res_R_stamp)
438$(built_dex_intermediate): $(framework_res_R_stamp)
439
440$(framework_module): | $(dir $(framework_module))framework-res.apk
441
442framework_built := $(call java-lib-deps,framework)
443
444# Copy AIDL files to be preprocessed and included in the SDK,
445# specified relative to the root of the build tree.
446# ============================================================
447include $(CLEAR_VARS)
448
449aidl_files := \
450 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
451 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
452 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
453 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
454 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
455 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700456 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000457 frameworks/base/location/java/android/location/Location.aidl \
458 frameworks/base/location/java/android/location/Address.aidl \
459 frameworks/base/location/java/android/location/Criteria.aidl \
460 frameworks/base/media/java/android/media/MediaMetadata.aidl \
461 frameworks/base/media/java/android/media/MediaDescription.aidl \
462 frameworks/base/media/java/android/media/Rating.aidl \
463 frameworks/base/media/java/android/media/AudioAttributes.aidl \
464 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
465 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
466 frameworks/base/media/java/android/media/session/MediaSession.aidl \
467 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
468 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
469 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
470 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
471 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
472 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
473 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
474 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
475 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
476 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
477 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
478 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
479 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
480 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
481 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
482 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
483 frameworks/base/graphics/java/android/graphics/Region.aidl \
484 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
485 frameworks/base/graphics/java/android/graphics/Point.aidl \
486 frameworks/base/graphics/java/android/graphics/PointF.aidl \
487 frameworks/base/graphics/java/android/graphics/RectF.aidl \
488 frameworks/base/graphics/java/android/graphics/Rect.aidl \
489 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
490 frameworks/base/core/java/android/accounts/Account.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100491 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000492 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
493 frameworks/base/core/java/android/print/PageRange.aidl \
494 frameworks/base/core/java/android/print/PrintAttributes.aidl \
495 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
496 frameworks/base/core/java/android/print/PrinterId.aidl \
497 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
498 frameworks/base/core/java/android/print/PrinterInfo.aidl \
499 frameworks/base/core/java/android/print/PrintJobId.aidl \
500 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
501 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
502 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
503 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
504 frameworks/base/core/java/android/os/Messenger.aidl \
505 frameworks/base/core/java/android/os/PatternMatcher.aidl \
506 frameworks/base/core/java/android/os/Message.aidl \
507 frameworks/base/core/java/android/os/UserHandle.aidl \
508 frameworks/base/core/java/android/os/ParcelUuid.aidl \
509 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
510 frameworks/base/core/java/android/os/ResultReceiver.aidl \
511 frameworks/base/core/java/android/os/PersistableBundle.aidl \
512 frameworks/base/core/java/android/os/WorkSource.aidl \
513 frameworks/base/core/java/android/os/DropBoxManager.aidl \
514 frameworks/base/core/java/android/os/Bundle.aidl \
515 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
516 frameworks/base/core/java/android/net/Network.aidl \
517 frameworks/base/core/java/android/net/RouteInfo.aidl \
518 frameworks/base/core/java/android/net/NetworkInfo.aidl \
519 frameworks/base/core/java/android/net/IpPrefix.aidl \
520 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
521 frameworks/base/core/java/android/net/DhcpInfo.aidl \
522 frameworks/base/core/java/android/net/ProxyInfo.aidl \
523 frameworks/base/core/java/android/net/LinkProperties.aidl \
524 frameworks/base/core/java/android/net/Uri.aidl \
525 frameworks/base/core/java/android/net/NetworkRequest.aidl \
526 frameworks/base/core/java/android/net/LinkAddress.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700527 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000528 frameworks/base/core/java/android/view/InputDevice.aidl \
529 frameworks/base/core/java/android/view/InputEvent.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700530 frameworks/base/core/java/android/view/Surface.aidl \
531 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000532 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
533 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
534 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
535 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
536 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
537 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
538 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
539 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
540 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
541 frameworks/base/core/java/android/view/DragEvent.aidl \
542 frameworks/base/core/java/android/view/KeyEvent.aidl \
543 frameworks/base/core/java/android/view/WindowManager.aidl \
544 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
545 frameworks/base/core/java/android/view/MotionEvent.aidl \
546 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
547 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
548 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
549 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
550 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
551 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
552 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
553 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
554 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
555 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
556 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
557 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
558 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
559 frameworks/base/core/java/android/speech/tts/Voice.aidl \
560 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000561 frameworks/base/core/java/android/app/Notification.aidl \
562 frameworks/base/core/java/android/app/NotificationManager.aidl \
563 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
564 frameworks/base/core/java/android/app/AppOpsManager.aidl \
565 frameworks/base/core/java/android/app/ActivityManager.aidl \
566 frameworks/base/core/java/android/app/PendingIntent.aidl \
567 frameworks/base/core/java/android/app/AlarmManager.aidl \
568 frameworks/base/core/java/android/app/SearchableInfo.aidl \
569 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700570 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
571 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000572 frameworks/base/core/java/android/app/job/JobParameters.aidl \
573 frameworks/base/core/java/android/app/job/JobInfo.aidl \
574 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
575 frameworks/base/core/java/android/content/ClipDescription.aidl \
576 frameworks/base/core/java/android/content/IntentFilter.aidl \
577 frameworks/base/core/java/android/content/Intent.aidl \
578 frameworks/base/core/java/android/content/res/Configuration.aidl \
579 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
580 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
581 frameworks/base/core/java/android/content/ClipData.aidl \
582 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
583 frameworks/base/core/java/android/content/SyncRequest.aidl \
584 frameworks/base/core/java/android/content/PeriodicSync.aidl \
585 frameworks/base/core/java/android/content/SyncResult.aidl \
586 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
587 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
588 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
589 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
590 frameworks/base/core/java/android/content/pm/Signature.aidl \
591 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
592 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
593 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
594 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
595 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
596 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
597 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
598 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
599 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
600 frameworks/base/core/java/android/content/ComponentName.aidl \
601 frameworks/base/core/java/android/content/SyncStats.aidl \
602 frameworks/base/core/java/android/content/ContentValues.aidl \
603 frameworks/base/core/java/android/content/SyncInfo.aidl \
604 frameworks/base/core/java/android/content/IntentSender.aidl \
605 frameworks/base/core/java/android/widget/RemoteViews.aidl \
606 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
607 frameworks/base/core/java/android/nfc/Tag.aidl \
608 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
609 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
610 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
611 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
612 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
613 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
614 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
615 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
616 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
617 frameworks/base/core/java/android/database/CursorWindow.aidl \
618
619gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
620$(gen): PRIVATE_SRC_FILES := $(aidl_files)
621ALL_SDK_FILES += $(gen)
622$(gen): $(aidl_files) | $(AIDL)
623 @echo Aidl Preprocess: $@
624 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
625
626# the documentation
627# ============================================================
628
629# TODO: deal with com/google/android/googleapps
630packages_to_document := \
631 android \
632 javax/microedition/khronos \
633 org/apache/http/conn \
634 org/apache/http/params
635
636
637# Search through the base framework dirs for these packages.
638# The result will be relative to frameworks/base.
639fwbase_dirs_to_document := \
640 test-runner/src \
641 $(patsubst $(LOCAL_PATH)/%,%, \
642 $(wildcard \
643 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
644 $(addprefix $(dir)/, $(packages_to_document)) \
645 ) \
646 ) \
647 )
648
649# include definition of libcore_to_document
650include libcore/Docs.mk
651
652# include definition of junit_to_document
653include external/junit/Common.mk
654
655non_base_dirs := \
656 ../opt/telephony/src/java/android/provider \
657 ../opt/telephony/src/java/android/telephony \
658 ../opt/telephony/src/java/android/telephony/gsm \
659 ../opt/net/voip/src/java/android/net/rtp \
660 ../opt/net/voip/src/java/android/net/sip
661
662# These are relative to frameworks/base
663dirs_to_check_apis := \
664 $(fwbase_dirs_to_document) \
665 $(non_base_dirs)
666
667# These are relative to frameworks/base
668# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
669dirs_to_document := \
670 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700671 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
672 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000673
674# These are relative to frameworks/base
675html_dirs := \
676 $(FRAMEWORKS_BASE_SUBDIRS) \
677 $(non_base_dirs)
678
679# Common sources for doc check and api check
680common_src_files := \
681 $(call find-other-html-files, $(html_dirs)) \
682 $(addprefix ../../libcore/, $(libcore_to_document)) \
683 $(addprefix ../../external/junit/, $(junit_to_document))
684
685# These are relative to frameworks/base
686framework_docs_LOCAL_SRC_FILES := \
687 $(call find-other-java-files, $(dirs_to_document)) \
688 $(common_src_files)
689
690# These are relative to frameworks/base
691framework_docs_LOCAL_API_CHECK_SRC_FILES := \
692 $(call find-other-java-files, $(dirs_to_check_apis)) \
693 $(common_src_files)
694
695# This is used by ide.mk as the list of source files that are
696# always included.
697INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
698
699framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
700 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
701
702framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
703 $(framework_res_source_path)/android/R.java \
704 $(framework_res_source_path)/android/Manifest.java \
705 $(framework_res_source_path)/com/android/internal/R.java
706
707framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
708 core-libart \
709 conscrypt \
710 bouncycastle \
711 okhttp \
712 ext \
713 framework \
714 telephony-common \
715 voip-common
716
717framework_docs_LOCAL_JAVA_LIBRARIES := \
718 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
719 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
720
721framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
722framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
723# The since flag (-since N.xml API_LEVEL) is used to add API Level information
724# to the reference documentation. Must be in order of oldest to newest.
725#
726# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
727# not be referenced in the documentation.
728framework_docs_LOCAL_DROIDDOC_OPTIONS := \
729 -knowntags ./frameworks/base/docs/knowntags.txt \
730 -hidePackage com.android.org.conscrypt \
731 -since $(SRC_API_DIR)/1.xml 1 \
732 -since $(SRC_API_DIR)/2.xml 2 \
733 -since $(SRC_API_DIR)/3.xml 3 \
734 -since $(SRC_API_DIR)/4.xml 4 \
735 -since $(SRC_API_DIR)/5.xml 5 \
736 -since $(SRC_API_DIR)/6.xml 6 \
737 -since $(SRC_API_DIR)/7.xml 7 \
738 -since $(SRC_API_DIR)/8.xml 8 \
739 -since $(SRC_API_DIR)/9.xml 9 \
740 -since $(SRC_API_DIR)/10.xml 10 \
741 -since $(SRC_API_DIR)/11.xml 11 \
742 -since $(SRC_API_DIR)/12.xml 12 \
743 -since $(SRC_API_DIR)/13.xml 13 \
744 -since $(SRC_API_DIR)/14.txt 14 \
745 -since $(SRC_API_DIR)/15.txt 15 \
746 -since $(SRC_API_DIR)/16.txt 16 \
747 -since $(SRC_API_DIR)/17.txt 17 \
748 -since $(SRC_API_DIR)/18.txt 18 \
749 -since $(SRC_API_DIR)/19.txt 19 \
750 -since $(SRC_API_DIR)/20.txt 20 \
751 -since $(SRC_API_DIR)/21.txt 21 \
752 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700753 -since $(SRC_API_DIR)/23.txt 23 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000754 -werror -hide 111 -hide 113 \
755 -overview $(LOCAL_PATH)/core/java/overview.html
756
757framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
758 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
759
760framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
761 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
762 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
763 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
764
765framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
766 frameworks/base/docs/knowntags.txt
767
768samples_dir := development/samples/browseable
769
770# Whitelist of valid groups, used for default TOC grouping. Each sample must
771# belong to one (and only one) group. Assign samples to groups by setting
772# a sample.group var to one of these groups in the sample's _index.jd.
773sample_groups := -samplegroup Admin \
774 -samplegroup Background \
775 -samplegroup Connectivity \
776 -samplegroup Content \
777 -samplegroup Input \
778 -samplegroup Media \
779 -samplegroup Notification \
780 -samplegroup RenderScript \
781 -samplegroup Security \
782 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700783 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000784 -samplegroup Testing \
785 -samplegroup UI \
786 -samplegroup Views \
787 -samplegroup Wearable
788
789## SDK version identifiers used in the published docs
790 # major[.minor] version for current SDK. (full releases only)
Joe Fernandez1827e322015-08-12 19:45:22 -0700791framework_docs_SDK_VERSION:=6.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000792 # release version (ie "Release x") (full releases only)
793framework_docs_SDK_REL_ID:=1
794
795framework_docs_LOCAL_DROIDDOC_OPTIONS += \
796 -hdf sdk.version $(framework_docs_SDK_VERSION) \
797 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
798 -hdf sdk.preview 0
799
800# ==== the api stubs and current.xml ===========================
801include $(CLEAR_VARS)
802
803LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
804LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
805LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
806LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
807LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
808LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
809LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
810LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
811
812LOCAL_MODULE := api-stubs
813
814LOCAL_DROIDDOC_OPTIONS:=\
815 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
816 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src \
817 -api $(INTERNAL_PLATFORM_API_FILE) \
818 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
819 -nodocs
820
821LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
822
823LOCAL_UNINSTALLABLE_MODULE := true
824
825include $(BUILD_DROIDDOC)
826
827# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
828$(full_target): $(framework_built) $(gen)
829$(INTERNAL_PLATFORM_API_FILE): $(full_target)
830$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
831
832# ==== the system api stubs ===================================
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 := system-api-stubs
845
846LOCAL_DROIDDOC_OPTIONS:=\
847 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
848 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src \
849 -showAnnotation android.annotation.SystemApi \
850 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
851 -removedApi $(INTERNAL_PLATFORM_SYSTEM_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_SYSTEM_API_FILE): $(full_target)
863$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
864
865# ==== check javadoc comments but don't generate docs ========
866include $(CLEAR_VARS)
867
868LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
869LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
870LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_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_ADDITIONAL_JAVA_DIR)
875LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
876
877LOCAL_MODULE := doc-comment-check
878
879LOCAL_DROIDDOC_OPTIONS:=\
880 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
881 -parsecomments
882
883LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
884
885LOCAL_UNINSTALLABLE_MODULE := true
886
887include $(BUILD_DROIDDOC)
888
889# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
890$(full_target): $(framework_built) $(gen)
891
892# Run this for checkbuild
893checkbuild: doc-comment-check-docs
894# Check comment when you are updating the API
895update-api: doc-comment-check-docs
896
897# ==== static html in the sdk ==================================
898include $(CLEAR_VARS)
899
900LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
901LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
902LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
903LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
904LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
905LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
906LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
907LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
908
909LOCAL_MODULE := offline-sdk
910
911LOCAL_DROIDDOC_OPTIONS:=\
912 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
913 -offlinemode \
914 -title "Android SDK" \
915 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
916 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
917 -sdkvalues $(OUT_DOCS) \
918 -hdf android.whichdoc offline
919
920LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
921
922include $(BUILD_DROIDDOC)
923
924static_doc_index_redirect := $(out_dir)/index.html
925$(static_doc_index_redirect): \
926 $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
927 $(hide) mkdir -p $(dir $@)
928 $(hide) $(ACP) $< $@
929
930$(full_target): $(static_doc_index_redirect)
931$(full_target): $(framework_built)
932
smain@google.comf8161c02016-03-07 18:38:08 -0800933# ==== static html in the sdk, reference only ===============================
934include $(CLEAR_VARS)
935
936LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
937LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
938LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
939LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
940LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
941LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
942LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
943LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
944
945LOCAL_MODULE := offline-refonly
946
947LOCAL_DROIDDOC_OPTIONS:=\
948 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
949 -offlinemode \
950 -title "Android SDK" \
951 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
952 -sdkvalues $(OUT_DOCS) \
953 -hdf android.whichdoc offline \
954 -referenceonly
955
956LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-refonly
957
958include $(BUILD_DROIDDOC)
959
960static_doc_index_redirect := $(out_dir)/index.html
961$(static_doc_index_redirect): \
smain@google.comaa6aa292016-03-09 14:16:07 -0800962 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
smain@google.comf8161c02016-03-07 18:38:08 -0800963 $(hide) mkdir -p $(dir $@)
964 $(hide) $(ACP) $< $@
965
966$(full_target): $(static_doc_index_redirect)
967$(full_target): $(framework_built)
968
Bart Searsa8cc0582015-05-07 03:23:20 +0000969# ==== docs for the web (on the androiddevdocs app engine server) =======================
970include $(CLEAR_VARS)
971
972LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
973LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
974LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
975LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
976LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
977LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
978LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
979LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
980LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
981LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
982
983LOCAL_MODULE := online-sdk
984
985LOCAL_DROIDDOC_OPTIONS:= \
986 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
987 -toroot / \
988 -hdf android.whichdoc online \
989 $(sample_groups) \
990 -hdf android.hasSamples true \
991 -samplesdir $(samples_dir)
992
993LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
994
995include $(BUILD_DROIDDOC)
996
997# ==== docs for the web (on the androiddevdocs app engine server) =======================
998# TODO: Fix the System API docs build.
999ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1000include $(CLEAR_VARS)
1001
1002LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1003LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1004LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1005LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1006LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1007LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1008LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1009LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1010LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1011LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1012
1013LOCAL_MODULE := online-system-api-sdk
1014
1015LOCAL_DROIDDOC_OPTIONS:= \
1016 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1017 -showAnnotation android.annotation.SystemApi \
1018 -title "Android SDK - Including system APIs." \
1019 -toroot / \
1020 -hdf android.whichdoc online \
1021 $(sample_groups) \
1022 -hdf android.hasSamples true \
1023 -samplesdir $(samples_dir)
1024
1025LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1026# Don't build by default
1027LOCAL_UNINSTALLABLE_MODULE := true
1028
1029include $(BUILD_DROIDDOC)
1030endif # online-system-api-sdk-docs in make command line.
1031
1032# ==== docs for the web (on the devsite app engine server) =======================
1033include $(CLEAR_VARS)
1034LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1035LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1036LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1037LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1038LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1039LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1040LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1041LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1042LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1043# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001044LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001045
1046LOCAL_MODULE := ds
1047
1048LOCAL_DROIDDOC_OPTIONS:= \
1049 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1050 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001051 -hdf devsite true \
Bart Searsa8cc0582015-05-07 03:23:20 +00001052 -toroot / \
1053 -hdf android.whichdoc online \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001054 $(sample_groups) \
Amanda Kassayc3651f42016-02-16 12:00:09 -05001055 -useUpdatedTemplates \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001056 -hdf android.hasSamples true \
Dirk Doughertydfa366d2016-04-29 18:06:11 -07001057 -yaml _book.yaml \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001058 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001059
Amanda Kassayc3651f42016-02-16 12:00:09 -05001060LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001061
1062include $(BUILD_DROIDDOC)
1063
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001064# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001065include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001066
Bart Searsa8cc0582015-05-07 03:23:20 +00001067LOCAL_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)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001073LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001074LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1075LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001076LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001077
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001078LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001079
1080LOCAL_DROIDDOC_OPTIONS:= \
1081 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1082 -toroot / \
1083 -hdf android.whichdoc online \
1084 $(sample_groups) \
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001085 -useUpdatedTemplates \
Bart Searsa8cc0582015-05-07 03:23:20 +00001086 -hdf android.hasSamples true \
1087 -samplesdir $(samples_dir)
1088
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001089LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001090
1091include $(BUILD_DROIDDOC)
1092
Bart Searsa8cc0582015-05-07 03:23:20 +00001093# ==== docs that have all of the stuff that's @hidden =======================
1094include $(CLEAR_VARS)
1095
1096LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1097LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1098LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1099LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1100LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1101LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1102LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1103LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1104
1105LOCAL_MODULE := hidden
1106LOCAL_DROIDDOC_OPTIONS:=\
1107 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1108 -title "Android SDK - Including hidden APIs."
1109# -hidden
1110
1111LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1112
1113include $(BUILD_DROIDDOC)
1114
1115# Build ext.jar
1116# ============================================================
1117
1118ext_dirs := \
1119 ../../external/nist-sip/java \
1120 ../../external/tagsoup/src \
1121
1122ext_src_files := $(call all-java-files-under,$(ext_dirs))
1123
1124# ==== the library =========================================
1125include $(CLEAR_VARS)
1126
1127LOCAL_SRC_FILES := $(ext_src_files)
1128
1129LOCAL_NO_STANDARD_LIBRARIES := true
1130LOCAL_JAVA_LIBRARIES := core-libart
1131LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1132LOCAL_MODULE_TAGS := optional
1133LOCAL_MODULE := ext
1134
1135LOCAL_DX_FLAGS := --core-library
1136
1137include $(BUILD_JAVA_LIBRARY)
1138
1139
1140# Include subdirectory makefiles
1141# ============================================================
1142
1143# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1144# team really wants is to build the stuff defined by this makefile.
1145ifeq (,$(ONE_SHOT_MAKEFILE))
1146include $(call first-makefiles-under,$(LOCAL_PATH))
1147endif
1148
1149endif # ANDROID_BUILD_EMBEDDED