blob: 2ee7600d3288be4631985d88512eab1598ef0c1c [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 += \
Rubin Xu75431fb2016-01-07 21:12:14 +000045 core/java/android/auditing/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 \
120 core/java/android/bluetooth/IBluetoothMap.aidl \
121 core/java/android/bluetooth/IBluetoothSap.aidl \
122 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
123 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
124 core/java/android/bluetooth/IBluetoothGatt.aidl \
125 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
126 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
127 core/java/android/content/IClipboard.aidl \
128 core/java/android/content/IContentService.aidl \
129 core/java/android/content/IIntentReceiver.aidl \
130 core/java/android/content/IIntentSender.aidl \
131 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
132 core/java/android/content/IRestrictionsManager.aidl \
133 core/java/android/content/ISyncAdapter.aidl \
134 core/java/android/content/ISyncContext.aidl \
135 core/java/android/content/ISyncServiceAdapter.aidl \
136 core/java/android/content/ISyncStatusObserver.aidl \
137 core/java/android/content/pm/ILauncherApps.aidl \
138 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800139 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000140 core/java/android/content/pm/IPackageDataObserver.aidl \
141 core/java/android/content/pm/IPackageDeleteObserver.aidl \
142 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
143 core/java/android/content/pm/IPackageInstallObserver.aidl \
144 core/java/android/content/pm/IPackageInstallObserver2.aidl \
145 core/java/android/content/pm/IPackageInstaller.aidl \
146 core/java/android/content/pm/IPackageInstallerCallback.aidl \
147 core/java/android/content/pm/IPackageInstallerSession.aidl \
148 core/java/android/content/pm/IPackageManager.aidl \
149 core/java/android/content/pm/IPackageMoveObserver.aidl \
150 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700151 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000152 core/java/android/database/IContentObserver.aidl \
153 core/java/android/hardware/ICameraService.aidl \
154 core/java/android/hardware/ICameraServiceListener.aidl \
Ruben Brunk6664aee2015-05-19 17:20:24 -0700155 core/java/android/hardware/ICameraServiceProxy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000156 core/java/android/hardware/ICamera.aidl \
157 core/java/android/hardware/ICameraClient.aidl \
158 core/java/android/hardware/IConsumerIrService.aidl \
159 core/java/android/hardware/camera2/ICameraDeviceUser.aidl \
160 core/java/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
161 core/java/android/hardware/ISerialManager.aidl \
162 core/java/android/hardware/display/IDisplayManager.aidl \
163 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
164 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700165 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
166 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000167 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700168 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000169 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
170 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
171 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
172 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
173 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
174 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
175 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
176 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
177 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
178 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
179 core/java/android/hardware/input/IInputManager.aidl \
180 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100181 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000182 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700183 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000184 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
185 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
186 core/java/android/hardware/location/IFusedLocationHardware.aidl \
187 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
188 core/java/android/hardware/location/IGeofenceHardware.aidl \
189 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
190 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800191 core/java/android/hardware/location/IContextHubCallback.aidl \
192 core/java/android/hardware/location/IContextHubService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000193 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
194 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400195 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000196 core/java/android/net/IConnectivityManager.aidl \
Pavel Zhamaitsiak02b3e6b2016-02-03 10:39:44 -0800197 core/java/android/net/IConnectivityMetricsLogger.aidl \
198 core/java/android/net/IConnectivityMetricsLoggerSubscriber.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000199 core/java/android/net/IEthernetManager.aidl \
200 core/java/android/net/IEthernetServiceListener.aidl \
201 core/java/android/net/INetworkManagementEventObserver.aidl \
202 core/java/android/net/INetworkPolicyListener.aidl \
203 core/java/android/net/INetworkPolicyManager.aidl \
204 core/java/android/net/INetworkScoreCache.aidl \
205 core/java/android/net/INetworkScoreService.aidl \
206 core/java/android/net/INetworkStatsService.aidl \
207 core/java/android/net/INetworkStatsSession.aidl \
208 core/java/android/net/nsd/INsdManager.aidl \
209 core/java/android/nfc/IAppCallback.aidl \
210 core/java/android/nfc/INfcAdapter.aidl \
211 core/java/android/nfc/INfcAdapterExtras.aidl \
212 core/java/android/nfc/INfcTag.aidl \
213 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900214 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000215 core/java/android/nfc/INfcUnlockHandler.aidl \
216 core/java/android/os/IBatteryPropertiesListener.aidl \
217 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
218 core/java/android/os/ICancellationSignal.aidl \
219 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100220 core/java/android/os/IHardwarePropertiesManager.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800221 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000222 core/java/android/os/IMessenger.aidl \
223 core/java/android/os/INetworkActivityListener.aidl \
224 core/java/android/os/INetworkManagementService.aidl \
225 core/java/android/os/IPermissionController.aidl \
226 core/java/android/os/IProcessInfoService.aidl \
227 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800228 core/java/android/os/IRecoverySystem.aidl \
229 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000230 core/java/android/os/IRemoteCallback.aidl \
231 core/java/android/os/ISchedulingPolicyService.aidl \
232 core/java/android/os/IUpdateLock.aidl \
233 core/java/android/os/IUserManager.aidl \
234 core/java/android/os/IVibratorService.aidl \
235 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700236 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000237 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
238 core/java/android/service/carrier/ICarrierMessagingService.aidl \
239 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
240 core/java/android/service/notification/INotificationListener.aidl \
241 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
242 core/java/android/service/notification/IConditionListener.aidl \
243 core/java/android/service/notification/IConditionProvider.aidl \
244 core/java/android/print/ILayoutResultCallback.aidl \
245 core/java/android/print/IPrinterDiscoveryObserver.aidl \
246 core/java/android/print/IPrintDocumentAdapter.aidl \
247 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
248 core/java/android/print/IPrintJobStateChangeListener.aidl \
249 core/java/android/print/IPrintManager.aidl \
250 core/java/android/print/IPrintSpooler.aidl \
251 core/java/android/print/IPrintSpoolerCallbacks.aidl \
252 core/java/android/print/IPrintSpoolerClient.aidl \
253 core/java/android/print/IWriteResultCallback.aidl \
254 core/java/android/printservice/IPrintService.aidl \
255 core/java/android/printservice/IPrintServiceClient.aidl \
256 core/java/android/service/dreams/IDreamManager.aidl \
257 core/java/android/service/dreams/IDreamService.aidl \
258 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
259 core/java/android/service/trust/ITrustAgentService.aidl \
260 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
261 core/java/android/service/voice/IVoiceInteractionService.aidl \
262 core/java/android/service/voice/IVoiceInteractionSession.aidl \
263 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
264 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
265 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
266 core/java/android/service/wallpaper/IWallpaperService.aidl \
267 core/java/android/service/chooser/IChooserTargetService.aidl \
268 core/java/android/service/chooser/IChooserTargetResult.aidl \
269 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
270 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
271 core/java/android/view/accessibility/IAccessibilityManager.aidl \
272 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
273 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100274 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000275 core/java/android/view/IAssetAtlas.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100276 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000277 core/java/android/view/IGraphicsStats.aidl \
278 core/java/android/view/IInputFilter.aidl \
279 core/java/android/view/IInputFilterHost.aidl \
280 core/java/android/view/IOnKeyguardExitResult.aidl \
281 core/java/android/view/IRotationWatcher.aidl \
282 core/java/android/view/IWindow.aidl \
283 core/java/android/view/IWindowFocusObserver.aidl \
284 core/java/android/view/IWindowId.aidl \
285 core/java/android/view/IWindowManager.aidl \
286 core/java/android/view/IWindowSession.aidl \
287 core/java/android/view/IWindowSessionCallback.aidl \
288 core/java/android/webkit/IWebViewUpdateService.aidl \
289 core/java/android/speech/IRecognitionListener.aidl \
290 core/java/android/speech/IRecognitionService.aidl \
291 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
292 core/java/android/speech/tts/ITextToSpeechService.aidl \
293 core/java/com/android/internal/app/IAppOpsCallback.aidl \
294 core/java/com/android/internal/app/IAppOpsService.aidl \
295 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
296 core/java/com/android/internal/app/IBatteryStats.aidl \
Todd Kennedyb8a279e2015-11-18 09:59:47 -0800297 core/java/com/android/internal/app/IEphemeralResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000298 core/java/com/android/internal/app/IProcessStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800299 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000300 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
301 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
302 core/java/com/android/internal/app/IVoiceInteractor.aidl \
303 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
304 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
305 core/java/com/android/internal/app/IMediaContainerService.aidl \
306 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
307 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
308 core/java/com/android/internal/backup/IBackupTransport.aidl \
309 core/java/com/android/internal/backup/IObbBackupService.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700310 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000311 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
312 core/java/com/android/internal/policy/IKeyguardService.aidl \
313 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800314 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000315 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
316 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
317 core/java/com/android/internal/os/IResultReceiver.aidl \
318 core/java/com/android/internal/statusbar/IStatusBar.aidl \
319 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
320 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
321 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
322 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
323 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
324 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev9149d2b2015-12-15 12:16:28 -0800325 core/java/com/android/internal/view/IDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000326 core/java/com/android/internal/view/IInputContext.aidl \
327 core/java/com/android/internal/view/IInputContextCallback.aidl \
328 core/java/com/android/internal/view/IInputMethod.aidl \
329 core/java/com/android/internal/view/IInputMethodClient.aidl \
330 core/java/com/android/internal/view/IInputMethodManager.aidl \
331 core/java/com/android/internal/view/IInputMethodSession.aidl \
332 core/java/com/android/internal/view/IInputSessionCallback.aidl \
333 core/java/com/android/internal/widget/ILockSettings.aidl \
334 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
335 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
336 keystore/java/android/security/IKeyChainAliasCallback.aidl \
337 keystore/java/android/security/IKeyChainService.aidl \
338 location/java/android/location/ICountryDetector.aidl \
339 location/java/android/location/ICountryListener.aidl \
340 location/java/android/location/IFusedProvider.aidl \
341 location/java/android/location/IGeocodeProvider.aidl \
342 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800343 location/java/android/location/IGnssStatusListener.aidl \
344 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800345 location/java/android/location/IGnssMeasurementsListener.aidl \
346 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000347 location/java/android/location/ILocationListener.aidl \
348 location/java/android/location/ILocationManager.aidl \
349 location/java/android/location/IFusedGeofenceHardware.aidl \
350 location/java/android/location/IGpsGeofenceHardware.aidl \
351 location/java/android/location/INetInitiatedListener.aidl \
352 location/java/com/android/internal/location/ILocationProvider.aidl \
353 media/java/android/media/IAudioService.aidl \
354 media/java/android/media/IAudioFocusDispatcher.aidl \
355 media/java/android/media/IAudioRoutesObserver.aidl \
356 media/java/android/media/IMediaHTTPConnection.aidl \
357 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900358 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000359 media/java/android/media/IMediaRouterClient.aidl \
360 media/java/android/media/IMediaRouterService.aidl \
361 media/java/android/media/IMediaScannerListener.aidl \
362 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800363 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000364 media/java/android/media/IRemoteDisplayCallback.aidl \
365 media/java/android/media/IRemoteDisplayProvider.aidl \
366 media/java/android/media/IRemoteVolumeController.aidl \
367 media/java/android/media/IRemoteVolumeObserver.aidl \
368 media/java/android/media/IRingtonePlayer.aidl \
369 media/java/android/media/IVolumeController.aidl \
370 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700371 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000372 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700373 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000374 media/java/android/media/midi/IMidiDeviceServer.aidl \
375 media/java/android/media/midi/IMidiManager.aidl \
376 media/java/android/media/projection/IMediaProjection.aidl \
377 media/java/android/media/projection/IMediaProjectionCallback.aidl \
378 media/java/android/media/projection/IMediaProjectionManager.aidl \
379 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
380 media/java/android/media/session/IActiveSessionsListener.aidl \
381 media/java/android/media/session/ISessionController.aidl \
382 media/java/android/media/session/ISessionControllerCallback.aidl \
383 media/java/android/media/session/ISession.aidl \
384 media/java/android/media/session/ISessionCallback.aidl \
385 media/java/android/media/session/ISessionManager.aidl \
386 media/java/android/media/tv/ITvInputClient.aidl \
387 media/java/android/media/tv/ITvInputHardware.aidl \
388 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
389 media/java/android/media/tv/ITvInputManager.aidl \
390 media/java/android/media/tv/ITvInputManagerCallback.aidl \
391 media/java/android/media/tv/ITvInputService.aidl \
392 media/java/android/media/tv/ITvInputServiceCallback.aidl \
393 media/java/android/media/tv/ITvInputSession.aidl \
394 media/java/android/media/tv/ITvInputSessionCallback.aidl \
395 media/java/android/service/media/IMediaBrowserService.aidl \
396 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800397 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
398 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000399 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
400 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
401 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
402 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
403 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
404 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
405 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
406 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
407 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
408 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
409 telephony/java/com/android/ims/internal/IImsConfig.aidl \
410 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
411 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
412 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
413 telephony/java/com/android/ims/internal/IImsService.aidl \
414 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
415 telephony/java/com/android/ims/internal/IImsUt.aidl \
416 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
417 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
418 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
419 telephony/java/com/android/ims/ImsConfigListener.aidl \
420 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
421 telephony/java/com/android/internal/telephony/IMms.aidl \
422 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
423 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
424 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
425 telephony/java/com/android/internal/telephony/ISms.aidl \
426 telephony/java/com/android/internal/telephony/ISub.aidl \
427 telephony/java/com/android/internal/telephony/ITelephony.aidl \
Pavel Zhamaitsiak14ef0952016-01-04 15:54:31 -0800428 telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl \
Pavel Zhamaitsiaked0eecf2016-01-27 18:00:17 -0800429 telephony/java/com/android/internal/telephony/ITelephonyDebugSubscriber.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000430 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
431 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
432 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen20d329b2015-09-29 13:49:02 -0700433 wifi/java/android/net/wifi/nan/IWifiNanEventListener.aidl \
434 wifi/java/android/net/wifi/nan/IWifiNanManager.aidl \
435 wifi/java/android/net/wifi/nan/IWifiNanSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000436 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
437 wifi/java/android/net/wifi/IWifiScanner.aidl \
438 wifi/java/android/net/wifi/IRttManager.aidl \
439 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
440 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
441 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500442 core/java/android/service/quicksettings/IQSService.aidl \
443 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000444
Tao Baobdc77362016-01-19 15:52:28 -0800445# The following are native binders that need to go with the native component
446# at system/update_engine/binder_bindings/. Use relative path to refer to them.
447LOCAL_SRC_FILES += \
448 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
449 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
450
451LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
452
Bart Searsa8cc0582015-05-07 03:23:20 +0000453# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800454LOCAL_AIDL_INCLUDES += \
455 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
456 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000457
458LOCAL_INTERMEDIATE_SOURCES := \
459 $(framework_res_source_path)/android/R.java \
460 $(framework_res_source_path)/android/Manifest.java \
461 $(framework_res_source_path)/com/android/internal/R.java
462
463LOCAL_NO_STANDARD_LIBRARIES := true
Neil Fuller801f90e2016-02-18 13:57:43 +0000464LOCAL_JAVA_LIBRARIES := core-oj core-libart core-lambda-stubs conscrypt okhttp core-junit bouncycastle ext
Chris Wren77781d32016-01-11 14:49:26 -0500465LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
Bart Searsa8cc0582015-05-07 03:23:20 +0000466
467LOCAL_MODULE := framework
468
469LOCAL_DX_FLAGS := --core-library --multi-dex
470LOCAL_JACK_FLAGS := --multi-dex native
471
472LOCAL_RMTYPEDEFS := true
473
474include $(BUILD_JAVA_LIBRARY)
475framework_module := $(LOCAL_INSTALLED_MODULE)
476
477# Make sure that R.java and Manifest.java are built before we build
478# the source for this library.
479framework_res_R_stamp := \
480 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
481$(full_classes_compiled_jar): $(framework_res_R_stamp)
482$(built_dex_intermediate): $(framework_res_R_stamp)
483
484$(framework_module): | $(dir $(framework_module))framework-res.apk
485
486framework_built := $(call java-lib-deps,framework)
487
488# Copy AIDL files to be preprocessed and included in the SDK,
489# specified relative to the root of the build tree.
490# ============================================================
491include $(CLEAR_VARS)
492
493aidl_files := \
494 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
495 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
496 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
497 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
498 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
499 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700500 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000501 frameworks/base/location/java/android/location/Location.aidl \
502 frameworks/base/location/java/android/location/Address.aidl \
503 frameworks/base/location/java/android/location/Criteria.aidl \
504 frameworks/base/media/java/android/media/MediaMetadata.aidl \
505 frameworks/base/media/java/android/media/MediaDescription.aidl \
506 frameworks/base/media/java/android/media/Rating.aidl \
507 frameworks/base/media/java/android/media/AudioAttributes.aidl \
508 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
509 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
510 frameworks/base/media/java/android/media/session/MediaSession.aidl \
511 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
512 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
513 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
514 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen20d329b2015-09-29 13:49:02 -0700515 frameworks/base/wifi/java/android/net/wifi/nan/ConfigRequest.aidl \
516 frameworks/base/wifi/java/android/net/wifi/nan/PublishData.aidl \
517 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeData.aidl \
518 frameworks/base/wifi/java/android/net/wifi/nan/PublishSettings.aidl \
519 frameworks/base/wifi/java/android/net/wifi/nan/SubscribeSettings.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000520 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
521 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
522 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
523 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
524 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
525 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
526 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
527 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
528 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800529 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000530 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
531 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
532 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
533 frameworks/base/graphics/java/android/graphics/Region.aidl \
534 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
535 frameworks/base/graphics/java/android/graphics/Point.aidl \
536 frameworks/base/graphics/java/android/graphics/PointF.aidl \
537 frameworks/base/graphics/java/android/graphics/RectF.aidl \
538 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800539 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000540 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
541 frameworks/base/core/java/android/accounts/Account.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100542 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000543 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
544 frameworks/base/core/java/android/print/PageRange.aidl \
545 frameworks/base/core/java/android/print/PrintAttributes.aidl \
546 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
547 frameworks/base/core/java/android/print/PrinterId.aidl \
548 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
549 frameworks/base/core/java/android/print/PrinterInfo.aidl \
550 frameworks/base/core/java/android/print/PrintJobId.aidl \
551 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
552 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
553 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
554 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
555 frameworks/base/core/java/android/os/Messenger.aidl \
556 frameworks/base/core/java/android/os/PatternMatcher.aidl \
557 frameworks/base/core/java/android/os/Message.aidl \
558 frameworks/base/core/java/android/os/UserHandle.aidl \
559 frameworks/base/core/java/android/os/ParcelUuid.aidl \
560 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
561 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000562 frameworks/base/core/java/android/os/WorkSource.aidl \
563 frameworks/base/core/java/android/os/DropBoxManager.aidl \
564 frameworks/base/core/java/android/os/Bundle.aidl \
565 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
566 frameworks/base/core/java/android/net/Network.aidl \
567 frameworks/base/core/java/android/net/RouteInfo.aidl \
568 frameworks/base/core/java/android/net/NetworkInfo.aidl \
569 frameworks/base/core/java/android/net/IpPrefix.aidl \
570 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
571 frameworks/base/core/java/android/net/DhcpInfo.aidl \
572 frameworks/base/core/java/android/net/ProxyInfo.aidl \
573 frameworks/base/core/java/android/net/LinkProperties.aidl \
574 frameworks/base/core/java/android/net/Uri.aidl \
575 frameworks/base/core/java/android/net/NetworkRequest.aidl \
576 frameworks/base/core/java/android/net/LinkAddress.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700577 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000578 frameworks/base/core/java/android/view/InputDevice.aidl \
579 frameworks/base/core/java/android/view/InputEvent.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700580 frameworks/base/core/java/android/view/Surface.aidl \
581 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000582 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
583 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
584 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
585 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
586 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
587 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
588 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
589 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
590 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
591 frameworks/base/core/java/android/view/DragEvent.aidl \
592 frameworks/base/core/java/android/view/KeyEvent.aidl \
593 frameworks/base/core/java/android/view/WindowManager.aidl \
594 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
595 frameworks/base/core/java/android/view/MotionEvent.aidl \
596 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
597 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
598 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
599 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
600 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
601 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
602 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
603 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
604 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
605 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
606 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
607 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
608 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
609 frameworks/base/core/java/android/speech/tts/Voice.aidl \
610 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000611 frameworks/base/core/java/android/app/Notification.aidl \
612 frameworks/base/core/java/android/app/NotificationManager.aidl \
613 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
614 frameworks/base/core/java/android/app/AppOpsManager.aidl \
615 frameworks/base/core/java/android/app/ActivityManager.aidl \
616 frameworks/base/core/java/android/app/PendingIntent.aidl \
617 frameworks/base/core/java/android/app/AlarmManager.aidl \
618 frameworks/base/core/java/android/app/SearchableInfo.aidl \
619 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700620 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
621 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000622 frameworks/base/core/java/android/app/job/JobParameters.aidl \
623 frameworks/base/core/java/android/app/job/JobInfo.aidl \
624 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
625 frameworks/base/core/java/android/content/ClipDescription.aidl \
626 frameworks/base/core/java/android/content/IntentFilter.aidl \
627 frameworks/base/core/java/android/content/Intent.aidl \
628 frameworks/base/core/java/android/content/res/Configuration.aidl \
629 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
630 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
631 frameworks/base/core/java/android/content/ClipData.aidl \
632 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
633 frameworks/base/core/java/android/content/SyncRequest.aidl \
634 frameworks/base/core/java/android/content/PeriodicSync.aidl \
635 frameworks/base/core/java/android/content/SyncResult.aidl \
636 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
637 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
638 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
639 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
640 frameworks/base/core/java/android/content/pm/Signature.aidl \
641 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
642 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
643 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
644 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
645 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
646 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
647 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
648 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
649 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
650 frameworks/base/core/java/android/content/ComponentName.aidl \
651 frameworks/base/core/java/android/content/SyncStats.aidl \
652 frameworks/base/core/java/android/content/ContentValues.aidl \
653 frameworks/base/core/java/android/content/SyncInfo.aidl \
654 frameworks/base/core/java/android/content/IntentSender.aidl \
655 frameworks/base/core/java/android/widget/RemoteViews.aidl \
656 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
657 frameworks/base/core/java/android/nfc/Tag.aidl \
658 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
659 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
660 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
661 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
662 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
663 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
664 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
665 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
666 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
667 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500668 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800669 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000670
671gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
672$(gen): PRIVATE_SRC_FILES := $(aidl_files)
673ALL_SDK_FILES += $(gen)
674$(gen): $(aidl_files) | $(AIDL)
675 @echo Aidl Preprocess: $@
676 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
677
678# the documentation
679# ============================================================
680
681# TODO: deal with com/google/android/googleapps
682packages_to_document := \
683 android \
684 javax/microedition/khronos \
685 org/apache/http/conn \
686 org/apache/http/params
687
688
689# Search through the base framework dirs for these packages.
690# The result will be relative to frameworks/base.
691fwbase_dirs_to_document := \
692 test-runner/src \
693 $(patsubst $(LOCAL_PATH)/%,%, \
694 $(wildcard \
695 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
696 $(addprefix $(dir)/, $(packages_to_document)) \
697 ) \
698 ) \
699 )
700
701# include definition of libcore_to_document
702include libcore/Docs.mk
703
704# include definition of junit_to_document
705include external/junit/Common.mk
706
707non_base_dirs := \
708 ../opt/telephony/src/java/android/provider \
709 ../opt/telephony/src/java/android/telephony \
710 ../opt/telephony/src/java/android/telephony/gsm \
711 ../opt/net/voip/src/java/android/net/rtp \
712 ../opt/net/voip/src/java/android/net/sip
713
714# These are relative to frameworks/base
715dirs_to_check_apis := \
716 $(fwbase_dirs_to_document) \
717 $(non_base_dirs)
718
George Mountf6be9932015-12-03 07:39:55 -0800719###########################################################
720## Return all directories that have a 'NO_DOCS' file in
721## them, appending a '%' to them to form a pattern to
722## filter out files under those directories.
723## $(1): A list of base directories to look at.
724###########################################################
725define find-no-docs-pattern
726$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
727endef
728
Bart Searsa8cc0582015-05-07 03:23:20 +0000729# These are relative to frameworks/base
730# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
731dirs_to_document := \
732 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700733 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
734 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000735
George Mountf6be9932015-12-03 07:39:55 -0800736patterns_to_not_document := \
737 $(call find-no-docs-pattern, $(dirs_to_document))
738
Bart Searsa8cc0582015-05-07 03:23:20 +0000739# These are relative to frameworks/base
740html_dirs := \
741 $(FRAMEWORKS_BASE_SUBDIRS) \
742 $(non_base_dirs)
743
744# Common sources for doc check and api check
745common_src_files := \
746 $(call find-other-html-files, $(html_dirs)) \
Neil Fullerf9611142015-10-07 10:30:56 +0100747 $(addprefix ../../, $(libcore_to_document)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000748 $(addprefix ../../external/junit/, $(junit_to_document))
749
750# These are relative to frameworks/base
751framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800752 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000753 $(common_src_files)
754
755# These are relative to frameworks/base
756framework_docs_LOCAL_API_CHECK_SRC_FILES := \
757 $(call find-other-java-files, $(dirs_to_check_apis)) \
758 $(common_src_files)
759
760# This is used by ide.mk as the list of source files that are
761# always included.
762INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
763
764framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
765 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
766
767framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
768 $(framework_res_source_path)/android/R.java \
769 $(framework_res_source_path)/android/Manifest.java \
770 $(framework_res_source_path)/com/android/internal/R.java
771
772framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000773 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000774 core-libart \
775 conscrypt \
776 bouncycastle \
777 okhttp \
778 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100779 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000780 framework \
781 telephony-common \
782 voip-common
783
784framework_docs_LOCAL_JAVA_LIBRARIES := \
785 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
786 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
787
788framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
789framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
790# The since flag (-since N.xml API_LEVEL) is used to add API Level information
791# to the reference documentation. Must be in order of oldest to newest.
792#
793# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
794# not be referenced in the documentation.
795framework_docs_LOCAL_DROIDDOC_OPTIONS := \
796 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100797 -knowntags ./libcore/known_oj_tags.txt \
Bart Searsa8cc0582015-05-07 03:23:20 +0000798 -hidePackage com.android.org.conscrypt \
799 -since $(SRC_API_DIR)/1.xml 1 \
800 -since $(SRC_API_DIR)/2.xml 2 \
801 -since $(SRC_API_DIR)/3.xml 3 \
802 -since $(SRC_API_DIR)/4.xml 4 \
803 -since $(SRC_API_DIR)/5.xml 5 \
804 -since $(SRC_API_DIR)/6.xml 6 \
805 -since $(SRC_API_DIR)/7.xml 7 \
806 -since $(SRC_API_DIR)/8.xml 8 \
807 -since $(SRC_API_DIR)/9.xml 9 \
808 -since $(SRC_API_DIR)/10.xml 10 \
809 -since $(SRC_API_DIR)/11.xml 11 \
810 -since $(SRC_API_DIR)/12.xml 12 \
811 -since $(SRC_API_DIR)/13.xml 13 \
812 -since $(SRC_API_DIR)/14.txt 14 \
813 -since $(SRC_API_DIR)/15.txt 15 \
814 -since $(SRC_API_DIR)/16.txt 16 \
815 -since $(SRC_API_DIR)/17.txt 17 \
816 -since $(SRC_API_DIR)/18.txt 18 \
817 -since $(SRC_API_DIR)/19.txt 19 \
818 -since $(SRC_API_DIR)/20.txt 20 \
819 -since $(SRC_API_DIR)/21.txt 21 \
820 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700821 -since $(SRC_API_DIR)/23.txt 23 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000822 -werror -hide 111 -hide 113 \
823 -overview $(LOCAL_PATH)/core/java/overview.html
824
825framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
826 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
827
828framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
829 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
830 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
831 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
832
833framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +0100834 frameworks/base/docs/knowntags.txt \
835 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +0000836
837samples_dir := development/samples/browseable
838
839# Whitelist of valid groups, used for default TOC grouping. Each sample must
840# belong to one (and only one) group. Assign samples to groups by setting
841# a sample.group var to one of these groups in the sample's _index.jd.
842sample_groups := -samplegroup Admin \
843 -samplegroup Background \
844 -samplegroup Connectivity \
845 -samplegroup Content \
846 -samplegroup Input \
847 -samplegroup Media \
848 -samplegroup Notification \
849 -samplegroup RenderScript \
850 -samplegroup Security \
851 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700852 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000853 -samplegroup Testing \
854 -samplegroup UI \
855 -samplegroup Views \
856 -samplegroup Wearable
857
858## SDK version identifiers used in the published docs
859 # major[.minor] version for current SDK. (full releases only)
Joe Fernandez1827e322015-08-12 19:45:22 -0700860framework_docs_SDK_VERSION:=6.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000861 # release version (ie "Release x") (full releases only)
862framework_docs_SDK_REL_ID:=1
863
864framework_docs_LOCAL_DROIDDOC_OPTIONS += \
865 -hdf sdk.version $(framework_docs_SDK_VERSION) \
866 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
867 -hdf sdk.preview 0
868
869# ==== the api stubs and current.xml ===========================
870include $(CLEAR_VARS)
871
872LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
873LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
874LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
875LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
876LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
877LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
878LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
879LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
880
881LOCAL_MODULE := api-stubs
882
Ying Wang0f92a2e2015-07-16 14:20:22 -0700883LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
884
Bart Searsa8cc0582015-05-07 03:23:20 +0000885LOCAL_DROIDDOC_OPTIONS:=\
886 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000887 -api $(INTERNAL_PLATFORM_API_FILE) \
888 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
889 -nodocs
890
891LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
892
893LOCAL_UNINSTALLABLE_MODULE := true
894
895include $(BUILD_DROIDDOC)
896
897# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
898$(full_target): $(framework_built) $(gen)
899$(INTERNAL_PLATFORM_API_FILE): $(full_target)
900$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
901
902# ==== the system api stubs ===================================
903include $(CLEAR_VARS)
904
905LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
906LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
907LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_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_API_CHECK_ADDITIONAL_JAVA_DIR)
912LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
913
914LOCAL_MODULE := system-api-stubs
915
Ying Wang0f92a2e2015-07-16 14:20:22 -0700916LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
917
Bart Searsa8cc0582015-05-07 03:23:20 +0000918LOCAL_DROIDDOC_OPTIONS:=\
919 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000920 -showAnnotation android.annotation.SystemApi \
921 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
922 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
923 -nodocs
924
925LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
926
927LOCAL_UNINSTALLABLE_MODULE := true
928
929include $(BUILD_DROIDDOC)
930
931# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
932$(full_target): $(framework_built) $(gen)
933$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
934$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
935
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000936# ==== the test api stubs ===================================
937include $(CLEAR_VARS)
938
939LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
940LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
941LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
942LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
943LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
944LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
945LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
946LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
947
948LOCAL_MODULE := test-api-stubs
949
950LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
951
952LOCAL_DROIDDOC_OPTIONS:=\
953 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
954 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
955 -showAnnotation android.annotation.TestApi \
956 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
957 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
958 -nodocs
959
960LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
961
962LOCAL_UNINSTALLABLE_MODULE := true
963
964include $(BUILD_DROIDDOC)
965
966# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
967$(full_target): $(framework_built) $(gen)
968$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
969$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
970
Bart Searsa8cc0582015-05-07 03:23:20 +0000971# ==== check javadoc comments but don't generate docs ========
972include $(CLEAR_VARS)
973
974LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
975LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
976LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
977LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
978LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
979LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
980LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
981LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
982
983LOCAL_MODULE := doc-comment-check
984
985LOCAL_DROIDDOC_OPTIONS:=\
986 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
987 -parsecomments
988
989LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
990
991LOCAL_UNINSTALLABLE_MODULE := true
992
993include $(BUILD_DROIDDOC)
994
995# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
996$(full_target): $(framework_built) $(gen)
997
998# Run this for checkbuild
999checkbuild: doc-comment-check-docs
1000# Check comment when you are updating the API
1001update-api: doc-comment-check-docs
1002
1003# ==== static html in the sdk ==================================
1004include $(CLEAR_VARS)
1005
1006LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1007LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1008LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1009LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1010LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1011LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1012LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1013LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1014
1015LOCAL_MODULE := offline-sdk
1016
1017LOCAL_DROIDDOC_OPTIONS:=\
1018 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1019 -offlinemode \
1020 -title "Android SDK" \
1021 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1022 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
1023 -sdkvalues $(OUT_DOCS) \
1024 -hdf android.whichdoc offline
1025
1026LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1027
1028include $(BUILD_DROIDDOC)
1029
1030static_doc_index_redirect := $(out_dir)/index.html
1031$(static_doc_index_redirect): \
1032 $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
1033 $(hide) mkdir -p $(dir $@)
1034 $(hide) $(ACP) $< $@
1035
1036$(full_target): $(static_doc_index_redirect)
1037$(full_target): $(framework_built)
1038
1039# ==== docs for the web (on the androiddevdocs app engine server) =======================
1040include $(CLEAR_VARS)
1041
1042LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1043LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1044LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1045LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1046LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1047LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1048LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1049LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1050LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1051LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1052
1053LOCAL_MODULE := online-sdk
1054
1055LOCAL_DROIDDOC_OPTIONS:= \
1056 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1057 -toroot / \
1058 -hdf android.whichdoc online \
1059 $(sample_groups) \
1060 -hdf android.hasSamples true \
1061 -samplesdir $(samples_dir)
1062
1063LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1064
1065include $(BUILD_DROIDDOC)
1066
1067# ==== docs for the web (on the androiddevdocs app engine server) =======================
1068# TODO: Fix the System API docs build.
1069ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1070include $(CLEAR_VARS)
1071
1072LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1073LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1074LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1075LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1076LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1077LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1078LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1079LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1080LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1081LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1082
1083LOCAL_MODULE := online-system-api-sdk
1084
1085LOCAL_DROIDDOC_OPTIONS:= \
1086 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1087 -showAnnotation android.annotation.SystemApi \
1088 -title "Android SDK - Including system APIs." \
1089 -toroot / \
1090 -hdf android.whichdoc online \
1091 $(sample_groups) \
1092 -hdf android.hasSamples true \
1093 -samplesdir $(samples_dir)
1094
1095LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1096# Don't build by default
1097LOCAL_UNINSTALLABLE_MODULE := true
1098
1099include $(BUILD_DROIDDOC)
1100endif # online-system-api-sdk-docs in make command line.
1101
1102# ==== docs for the web (on the devsite app engine server) =======================
1103include $(CLEAR_VARS)
1104LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1105LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1106LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1107LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1108LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1109LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1110LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1111LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1112LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1113# specify a second html input dir and an output path relative to OUT_DIR)
1114LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1115
1116LOCAL_MODULE := ds
1117
1118LOCAL_DROIDDOC_OPTIONS:= \
1119 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1120 -devsite \
1121 -toroot / \
1122 -hdf android.whichdoc online \
1123 -hdf devsite true
1124
1125LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1126
1127include $(BUILD_DROIDDOC)
1128
1129# ==== docs for the ndk =======================
1130include $(CLEAR_VARS)
1131LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1132LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1133LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1134LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1135LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1136LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1137LOCAL_DROIDDOC_HTML_DIR:=docs/html-ndk
1138LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1139LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1140# specify a second html input dir and an output path relative to OUT_DIR)
1141LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl /
1142
1143LOCAL_MODULE := online-ndk
1144
1145LOCAL_DROIDDOC_OPTIONS:= \
1146 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1147 -toroot / \
1148 -hdf android.whichdoc online \
1149 $(sample_groups) \
1150 -hdf android.hasSamples true \
1151 -samplesdir $(samples_dir)
1152
Dirk Dougherty85dea522015-05-21 14:20:25 -07001153LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001154
1155include $(BUILD_DROIDDOC)
1156
1157
1158# ==== docs that have all of the stuff that's @hidden =======================
1159include $(CLEAR_VARS)
1160
1161LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1162LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1163LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1164LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1165LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1166LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1167LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1168LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1169
1170LOCAL_MODULE := hidden
1171LOCAL_DROIDDOC_OPTIONS:=\
1172 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1173 -title "Android SDK - Including hidden APIs."
1174# -hidden
1175
1176LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1177
1178include $(BUILD_DROIDDOC)
1179
1180# Build ext.jar
1181# ============================================================
1182
1183ext_dirs := \
1184 ../../external/nist-sip/java \
1185 ../../external/tagsoup/src \
1186
1187ext_src_files := $(call all-java-files-under,$(ext_dirs))
1188
1189# ==== the library =========================================
1190include $(CLEAR_VARS)
1191
1192LOCAL_SRC_FILES := $(ext_src_files)
1193
1194LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001195LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001196LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1197LOCAL_MODULE_TAGS := optional
1198LOCAL_MODULE := ext
1199
1200LOCAL_DX_FLAGS := --core-library
1201
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001202ifneq ($(INCREMENTAL_BUILDS),)
1203 LOCAL_PROGUARD_ENABLED := disabled
1204 LOCAL_JACK_ENABLED := incremental
1205endif
1206
Bart Searsa8cc0582015-05-07 03:23:20 +00001207include $(BUILD_JAVA_LIBRARY)
1208
1209
1210# Include subdirectory makefiles
1211# ============================================================
1212
1213# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1214# team really wants is to build the stuff defined by this makefile.
1215ifeq (,$(ONE_SHOT_MAKEFILE))
1216include $(call first-makefiles-under,$(LOCAL_PATH))
1217endif
1218
1219endif # ANDROID_BUILD_EMBEDDED