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