blob: dc6c4ed6088648b5ca95b6050b4b52f4b1cbf5e1 [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 += \
Michal Karpinski6235a942016-03-15 12:07:23 +000045 core/java/android/app/admin/SecurityLogTags.logtags \
Bart Searsa8cc0582015-05-07 03:23:20 +000046 core/java/android/content/EventLogTags.logtags \
47 core/java/android/speech/tts/EventLogTags.logtags \
48 core/java/android/webkit/EventLogTags.logtags \
49 core/java/com/android/internal/logging/EventLogTags.logtags \
50
51## READ ME: ########################################################
52##
53## When updating this list of aidl files, consider if that aidl is
54## part of the SDK API. If it is, also add it to the list below that
55## is preprocessed and distributed with the SDK. This list should
56## not contain any aidl files for parcelables, but the one below should
57## if you intend for 3rd parties to be able to send those objects
58## across process boundaries.
59##
60## READ ME: ########################################################
61LOCAL_SRC_FILES += \
62 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
63 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
64 core/java/android/accounts/IAccountManager.aidl \
65 core/java/android/accounts/IAccountManagerResponse.aidl \
66 core/java/android/accounts/IAccountAuthenticator.aidl \
67 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
68 core/java/android/app/IActivityContainer.aidl \
69 core/java/android/app/IActivityContainerCallback.aidl \
70 core/java/android/app/IActivityController.aidl \
71 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070072 core/java/android/app/IAlarmCompleteListener.aidl \
73 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000074 core/java/android/app/IAlarmManager.aidl \
75 core/java/android/app/IAppTask.aidl \
76 core/java/android/app/ITaskStackListener.aidl \
77 core/java/android/app/IBackupAgent.aidl \
78 core/java/android/app/IInstrumentationWatcher.aidl \
79 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000080 core/java/android/app/IProcessObserver.aidl \
81 core/java/android/app/ISearchManager.aidl \
82 core/java/android/app/ISearchManagerCallback.aidl \
83 core/java/android/app/IServiceConnection.aidl \
84 core/java/android/app/IStopUserCallback.aidl \
85 core/java/android/app/job/IJobCallback.aidl \
86 core/java/android/app/job/IJobScheduler.aidl \
87 core/java/android/app/job/IJobService.aidl \
88 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070089 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000090 core/java/android/app/IUiAutomationConnection.aidl \
91 core/java/android/app/IUiModeManager.aidl \
92 core/java/android/app/IUserSwitchObserver.aidl \
93 core/java/android/app/IWallpaperManager.aidl \
94 core/java/android/app/IWallpaperManagerCallback.aidl \
95 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -070096 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000097 core/java/android/app/trust/ITrustManager.aidl \
98 core/java/android/app/trust/ITrustListener.aidl \
99 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100100 core/java/android/app/backup/IBackupObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000101 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
102 core/java/android/app/backup/IRestoreObserver.aidl \
103 core/java/android/app/backup/IRestoreSession.aidl \
104 core/java/android/app/usage/IUsageStatsManager.aidl \
105 core/java/android/bluetooth/IBluetooth.aidl \
106 core/java/android/bluetooth/IBluetoothA2dp.aidl \
107 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
108 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
109 core/java/android/bluetooth/IBluetoothCallback.aidl \
110 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
111 core/java/android/bluetooth/IBluetoothHeadset.aidl \
112 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
113 core/java/android/bluetooth/IBluetoothHealth.aidl \
114 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
115 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
116 core/java/android/bluetooth/IBluetoothPan.aidl \
117 core/java/android/bluetooth/IBluetoothManager.aidl \
118 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
119 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800120 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000121 core/java/android/bluetooth/IBluetoothMap.aidl \
122 core/java/android/bluetooth/IBluetoothSap.aidl \
123 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
124 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
125 core/java/android/bluetooth/IBluetoothGatt.aidl \
126 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
127 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
128 core/java/android/content/IClipboard.aidl \
129 core/java/android/content/IContentService.aidl \
130 core/java/android/content/IIntentReceiver.aidl \
131 core/java/android/content/IIntentSender.aidl \
132 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
133 core/java/android/content/IRestrictionsManager.aidl \
134 core/java/android/content/ISyncAdapter.aidl \
135 core/java/android/content/ISyncContext.aidl \
136 core/java/android/content/ISyncServiceAdapter.aidl \
137 core/java/android/content/ISyncStatusObserver.aidl \
138 core/java/android/content/pm/ILauncherApps.aidl \
139 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800140 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000141 core/java/android/content/pm/IPackageDataObserver.aidl \
142 core/java/android/content/pm/IPackageDeleteObserver.aidl \
143 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
144 core/java/android/content/pm/IPackageInstallObserver.aidl \
145 core/java/android/content/pm/IPackageInstallObserver2.aidl \
146 core/java/android/content/pm/IPackageInstaller.aidl \
147 core/java/android/content/pm/IPackageInstallerCallback.aidl \
148 core/java/android/content/pm/IPackageInstallerSession.aidl \
149 core/java/android/content/pm/IPackageManager.aidl \
150 core/java/android/content/pm/IPackageMoveObserver.aidl \
151 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700152 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800153 core/java/android/content/pm/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000154 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800155 ../av/camera/aidl/android/hardware/ICameraService.aidl \
156 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
157 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
158 ../av/camera/aidl/android/hardware/ICamera.aidl \
159 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
160 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
161 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000162 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000163 core/java/android/hardware/ISerialManager.aidl \
164 core/java/android/hardware/display/IDisplayManager.aidl \
165 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
166 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700167 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
168 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000169 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700170 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000171 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
172 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
173 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
174 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
175 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
176 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
177 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
178 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
179 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
180 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
181 core/java/android/hardware/input/IInputManager.aidl \
182 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100183 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000184 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700185 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000186 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
187 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
188 core/java/android/hardware/location/IFusedLocationHardware.aidl \
189 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
190 core/java/android/hardware/location/IGeofenceHardware.aidl \
191 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
192 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800193 core/java/android/hardware/location/IContextHubCallback.aidl \
194 core/java/android/hardware/location/IContextHubService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000195 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
196 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400197 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000198 core/java/android/net/IConnectivityManager.aidl \
Pavel Zhamaitsiak02b3e6b2016-02-03 10:39:44 -0800199 core/java/android/net/IConnectivityMetricsLogger.aidl \
200 core/java/android/net/IConnectivityMetricsLoggerSubscriber.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000201 core/java/android/net/IEthernetManager.aidl \
202 core/java/android/net/IEthernetServiceListener.aidl \
203 core/java/android/net/INetworkManagementEventObserver.aidl \
204 core/java/android/net/INetworkPolicyListener.aidl \
205 core/java/android/net/INetworkPolicyManager.aidl \
206 core/java/android/net/INetworkScoreCache.aidl \
207 core/java/android/net/INetworkScoreService.aidl \
208 core/java/android/net/INetworkStatsService.aidl \
209 core/java/android/net/INetworkStatsSession.aidl \
210 core/java/android/net/nsd/INsdManager.aidl \
211 core/java/android/nfc/IAppCallback.aidl \
212 core/java/android/nfc/INfcAdapter.aidl \
213 core/java/android/nfc/INfcAdapterExtras.aidl \
214 core/java/android/nfc/INfcTag.aidl \
215 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900216 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000217 core/java/android/nfc/INfcUnlockHandler.aidl \
218 core/java/android/os/IBatteryPropertiesListener.aidl \
219 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
220 core/java/android/os/ICancellationSignal.aidl \
221 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100222 core/java/android/os/IHardwarePropertiesManager.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800223 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000224 core/java/android/os/IMessenger.aidl \
225 core/java/android/os/INetworkActivityListener.aidl \
226 core/java/android/os/INetworkManagementService.aidl \
227 core/java/android/os/IPermissionController.aidl \
228 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600229 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000230 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800231 core/java/android/os/IRecoverySystem.aidl \
232 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000233 core/java/android/os/IRemoteCallback.aidl \
234 core/java/android/os/ISchedulingPolicyService.aidl \
235 core/java/android/os/IUpdateLock.aidl \
236 core/java/android/os/IUserManager.aidl \
237 core/java/android/os/IVibratorService.aidl \
238 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700239 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000240 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
241 core/java/android/service/carrier/ICarrierMessagingService.aidl \
242 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
243 core/java/android/service/notification/INotificationListener.aidl \
244 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
245 core/java/android/service/notification/IConditionListener.aidl \
246 core/java/android/service/notification/IConditionProvider.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800247 core/java/android/service/vr/IVrListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000248 core/java/android/print/ILayoutResultCallback.aidl \
249 core/java/android/print/IPrinterDiscoveryObserver.aidl \
250 core/java/android/print/IPrintDocumentAdapter.aidl \
251 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
252 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800253 core/java/android/print/IPrintServicesChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000254 core/java/android/print/IPrintManager.aidl \
255 core/java/android/print/IPrintSpooler.aidl \
256 core/java/android/print/IPrintSpoolerCallbacks.aidl \
257 core/java/android/print/IPrintSpoolerClient.aidl \
258 core/java/android/print/IWriteResultCallback.aidl \
259 core/java/android/printservice/IPrintService.aidl \
260 core/java/android/printservice/IPrintServiceClient.aidl \
261 core/java/android/service/dreams/IDreamManager.aidl \
262 core/java/android/service/dreams/IDreamService.aidl \
263 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
264 core/java/android/service/trust/ITrustAgentService.aidl \
265 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
266 core/java/android/service/voice/IVoiceInteractionService.aidl \
267 core/java/android/service/voice/IVoiceInteractionSession.aidl \
268 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
269 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
270 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
271 core/java/android/service/wallpaper/IWallpaperService.aidl \
272 core/java/android/service/chooser/IChooserTargetService.aidl \
273 core/java/android/service/chooser/IChooserTargetResult.aidl \
274 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
275 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
276 core/java/android/view/accessibility/IAccessibilityManager.aidl \
277 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
278 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100279 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000280 core/java/android/view/IAssetAtlas.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100281 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000282 core/java/android/view/IGraphicsStats.aidl \
283 core/java/android/view/IInputFilter.aidl \
284 core/java/android/view/IInputFilterHost.aidl \
285 core/java/android/view/IOnKeyguardExitResult.aidl \
286 core/java/android/view/IRotationWatcher.aidl \
287 core/java/android/view/IWindow.aidl \
288 core/java/android/view/IWindowFocusObserver.aidl \
289 core/java/android/view/IWindowId.aidl \
290 core/java/android/view/IWindowManager.aidl \
291 core/java/android/view/IWindowSession.aidl \
292 core/java/android/view/IWindowSessionCallback.aidl \
293 core/java/android/webkit/IWebViewUpdateService.aidl \
294 core/java/android/speech/IRecognitionListener.aidl \
295 core/java/android/speech/IRecognitionService.aidl \
296 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
297 core/java/android/speech/tts/ITextToSpeechService.aidl \
298 core/java/com/android/internal/app/IAppOpsCallback.aidl \
299 core/java/com/android/internal/app/IAppOpsService.aidl \
300 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
301 core/java/com/android/internal/app/IBatteryStats.aidl \
Todd Kennedyb8a279e2015-11-18 09:59:47 -0800302 core/java/com/android/internal/app/IEphemeralResolver.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800303 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000304 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
305 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
306 core/java/com/android/internal/app/IVoiceInteractor.aidl \
307 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
308 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
309 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700310 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000311 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
312 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
313 core/java/com/android/internal/backup/IBackupTransport.aidl \
314 core/java/com/android/internal/backup/IObbBackupService.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700315 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000316 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
317 core/java/com/android/internal/policy/IKeyguardService.aidl \
318 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800319 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000320 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
321 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
322 core/java/com/android/internal/os/IResultReceiver.aidl \
323 core/java/com/android/internal/statusbar/IStatusBar.aidl \
324 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
325 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
326 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
327 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
328 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
329 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev9149d2b2015-12-15 12:16:28 -0800330 core/java/com/android/internal/view/IDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000331 core/java/com/android/internal/view/IInputContext.aidl \
332 core/java/com/android/internal/view/IInputContextCallback.aidl \
333 core/java/com/android/internal/view/IInputMethod.aidl \
334 core/java/com/android/internal/view/IInputMethodClient.aidl \
335 core/java/com/android/internal/view/IInputMethodManager.aidl \
336 core/java/com/android/internal/view/IInputMethodSession.aidl \
337 core/java/com/android/internal/view/IInputSessionCallback.aidl \
338 core/java/com/android/internal/widget/ILockSettings.aidl \
339 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
340 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
341 keystore/java/android/security/IKeyChainAliasCallback.aidl \
342 keystore/java/android/security/IKeyChainService.aidl \
343 location/java/android/location/ICountryDetector.aidl \
344 location/java/android/location/ICountryListener.aidl \
345 location/java/android/location/IFusedProvider.aidl \
346 location/java/android/location/IGeocodeProvider.aidl \
347 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800348 location/java/android/location/IGnssStatusListener.aidl \
349 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800350 location/java/android/location/IGnssMeasurementsListener.aidl \
351 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000352 location/java/android/location/ILocationListener.aidl \
353 location/java/android/location/ILocationManager.aidl \
354 location/java/android/location/IFusedGeofenceHardware.aidl \
355 location/java/android/location/IGpsGeofenceHardware.aidl \
356 location/java/android/location/INetInitiatedListener.aidl \
357 location/java/com/android/internal/location/ILocationProvider.aidl \
358 media/java/android/media/IAudioService.aidl \
359 media/java/android/media/IAudioFocusDispatcher.aidl \
360 media/java/android/media/IAudioRoutesObserver.aidl \
361 media/java/android/media/IMediaHTTPConnection.aidl \
362 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900363 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000364 media/java/android/media/IMediaRouterClient.aidl \
365 media/java/android/media/IMediaRouterService.aidl \
366 media/java/android/media/IMediaScannerListener.aidl \
367 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800368 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000369 media/java/android/media/IRemoteDisplayCallback.aidl \
370 media/java/android/media/IRemoteDisplayProvider.aidl \
371 media/java/android/media/IRemoteVolumeController.aidl \
372 media/java/android/media/IRemoteVolumeObserver.aidl \
373 media/java/android/media/IRingtonePlayer.aidl \
374 media/java/android/media/IVolumeController.aidl \
375 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700376 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000377 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700378 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000379 media/java/android/media/midi/IMidiDeviceServer.aidl \
380 media/java/android/media/midi/IMidiManager.aidl \
381 media/java/android/media/projection/IMediaProjection.aidl \
382 media/java/android/media/projection/IMediaProjectionCallback.aidl \
383 media/java/android/media/projection/IMediaProjectionManager.aidl \
384 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
385 media/java/android/media/session/IActiveSessionsListener.aidl \
386 media/java/android/media/session/ISessionController.aidl \
387 media/java/android/media/session/ISessionControllerCallback.aidl \
388 media/java/android/media/session/ISession.aidl \
389 media/java/android/media/session/ISessionCallback.aidl \
390 media/java/android/media/session/ISessionManager.aidl \
391 media/java/android/media/tv/ITvInputClient.aidl \
392 media/java/android/media/tv/ITvInputHardware.aidl \
393 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
394 media/java/android/media/tv/ITvInputManager.aidl \
395 media/java/android/media/tv/ITvInputManagerCallback.aidl \
396 media/java/android/media/tv/ITvInputService.aidl \
397 media/java/android/media/tv/ITvInputServiceCallback.aidl \
398 media/java/android/media/tv/ITvInputSession.aidl \
399 media/java/android/media/tv/ITvInputSessionCallback.aidl \
400 media/java/android/service/media/IMediaBrowserService.aidl \
401 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800402 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
403 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000404 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
405 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
406 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
407 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
408 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
409 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
410 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
411 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
412 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
413 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
414 telephony/java/com/android/ims/internal/IImsConfig.aidl \
415 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
416 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
417 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800418 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
419 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000420 telephony/java/com/android/ims/internal/IImsService.aidl \
421 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
422 telephony/java/com/android/ims/internal/IImsUt.aidl \
423 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
424 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
425 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700426 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
427 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
428 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
429 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
430 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
431 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000432 telephony/java/com/android/ims/ImsConfigListener.aidl \
433 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
434 telephony/java/com/android/internal/telephony/IMms.aidl \
435 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
436 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
437 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
438 telephony/java/com/android/internal/telephony/ISms.aidl \
439 telephony/java/com/android/internal/telephony/ISub.aidl \
440 telephony/java/com/android/internal/telephony/ITelephony.aidl \
Pavel Zhamaitsiak14ef0952016-01-04 15:54:31 -0800441 telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl \
Pavel Zhamaitsiaked0eecf2016-01-27 18:00:17 -0800442 telephony/java/com/android/internal/telephony/ITelephonyDebugSubscriber.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000443 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
444 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
445 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen20d329b2015-09-29 13:49:02 -0700446 wifi/java/android/net/wifi/nan/IWifiNanEventListener.aidl \
447 wifi/java/android/net/wifi/nan/IWifiNanManager.aidl \
448 wifi/java/android/net/wifi/nan/IWifiNanSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000449 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
450 wifi/java/android/net/wifi/IWifiScanner.aidl \
451 wifi/java/android/net/wifi/IRttManager.aidl \
452 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
453 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
454 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500455 core/java/android/service/quicksettings/IQSService.aidl \
456 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000457
Tao Baobdc77362016-01-19 15:52:28 -0800458# The following are native binders that need to go with the native component
459# at system/update_engine/binder_bindings/. Use relative path to refer to them.
460LOCAL_SRC_FILES += \
461 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
462 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
463
464LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
465
Bart Searsa8cc0582015-05-07 03:23:20 +0000466# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800467LOCAL_AIDL_INCLUDES += \
468 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
469 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000470
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800471LOCAL_AIDL_INCLUDES += \
472 frameworks/av/camera/aidl \
473 frameworks/native/aidl/gui
474
Bart Searsa8cc0582015-05-07 03:23:20 +0000475LOCAL_INTERMEDIATE_SOURCES := \
476 $(framework_res_source_path)/android/R.java \
477 $(framework_res_source_path)/android/Manifest.java \
478 $(framework_res_source_path)/com/android/internal/R.java
479
480LOCAL_NO_STANDARD_LIBRARIES := true
Neil Fuller801f90e2016-02-18 13:57:43 +0000481LOCAL_JAVA_LIBRARIES := core-oj core-libart core-lambda-stubs conscrypt okhttp core-junit bouncycastle ext
Chris Wren77781d32016-01-11 14:49:26 -0500482LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
Bart Searsa8cc0582015-05-07 03:23:20 +0000483
484LOCAL_MODULE := framework
485
486LOCAL_DX_FLAGS := --core-library --multi-dex
487LOCAL_JACK_FLAGS := --multi-dex native
488
489LOCAL_RMTYPEDEFS := true
490
491include $(BUILD_JAVA_LIBRARY)
492framework_module := $(LOCAL_INSTALLED_MODULE)
493
494# Make sure that R.java and Manifest.java are built before we build
495# the source for this library.
496framework_res_R_stamp := \
497 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
498$(full_classes_compiled_jar): $(framework_res_R_stamp)
499$(built_dex_intermediate): $(framework_res_R_stamp)
500
501$(framework_module): | $(dir $(framework_module))framework-res.apk
502
503framework_built := $(call java-lib-deps,framework)
504
505# Copy AIDL files to be preprocessed and included in the SDK,
506# specified relative to the root of the build tree.
507# ============================================================
508include $(CLEAR_VARS)
509
510aidl_files := \
511 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
512 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
513 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
514 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
515 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
516 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700517 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000518 frameworks/base/location/java/android/location/Location.aidl \
519 frameworks/base/location/java/android/location/Address.aidl \
520 frameworks/base/location/java/android/location/Criteria.aidl \
521 frameworks/base/media/java/android/media/MediaMetadata.aidl \
522 frameworks/base/media/java/android/media/MediaDescription.aidl \
523 frameworks/base/media/java/android/media/Rating.aidl \
524 frameworks/base/media/java/android/media/AudioAttributes.aidl \
525 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
526 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
527 frameworks/base/media/java/android/media/session/MediaSession.aidl \
528 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
529 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
530 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
531 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen20d329b2015-09-29 13:49:02 -0700532 frameworks/base/wifi/java/android/net/wifi/nan/ConfigRequest.aidl \
533 frameworks/base/wifi/java/android/net/wifi/nan/PublishData.aidl \
534 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeData.aidl \
535 frameworks/base/wifi/java/android/net/wifi/nan/PublishSettings.aidl \
536 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeSettings.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000537 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
538 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
539 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
540 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
541 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
542 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
543 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
544 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
545 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800546 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000547 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
548 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
549 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
550 frameworks/base/graphics/java/android/graphics/Region.aidl \
551 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
552 frameworks/base/graphics/java/android/graphics/Point.aidl \
553 frameworks/base/graphics/java/android/graphics/PointF.aidl \
554 frameworks/base/graphics/java/android/graphics/RectF.aidl \
555 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800556 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000557 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
558 frameworks/base/core/java/android/accounts/Account.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100559 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000560 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
561 frameworks/base/core/java/android/print/PageRange.aidl \
562 frameworks/base/core/java/android/print/PrintAttributes.aidl \
563 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
564 frameworks/base/core/java/android/print/PrinterId.aidl \
565 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
566 frameworks/base/core/java/android/print/PrinterInfo.aidl \
567 frameworks/base/core/java/android/print/PrintJobId.aidl \
568 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
569 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
570 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
571 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
572 frameworks/base/core/java/android/os/Messenger.aidl \
573 frameworks/base/core/java/android/os/PatternMatcher.aidl \
574 frameworks/base/core/java/android/os/Message.aidl \
575 frameworks/base/core/java/android/os/UserHandle.aidl \
576 frameworks/base/core/java/android/os/ParcelUuid.aidl \
577 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
578 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000579 frameworks/base/core/java/android/os/WorkSource.aidl \
580 frameworks/base/core/java/android/os/DropBoxManager.aidl \
581 frameworks/base/core/java/android/os/Bundle.aidl \
582 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
583 frameworks/base/core/java/android/net/Network.aidl \
584 frameworks/base/core/java/android/net/RouteInfo.aidl \
585 frameworks/base/core/java/android/net/NetworkInfo.aidl \
586 frameworks/base/core/java/android/net/IpPrefix.aidl \
587 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
588 frameworks/base/core/java/android/net/DhcpInfo.aidl \
589 frameworks/base/core/java/android/net/ProxyInfo.aidl \
590 frameworks/base/core/java/android/net/LinkProperties.aidl \
591 frameworks/base/core/java/android/net/Uri.aidl \
592 frameworks/base/core/java/android/net/NetworkRequest.aidl \
593 frameworks/base/core/java/android/net/LinkAddress.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700594 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000595 frameworks/base/core/java/android/view/InputDevice.aidl \
596 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800597 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700598 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000599 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
600 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
601 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
602 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
603 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
604 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
605 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
606 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
607 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
608 frameworks/base/core/java/android/view/DragEvent.aidl \
609 frameworks/base/core/java/android/view/KeyEvent.aidl \
610 frameworks/base/core/java/android/view/WindowManager.aidl \
611 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
612 frameworks/base/core/java/android/view/MotionEvent.aidl \
613 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
614 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
615 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
616 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
617 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
618 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
619 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
620 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
621 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
622 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
623 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
624 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
625 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
626 frameworks/base/core/java/android/speech/tts/Voice.aidl \
627 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000628 frameworks/base/core/java/android/app/Notification.aidl \
629 frameworks/base/core/java/android/app/NotificationManager.aidl \
630 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
631 frameworks/base/core/java/android/app/AppOpsManager.aidl \
632 frameworks/base/core/java/android/app/ActivityManager.aidl \
633 frameworks/base/core/java/android/app/PendingIntent.aidl \
634 frameworks/base/core/java/android/app/AlarmManager.aidl \
635 frameworks/base/core/java/android/app/SearchableInfo.aidl \
636 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700637 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
638 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000639 frameworks/base/core/java/android/app/job/JobParameters.aidl \
640 frameworks/base/core/java/android/app/job/JobInfo.aidl \
641 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
642 frameworks/base/core/java/android/content/ClipDescription.aidl \
643 frameworks/base/core/java/android/content/IntentFilter.aidl \
644 frameworks/base/core/java/android/content/Intent.aidl \
645 frameworks/base/core/java/android/content/res/Configuration.aidl \
646 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
647 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
648 frameworks/base/core/java/android/content/ClipData.aidl \
649 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
650 frameworks/base/core/java/android/content/SyncRequest.aidl \
651 frameworks/base/core/java/android/content/PeriodicSync.aidl \
652 frameworks/base/core/java/android/content/SyncResult.aidl \
653 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
654 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
655 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
656 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
657 frameworks/base/core/java/android/content/pm/Signature.aidl \
658 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
659 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
660 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
661 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
662 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
663 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
664 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
665 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800666 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000667 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
668 frameworks/base/core/java/android/content/ComponentName.aidl \
669 frameworks/base/core/java/android/content/SyncStats.aidl \
670 frameworks/base/core/java/android/content/ContentValues.aidl \
671 frameworks/base/core/java/android/content/SyncInfo.aidl \
672 frameworks/base/core/java/android/content/IntentSender.aidl \
673 frameworks/base/core/java/android/widget/RemoteViews.aidl \
674 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
675 frameworks/base/core/java/android/nfc/Tag.aidl \
676 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
677 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
678 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
679 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
680 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
681 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
682 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
683 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
684 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
685 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500686 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800687 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000688
689gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
690$(gen): PRIVATE_SRC_FILES := $(aidl_files)
691ALL_SDK_FILES += $(gen)
692$(gen): $(aidl_files) | $(AIDL)
693 @echo Aidl Preprocess: $@
694 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
695
696# the documentation
697# ============================================================
698
699# TODO: deal with com/google/android/googleapps
700packages_to_document := \
701 android \
702 javax/microedition/khronos \
703 org/apache/http/conn \
704 org/apache/http/params
705
706
707# Search through the base framework dirs for these packages.
708# The result will be relative to frameworks/base.
709fwbase_dirs_to_document := \
710 test-runner/src \
711 $(patsubst $(LOCAL_PATH)/%,%, \
712 $(wildcard \
713 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
714 $(addprefix $(dir)/, $(packages_to_document)) \
715 ) \
716 ) \
717 )
718
719# include definition of libcore_to_document
720include libcore/Docs.mk
721
722# include definition of junit_to_document
723include external/junit/Common.mk
724
725non_base_dirs := \
726 ../opt/telephony/src/java/android/provider \
727 ../opt/telephony/src/java/android/telephony \
728 ../opt/telephony/src/java/android/telephony/gsm \
729 ../opt/net/voip/src/java/android/net/rtp \
730 ../opt/net/voip/src/java/android/net/sip
731
732# These are relative to frameworks/base
733dirs_to_check_apis := \
734 $(fwbase_dirs_to_document) \
735 $(non_base_dirs)
736
George Mountf6be9932015-12-03 07:39:55 -0800737###########################################################
738## Return all directories that have a 'NO_DOCS' file in
739## them, appending a '%' to them to form a pattern to
740## filter out files under those directories.
741## $(1): A list of base directories to look at.
742###########################################################
743define find-no-docs-pattern
744$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
745endef
746
Bart Searsa8cc0582015-05-07 03:23:20 +0000747# These are relative to frameworks/base
748# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
749dirs_to_document := \
750 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700751 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
752 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000753
George Mountf6be9932015-12-03 07:39:55 -0800754patterns_to_not_document := \
755 $(call find-no-docs-pattern, $(dirs_to_document))
756
Bart Searsa8cc0582015-05-07 03:23:20 +0000757# These are relative to frameworks/base
758html_dirs := \
759 $(FRAMEWORKS_BASE_SUBDIRS) \
760 $(non_base_dirs)
761
762# Common sources for doc check and api check
763common_src_files := \
764 $(call find-other-html-files, $(html_dirs)) \
Neil Fullerf9611142015-10-07 10:30:56 +0100765 $(addprefix ../../, $(libcore_to_document)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000766 $(addprefix ../../external/junit/, $(junit_to_document))
767
768# These are relative to frameworks/base
769framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800770 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000771 $(common_src_files)
772
773# These are relative to frameworks/base
774framework_docs_LOCAL_API_CHECK_SRC_FILES := \
775 $(call find-other-java-files, $(dirs_to_check_apis)) \
776 $(common_src_files)
777
778# This is used by ide.mk as the list of source files that are
779# always included.
780INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
781
782framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
783 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
784
785framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
786 $(framework_res_source_path)/android/R.java \
787 $(framework_res_source_path)/android/Manifest.java \
788 $(framework_res_source_path)/com/android/internal/R.java
789
790framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000791 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000792 core-libart \
793 conscrypt \
794 bouncycastle \
795 okhttp \
796 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100797 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000798 framework \
799 telephony-common \
800 voip-common
801
802framework_docs_LOCAL_JAVA_LIBRARIES := \
803 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
804 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
805
806framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
807framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
808# The since flag (-since N.xml API_LEVEL) is used to add API Level information
809# to the reference documentation. Must be in order of oldest to newest.
810#
811# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
812# not be referenced in the documentation.
813framework_docs_LOCAL_DROIDDOC_OPTIONS := \
814 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100815 -knowntags ./libcore/known_oj_tags.txt \
Bart Searsa8cc0582015-05-07 03:23:20 +0000816 -hidePackage com.android.org.conscrypt \
817 -since $(SRC_API_DIR)/1.xml 1 \
818 -since $(SRC_API_DIR)/2.xml 2 \
819 -since $(SRC_API_DIR)/3.xml 3 \
820 -since $(SRC_API_DIR)/4.xml 4 \
821 -since $(SRC_API_DIR)/5.xml 5 \
822 -since $(SRC_API_DIR)/6.xml 6 \
823 -since $(SRC_API_DIR)/7.xml 7 \
824 -since $(SRC_API_DIR)/8.xml 8 \
825 -since $(SRC_API_DIR)/9.xml 9 \
826 -since $(SRC_API_DIR)/10.xml 10 \
827 -since $(SRC_API_DIR)/11.xml 11 \
828 -since $(SRC_API_DIR)/12.xml 12 \
829 -since $(SRC_API_DIR)/13.xml 13 \
830 -since $(SRC_API_DIR)/14.txt 14 \
831 -since $(SRC_API_DIR)/15.txt 15 \
832 -since $(SRC_API_DIR)/16.txt 16 \
833 -since $(SRC_API_DIR)/17.txt 17 \
834 -since $(SRC_API_DIR)/18.txt 18 \
835 -since $(SRC_API_DIR)/19.txt 19 \
836 -since $(SRC_API_DIR)/20.txt 20 \
837 -since $(SRC_API_DIR)/21.txt 21 \
838 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700839 -since $(SRC_API_DIR)/23.txt 23 \
Joe Fernandez89f385d2016-03-08 21:22:11 -0800840 -since ./frameworks/base/api/current.txt N \
Bart Searsa8cc0582015-05-07 03:23:20 +0000841 -werror -hide 111 -hide 113 \
842 -overview $(LOCAL_PATH)/core/java/overview.html
843
844framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
845 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
846
847framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
848 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
849 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
850 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
851
852framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +0100853 frameworks/base/docs/knowntags.txt \
854 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +0000855
856samples_dir := development/samples/browseable
857
858# Whitelist of valid groups, used for default TOC grouping. Each sample must
859# belong to one (and only one) group. Assign samples to groups by setting
860# a sample.group var to one of these groups in the sample's _index.jd.
861sample_groups := -samplegroup Admin \
862 -samplegroup Background \
863 -samplegroup Connectivity \
864 -samplegroup Content \
865 -samplegroup Input \
866 -samplegroup Media \
867 -samplegroup Notification \
868 -samplegroup RenderScript \
869 -samplegroup Security \
870 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700871 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000872 -samplegroup Testing \
873 -samplegroup UI \
874 -samplegroup Views \
875 -samplegroup Wearable
876
877## SDK version identifiers used in the published docs
878 # major[.minor] version for current SDK. (full releases only)
Joe Fernandez1827e322015-08-12 19:45:22 -0700879framework_docs_SDK_VERSION:=6.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000880 # release version (ie "Release x") (full releases only)
881framework_docs_SDK_REL_ID:=1
882
883framework_docs_LOCAL_DROIDDOC_OPTIONS += \
smain@google.com7aca8be2016-03-10 14:13:30 -0800884 -hdf sdk.codename N \
smain@google.com269aa4e2016-03-10 15:37:58 -0800885 -hdf sdk.preview.version 2 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000886 -hdf sdk.version $(framework_docs_SDK_VERSION) \
887 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
smain@google.com269aa4e2016-03-10 15:37:58 -0800888 -hdf sdk.preview 1
Bart Searsa8cc0582015-05-07 03:23:20 +0000889
890# ==== the api stubs and current.xml ===========================
891include $(CLEAR_VARS)
892
893LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
894LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
895LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
896LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
897LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
898LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
899LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
900LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
901
902LOCAL_MODULE := api-stubs
903
Ying Wang0f92a2e2015-07-16 14:20:22 -0700904LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
905
Bart Searsa8cc0582015-05-07 03:23:20 +0000906LOCAL_DROIDDOC_OPTIONS:=\
907 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000908 -api $(INTERNAL_PLATFORM_API_FILE) \
909 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
910 -nodocs
911
912LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
913
914LOCAL_UNINSTALLABLE_MODULE := true
915
916include $(BUILD_DROIDDOC)
917
918# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
919$(full_target): $(framework_built) $(gen)
920$(INTERNAL_PLATFORM_API_FILE): $(full_target)
921$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
922
923# ==== the system api stubs ===================================
924include $(CLEAR_VARS)
925
926LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
927LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
928LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
929LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
930LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
931LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
932LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
933LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
934
935LOCAL_MODULE := system-api-stubs
936
Ying Wang0f92a2e2015-07-16 14:20:22 -0700937LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
938
Bart Searsa8cc0582015-05-07 03:23:20 +0000939LOCAL_DROIDDOC_OPTIONS:=\
940 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000941 -showAnnotation android.annotation.SystemApi \
942 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
943 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
944 -nodocs
945
946LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
947
948LOCAL_UNINSTALLABLE_MODULE := true
949
950include $(BUILD_DROIDDOC)
951
952# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
953$(full_target): $(framework_built) $(gen)
954$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
955$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
956
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000957# ==== the test api stubs ===================================
958include $(CLEAR_VARS)
959
960LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
961LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
962LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
963LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
964LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
965LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
966LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
967LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
968
969LOCAL_MODULE := test-api-stubs
970
971LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
972
973LOCAL_DROIDDOC_OPTIONS:=\
974 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
975 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
976 -showAnnotation android.annotation.TestApi \
977 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
978 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
979 -nodocs
980
981LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
982
983LOCAL_UNINSTALLABLE_MODULE := true
984
985include $(BUILD_DROIDDOC)
986
987# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
988$(full_target): $(framework_built) $(gen)
989$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
990$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
991
Bart Searsa8cc0582015-05-07 03:23:20 +0000992# ==== check javadoc comments but don't generate docs ========
993include $(CLEAR_VARS)
994
995LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
996LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
997LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
998LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
999LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1000LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1001LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1002LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1003
1004LOCAL_MODULE := doc-comment-check
1005
1006LOCAL_DROIDDOC_OPTIONS:=\
1007 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1008 -parsecomments
1009
1010LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1011
1012LOCAL_UNINSTALLABLE_MODULE := true
1013
1014include $(BUILD_DROIDDOC)
1015
1016# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1017$(full_target): $(framework_built) $(gen)
1018
1019# Run this for checkbuild
1020checkbuild: doc-comment-check-docs
1021# Check comment when you are updating the API
1022update-api: doc-comment-check-docs
1023
1024# ==== static html in the sdk ==================================
1025include $(CLEAR_VARS)
1026
1027LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1028LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1029LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1030LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1031LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1032LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1033LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1034LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1035
1036LOCAL_MODULE := offline-sdk
1037
1038LOCAL_DROIDDOC_OPTIONS:=\
1039 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1040 -offlinemode \
1041 -title "Android SDK" \
1042 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001043 -sdkvalues $(OUT_DOCS) \
1044 -hdf android.whichdoc offline \
1045 -referenceonly
1046
smain@google.comf7b6dad2016-03-22 14:17:55 -07001047LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001048
1049include $(BUILD_DROIDDOC)
1050
1051static_doc_index_redirect := $(out_dir)/index.html
Dan Willemsendc3b8522016-03-23 15:31:32 -07001052$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-preview-index.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001053 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001054
1055$(full_target): $(static_doc_index_redirect)
1056$(full_target): $(framework_built)
1057
smain@google.com7aca8be2016-03-10 14:13:30 -08001058
Bart Searsa8cc0582015-05-07 03:23:20 +00001059# ==== docs for the web (on the androiddevdocs app engine server) =======================
1060include $(CLEAR_VARS)
1061
1062LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1063LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1064LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1065LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1066LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1067LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1068LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1069LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1070LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1071LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1072
1073LOCAL_MODULE := online-sdk
1074
1075LOCAL_DROIDDOC_OPTIONS:= \
1076 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1077 -toroot / \
1078 -hdf android.whichdoc online \
1079 $(sample_groups) \
1080 -hdf android.hasSamples true \
1081 -samplesdir $(samples_dir)
1082
1083LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1084
1085include $(BUILD_DROIDDOC)
1086
1087# ==== docs for the web (on the androiddevdocs app engine server) =======================
1088# TODO: Fix the System API docs build.
1089ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1090include $(CLEAR_VARS)
1091
1092LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1093LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1094LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1095LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1096LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1097LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1098LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1099LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1100LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1101LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1102
1103LOCAL_MODULE := online-system-api-sdk
1104
1105LOCAL_DROIDDOC_OPTIONS:= \
1106 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1107 -showAnnotation android.annotation.SystemApi \
1108 -title "Android SDK - Including system APIs." \
1109 -toroot / \
1110 -hdf android.whichdoc online \
1111 $(sample_groups) \
1112 -hdf android.hasSamples true \
1113 -samplesdir $(samples_dir)
1114
1115LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1116# Don't build by default
1117LOCAL_UNINSTALLABLE_MODULE := true
1118
1119include $(BUILD_DROIDDOC)
1120endif # online-system-api-sdk-docs in make command line.
1121
1122# ==== docs for the web (on the devsite app engine server) =======================
1123include $(CLEAR_VARS)
1124LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1125LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1126LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1127LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1128LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1129LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1130LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1131LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1132LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1133# specify a second html input dir and an output path relative to OUT_DIR)
1134LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1135
1136LOCAL_MODULE := ds
1137
1138LOCAL_DROIDDOC_OPTIONS:= \
1139 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1140 -devsite \
1141 -toroot / \
1142 -hdf android.whichdoc online \
1143 -hdf devsite true
1144
1145LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1146
1147include $(BUILD_DROIDDOC)
1148
1149# ==== docs for the ndk =======================
1150include $(CLEAR_VARS)
1151LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1152LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1153LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1154LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1155LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1156LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1157LOCAL_DROIDDOC_HTML_DIR:=docs/html-ndk
1158LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1159LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1160# specify a second html input dir and an output path relative to OUT_DIR)
1161LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1162
1163LOCAL_MODULE := online-ndk
1164
1165LOCAL_DROIDDOC_OPTIONS:= \
1166 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1167 -toroot / \
1168 -hdf android.whichdoc online \
1169 $(sample_groups) \
1170 -hdf android.hasSamples true \
1171 -samplesdir $(samples_dir)
1172
Dirk Dougherty85dea522015-05-21 14:20:25 -07001173LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001174
1175include $(BUILD_DROIDDOC)
1176
1177
1178# ==== docs that have all of the stuff that's @hidden =======================
1179include $(CLEAR_VARS)
1180
1181LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1182LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1183LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1184LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1185LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1186LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1187LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1188LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1189
1190LOCAL_MODULE := hidden
1191LOCAL_DROIDDOC_OPTIONS:=\
1192 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1193 -title "Android SDK - Including hidden APIs."
1194# -hidden
1195
1196LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1197
1198include $(BUILD_DROIDDOC)
1199
1200# Build ext.jar
1201# ============================================================
1202
1203ext_dirs := \
1204 ../../external/nist-sip/java \
1205 ../../external/tagsoup/src \
1206
1207ext_src_files := $(call all-java-files-under,$(ext_dirs))
1208
1209# ==== the library =========================================
1210include $(CLEAR_VARS)
1211
1212LOCAL_SRC_FILES := $(ext_src_files)
1213
1214LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001215LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001216LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1217LOCAL_MODULE_TAGS := optional
1218LOCAL_MODULE := ext
1219
1220LOCAL_DX_FLAGS := --core-library
1221
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001222ifneq ($(INCREMENTAL_BUILDS),)
1223 LOCAL_PROGUARD_ENABLED := disabled
1224 LOCAL_JACK_ENABLED := incremental
1225endif
1226
Bart Searsa8cc0582015-05-07 03:23:20 +00001227include $(BUILD_JAVA_LIBRARY)
1228
1229
1230# Include subdirectory makefiles
1231# ============================================================
1232
1233# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1234# team really wants is to build the stuff defined by this makefile.
1235ifeq (,$(ONE_SHOT_MAKEFILE))
1236include $(call first-makefiles-under,$(LOCAL_PATH))
1237endif
1238
1239endif # ANDROID_BUILD_EMBEDDED