blob: a49a587586d91e57411815c23f6f619e3c79cf1f [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 \
Jeff Sharkeydda938a2016-12-02 12:17:21 -070048 core/java/android/net/EventLogTags.logtags \
Bart Searsa8cc0582015-05-07 03:23:20 +000049 core/java/android/webkit/EventLogTags.logtags \
50 core/java/com/android/internal/logging/EventLogTags.logtags \
51
52## READ ME: ########################################################
53##
54## When updating this list of aidl files, consider if that aidl is
55## part of the SDK API. If it is, also add it to the list below that
56## is preprocessed and distributed with the SDK. This list should
57## not contain any aidl files for parcelables, but the one below should
58## if you intend for 3rd parties to be able to send those objects
59## across process boundaries.
60##
61## READ ME: ########################################################
62LOCAL_SRC_FILES += \
63 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
64 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
65 core/java/android/accounts/IAccountManager.aidl \
66 core/java/android/accounts/IAccountManagerResponse.aidl \
67 core/java/android/accounts/IAccountAuthenticator.aidl \
68 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
69 core/java/android/app/IActivityContainer.aidl \
70 core/java/android/app/IActivityContainerCallback.aidl \
71 core/java/android/app/IActivityController.aidl \
72 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070073 core/java/android/app/IAlarmCompleteListener.aidl \
74 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000075 core/java/android/app/IAlarmManager.aidl \
76 core/java/android/app/IAppTask.aidl \
77 core/java/android/app/ITaskStackListener.aidl \
78 core/java/android/app/IBackupAgent.aidl \
Todd Kennedy31b95e02016-08-04 14:27:15 -070079 core/java/android/app/IEphemeralResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000080 core/java/android/app/IInstrumentationWatcher.aidl \
81 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000082 core/java/android/app/IProcessObserver.aidl \
83 core/java/android/app/ISearchManager.aidl \
84 core/java/android/app/ISearchManagerCallback.aidl \
85 core/java/android/app/IServiceConnection.aidl \
86 core/java/android/app/IStopUserCallback.aidl \
87 core/java/android/app/job/IJobCallback.aidl \
88 core/java/android/app/job/IJobScheduler.aidl \
89 core/java/android/app/job/IJobService.aidl \
90 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070091 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000092 core/java/android/app/IUiAutomationConnection.aidl \
93 core/java/android/app/IUiModeManager.aidl \
94 core/java/android/app/IUserSwitchObserver.aidl \
95 core/java/android/app/IWallpaperManager.aidl \
96 core/java/android/app/IWallpaperManagerCallback.aidl \
97 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -070098 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000099 core/java/android/app/trust/ITrustManager.aidl \
100 core/java/android/app/trust/ITrustListener.aidl \
101 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100102 core/java/android/app/backup/IBackupObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000103 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
104 core/java/android/app/backup/IRestoreObserver.aidl \
105 core/java/android/app/backup/IRestoreSession.aidl \
106 core/java/android/app/usage/IUsageStatsManager.aidl \
107 core/java/android/bluetooth/IBluetooth.aidl \
108 core/java/android/bluetooth/IBluetoothA2dp.aidl \
109 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
110 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
111 core/java/android/bluetooth/IBluetoothCallback.aidl \
112 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
113 core/java/android/bluetooth/IBluetoothHeadset.aidl \
114 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
115 core/java/android/bluetooth/IBluetoothHealth.aidl \
116 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
117 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
118 core/java/android/bluetooth/IBluetoothPan.aidl \
119 core/java/android/bluetooth/IBluetoothManager.aidl \
120 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
Joseph Pirozzo631768d2016-09-01 14:19:28 -0700121 core/java/android/bluetooth/IBluetoothMap.aidl \
122 core/java/android/bluetooth/IBluetoothMapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000123 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800124 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000125 core/java/android/bluetooth/IBluetoothSap.aidl \
126 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
127 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
Ivan Podogov0afe1902016-12-23 11:52:21 +0000128 core/java/android/bluetooth/IBluetoothInputHost.aidl \
Hemant Guptae88fd4b2014-04-18 11:22:45 +0530129 core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000130 core/java/android/bluetooth/IBluetoothGatt.aidl \
131 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
132 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
Jakub Pawlowskia480f7f2016-08-05 06:40:31 -0700133 core/java/android/bluetooth/le/IAdvertiserCallback.aidl \
Jakub Pawlowskiac7fcfa2017-01-16 07:21:01 -0800134 core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
Jakub Pawlowski1b49e6e2016-10-26 13:05:30 -0700135 core/java/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000136 core/java/android/content/IClipboard.aidl \
137 core/java/android/content/IContentService.aidl \
138 core/java/android/content/IIntentReceiver.aidl \
139 core/java/android/content/IIntentSender.aidl \
140 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
141 core/java/android/content/IRestrictionsManager.aidl \
142 core/java/android/content/ISyncAdapter.aidl \
143 core/java/android/content/ISyncContext.aidl \
144 core/java/android/content/ISyncServiceAdapter.aidl \
145 core/java/android/content/ISyncStatusObserver.aidl \
146 core/java/android/content/pm/ILauncherApps.aidl \
147 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800148 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000149 core/java/android/content/pm/IPackageDataObserver.aidl \
150 core/java/android/content/pm/IPackageDeleteObserver.aidl \
151 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
152 core/java/android/content/pm/IPackageInstallObserver.aidl \
153 core/java/android/content/pm/IPackageInstallObserver2.aidl \
154 core/java/android/content/pm/IPackageInstaller.aidl \
155 core/java/android/content/pm/IPackageInstallerCallback.aidl \
156 core/java/android/content/pm/IPackageInstallerSession.aidl \
157 core/java/android/content/pm/IPackageManager.aidl \
158 core/java/android/content/pm/IPackageMoveObserver.aidl \
159 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700160 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800161 core/java/android/content/pm/IShortcutService.aidl \
Svet Ganovae0e03a2016-02-25 18:22:10 -0800162 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000163 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800164 ../av/camera/aidl/android/hardware/ICameraService.aidl \
165 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
166 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
167 ../av/camera/aidl/android/hardware/ICamera.aidl \
168 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
169 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
170 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000171 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000172 core/java/android/hardware/ISerialManager.aidl \
173 core/java/android/hardware/display/IDisplayManager.aidl \
174 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
175 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700176 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
177 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000178 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700179 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000180 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
181 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
182 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
183 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
184 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
185 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
186 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
187 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
188 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
189 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
190 core/java/android/hardware/input/IInputManager.aidl \
191 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100192 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000193 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700194 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000195 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
196 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
197 core/java/android/hardware/location/IFusedLocationHardware.aidl \
198 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
199 core/java/android/hardware/location/IGeofenceHardware.aidl \
200 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
201 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800202 core/java/android/hardware/location/IContextHubCallback.aidl \
203 core/java/android/hardware/location/IContextHubService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000204 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
205 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400206 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000207 core/java/android/net/IConnectivityManager.aidl \
Pavel Zhamaitsiak02b3e6b2016-02-03 10:39:44 -0800208 core/java/android/net/IConnectivityMetricsLogger.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900209 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000210 core/java/android/net/IEthernetManager.aidl \
211 core/java/android/net/IEthernetServiceListener.aidl \
212 core/java/android/net/INetworkManagementEventObserver.aidl \
213 core/java/android/net/INetworkPolicyListener.aidl \
214 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslind1daf6d2016-11-28 17:47:35 -0800215 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000216 core/java/android/net/INetworkScoreCache.aidl \
217 core/java/android/net/INetworkScoreService.aidl \
218 core/java/android/net/INetworkStatsService.aidl \
219 core/java/android/net/INetworkStatsSession.aidl \
220 core/java/android/net/nsd/INsdManager.aidl \
221 core/java/android/nfc/IAppCallback.aidl \
222 core/java/android/nfc/INfcAdapter.aidl \
223 core/java/android/nfc/INfcAdapterExtras.aidl \
224 core/java/android/nfc/INfcTag.aidl \
225 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900226 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000227 core/java/android/nfc/INfcUnlockHandler.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200228 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000229 core/java/android/os/IBatteryPropertiesListener.aidl \
230 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
231 core/java/android/os/ICancellationSignal.aidl \
232 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100233 core/java/android/os/IHardwarePropertiesManager.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800234 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000235 core/java/android/os/IMessenger.aidl \
236 core/java/android/os/INetworkActivityListener.aidl \
237 core/java/android/os/INetworkManagementService.aidl \
238 core/java/android/os/IPermissionController.aidl \
239 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600240 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000241 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800242 core/java/android/os/IRecoverySystem.aidl \
243 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000244 core/java/android/os/IRemoteCallback.aidl \
245 core/java/android/os/ISchedulingPolicyService.aidl \
246 core/java/android/os/IUpdateLock.aidl \
247 core/java/android/os/IUserManager.aidl \
248 core/java/android/os/IVibratorService.aidl \
249 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700250 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000251 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
252 core/java/android/service/carrier/ICarrierMessagingService.aidl \
253 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
254 core/java/android/service/notification/INotificationListener.aidl \
255 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
256 core/java/android/service/notification/IConditionListener.aidl \
257 core/java/android/service/notification/IConditionProvider.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800258 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700259 core/java/android/service/vr/IVrManager.aidl \
260 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000261 core/java/android/print/ILayoutResultCallback.aidl \
262 core/java/android/print/IPrinterDiscoveryObserver.aidl \
263 core/java/android/print/IPrintDocumentAdapter.aidl \
264 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
265 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800266 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700267 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000268 core/java/android/print/IPrintManager.aidl \
269 core/java/android/print/IPrintSpooler.aidl \
270 core/java/android/print/IPrintSpoolerCallbacks.aidl \
271 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700272 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
273 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000274 core/java/android/print/IWriteResultCallback.aidl \
275 core/java/android/printservice/IPrintService.aidl \
276 core/java/android/printservice/IPrintServiceClient.aidl \
277 core/java/android/service/dreams/IDreamManager.aidl \
278 core/java/android/service/dreams/IDreamService.aidl \
279 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
280 core/java/android/service/trust/ITrustAgentService.aidl \
281 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
282 core/java/android/service/voice/IVoiceInteractionService.aidl \
283 core/java/android/service/voice/IVoiceInteractionSession.aidl \
284 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
285 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
286 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
287 core/java/android/service/wallpaper/IWallpaperService.aidl \
288 core/java/android/service/chooser/IChooserTargetService.aidl \
289 core/java/android/service/chooser/IChooserTargetResult.aidl \
290 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
291 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
292 core/java/android/view/accessibility/IAccessibilityManager.aidl \
293 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
294 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100295 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000296 core/java/android/view/IAssetAtlas.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100297 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000298 core/java/android/view/IGraphicsStats.aidl \
299 core/java/android/view/IInputFilter.aidl \
300 core/java/android/view/IInputFilterHost.aidl \
301 core/java/android/view/IOnKeyguardExitResult.aidl \
302 core/java/android/view/IRotationWatcher.aidl \
303 core/java/android/view/IWindow.aidl \
304 core/java/android/view/IWindowFocusObserver.aidl \
305 core/java/android/view/IWindowId.aidl \
306 core/java/android/view/IWindowManager.aidl \
307 core/java/android/view/IWindowSession.aidl \
308 core/java/android/view/IWindowSessionCallback.aidl \
309 core/java/android/webkit/IWebViewUpdateService.aidl \
310 core/java/android/speech/IRecognitionListener.aidl \
311 core/java/android/speech/IRecognitionService.aidl \
312 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
313 core/java/android/speech/tts/ITextToSpeechService.aidl \
314 core/java/com/android/internal/app/IAppOpsCallback.aidl \
315 core/java/com/android/internal/app/IAppOpsService.aidl \
316 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
317 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800318 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000319 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700320 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000321 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
322 core/java/com/android/internal/app/IVoiceInteractor.aidl \
323 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
324 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
325 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700326 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000327 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
328 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
329 core/java/com/android/internal/backup/IBackupTransport.aidl \
330 core/java/com/android/internal/backup/IObbBackupService.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700331 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700332 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000333 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
334 core/java/com/android/internal/policy/IKeyguardService.aidl \
335 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800336 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000337 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
338 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
339 core/java/com/android/internal/os/IResultReceiver.aidl \
340 core/java/com/android/internal/statusbar/IStatusBar.aidl \
341 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
342 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
343 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
344 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
345 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
346 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700347 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000348 core/java/com/android/internal/view/IInputContext.aidl \
349 core/java/com/android/internal/view/IInputContextCallback.aidl \
350 core/java/com/android/internal/view/IInputMethod.aidl \
351 core/java/com/android/internal/view/IInputMethodClient.aidl \
352 core/java/com/android/internal/view/IInputMethodManager.aidl \
353 core/java/com/android/internal/view/IInputMethodSession.aidl \
354 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700355 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000356 core/java/com/android/internal/widget/ILockSettings.aidl \
357 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
358 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
359 keystore/java/android/security/IKeyChainAliasCallback.aidl \
360 keystore/java/android/security/IKeyChainService.aidl \
361 location/java/android/location/ICountryDetector.aidl \
362 location/java/android/location/ICountryListener.aidl \
363 location/java/android/location/IFusedProvider.aidl \
364 location/java/android/location/IGeocodeProvider.aidl \
365 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800366 location/java/android/location/IGnssStatusListener.aidl \
367 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800368 location/java/android/location/IGnssMeasurementsListener.aidl \
369 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000370 location/java/android/location/ILocationListener.aidl \
371 location/java/android/location/ILocationManager.aidl \
372 location/java/android/location/IFusedGeofenceHardware.aidl \
373 location/java/android/location/IGpsGeofenceHardware.aidl \
374 location/java/android/location/INetInitiatedListener.aidl \
375 location/java/com/android/internal/location/ILocationProvider.aidl \
376 media/java/android/media/IAudioService.aidl \
377 media/java/android/media/IAudioFocusDispatcher.aidl \
378 media/java/android/media/IAudioRoutesObserver.aidl \
379 media/java/android/media/IMediaHTTPConnection.aidl \
380 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900381 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000382 media/java/android/media/IMediaRouterClient.aidl \
383 media/java/android/media/IMediaRouterService.aidl \
384 media/java/android/media/IMediaScannerListener.aidl \
385 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800386 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000387 media/java/android/media/IRemoteDisplayCallback.aidl \
388 media/java/android/media/IRemoteDisplayProvider.aidl \
389 media/java/android/media/IRemoteVolumeController.aidl \
390 media/java/android/media/IRemoteVolumeObserver.aidl \
391 media/java/android/media/IRingtonePlayer.aidl \
392 media/java/android/media/IVolumeController.aidl \
393 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700394 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000395 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700396 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000397 media/java/android/media/midi/IMidiDeviceServer.aidl \
398 media/java/android/media/midi/IMidiManager.aidl \
399 media/java/android/media/projection/IMediaProjection.aidl \
400 media/java/android/media/projection/IMediaProjectionCallback.aidl \
401 media/java/android/media/projection/IMediaProjectionManager.aidl \
402 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
403 media/java/android/media/session/IActiveSessionsListener.aidl \
404 media/java/android/media/session/ISessionController.aidl \
405 media/java/android/media/session/ISessionControllerCallback.aidl \
406 media/java/android/media/session/ISession.aidl \
407 media/java/android/media/session/ISessionCallback.aidl \
408 media/java/android/media/session/ISessionManager.aidl \
409 media/java/android/media/tv/ITvInputClient.aidl \
410 media/java/android/media/tv/ITvInputHardware.aidl \
411 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
412 media/java/android/media/tv/ITvInputManager.aidl \
413 media/java/android/media/tv/ITvInputManagerCallback.aidl \
414 media/java/android/media/tv/ITvInputService.aidl \
415 media/java/android/media/tv/ITvInputServiceCallback.aidl \
416 media/java/android/media/tv/ITvInputSession.aidl \
417 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800418 media/java/android/media/tv/ITvRemoteProvider.aidl \
419 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000420 media/java/android/service/media/IMediaBrowserService.aidl \
421 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800422 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
423 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000424 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
425 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
426 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
427 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
428 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
429 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
430 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
431 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
432 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
433 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
434 telephony/java/com/android/ims/internal/IImsConfig.aidl \
435 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
436 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
437 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800438 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger1639c212017-01-25 14:26:41 -0800439 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800440 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000441 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800442 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
443 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000444 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
445 telephony/java/com/android/ims/internal/IImsUt.aidl \
446 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
447 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
448 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700449 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
450 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
451 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
452 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
453 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
454 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000455 telephony/java/com/android/ims/ImsConfigListener.aidl \
456 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
457 telephony/java/com/android/internal/telephony/IMms.aidl \
458 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
459 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
460 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
461 telephony/java/com/android/internal/telephony/ISms.aidl \
462 telephony/java/com/android/internal/telephony/ISub.aidl \
463 telephony/java/com/android/internal/telephony/ITelephony.aidl \
464 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
465 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
466 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen0849ded2016-10-26 11:22:06 -0700467 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
468 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
469 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000470 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
471 wifi/java/android/net/wifi/IWifiScanner.aidl \
472 wifi/java/android/net/wifi/IRttManager.aidl \
473 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
474 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
475 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500476 core/java/android/service/quicksettings/IQSService.aidl \
477 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000478
Tao Baobdc77362016-01-19 15:52:28 -0800479# The following are native binders that need to go with the native component
480# at system/update_engine/binder_bindings/. Use relative path to refer to them.
481LOCAL_SRC_FILES += \
482 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
483 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
484
Erik Kline4e37b702016-07-05 11:34:21 +0900485LOCAL_SRC_FILES += \
486 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700487 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900488
Tao Baobdc77362016-01-19 15:52:28 -0800489LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
490
Bart Searsa8cc0582015-05-07 03:23:20 +0000491# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800492LOCAL_AIDL_INCLUDES += \
493 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
494 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000495
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800496LOCAL_AIDL_INCLUDES += \
497 frameworks/av/camera/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100498 frameworks/native/aidl/gui \
499 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800500
Bart Searsa8cc0582015-05-07 03:23:20 +0000501LOCAL_INTERMEDIATE_SOURCES := \
502 $(framework_res_source_path)/android/R.java \
503 $(framework_res_source_path)/android/Manifest.java \
504 $(framework_res_source_path)/com/android/internal/R.java
505
Colin Crossc558dd92016-08-31 18:01:06 -0700506# Make sure that R.java and Manifest.java are built before we build
507# the source for this library.
508framework_res_R_stamp := \
509 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
510LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
511
Bart Searsa8cc0582015-05-07 03:23:20 +0000512LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffindf257602016-11-30 13:29:39 +0000513LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Chris Wren77781d32016-01-11 14:49:26 -0500514LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
Bart Searsa8cc0582015-05-07 03:23:20 +0000515
516LOCAL_MODULE := framework
517
Colin Crossbe2d3302016-12-21 16:48:32 -0800518LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000519LOCAL_JACK_FLAGS := --multi-dex native
520
521LOCAL_RMTYPEDEFS := true
522
Allen Hair0e4f0142016-06-27 17:01:50 -0700523ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
524LOCAL_EMMA_INSTRUMENT := true
525endif
526
Bart Searsa8cc0582015-05-07 03:23:20 +0000527include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700528
Bart Searsa8cc0582015-05-07 03:23:20 +0000529framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000530$(framework_module): | $(dir $(framework_module))framework-res.apk
531
532framework_built := $(call java-lib-deps,framework)
533
534# Copy AIDL files to be preprocessed and included in the SDK,
535# specified relative to the root of the build tree.
536# ============================================================
537include $(CLEAR_VARS)
538
539aidl_files := \
540 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
541 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
542 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
543 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
544 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
545 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700546 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000547 frameworks/base/location/java/android/location/Location.aidl \
548 frameworks/base/location/java/android/location/Address.aidl \
549 frameworks/base/location/java/android/location/Criteria.aidl \
550 frameworks/base/media/java/android/media/MediaMetadata.aidl \
551 frameworks/base/media/java/android/media/MediaDescription.aidl \
552 frameworks/base/media/java/android/media/Rating.aidl \
553 frameworks/base/media/java/android/media/AudioAttributes.aidl \
554 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
555 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
556 frameworks/base/media/java/android/media/session/MediaSession.aidl \
557 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
558 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
559 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
560 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen0849ded2016-10-26 11:22:06 -0700561 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
562 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
563 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000564 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
565 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
566 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
567 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
568 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
569 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
570 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
571 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
572 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800573 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000574 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
575 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
576 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
577 frameworks/base/graphics/java/android/graphics/Region.aidl \
578 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
579 frameworks/base/graphics/java/android/graphics/Point.aidl \
580 frameworks/base/graphics/java/android/graphics/PointF.aidl \
581 frameworks/base/graphics/java/android/graphics/RectF.aidl \
582 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800583 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000584 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
585 frameworks/base/core/java/android/accounts/Account.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100586 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000587 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
588 frameworks/base/core/java/android/print/PageRange.aidl \
589 frameworks/base/core/java/android/print/PrintAttributes.aidl \
590 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
591 frameworks/base/core/java/android/print/PrinterId.aidl \
592 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
593 frameworks/base/core/java/android/print/PrinterInfo.aidl \
594 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700595 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000596 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
597 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
598 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
599 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
600 frameworks/base/core/java/android/os/Messenger.aidl \
601 frameworks/base/core/java/android/os/PatternMatcher.aidl \
602 frameworks/base/core/java/android/os/Message.aidl \
603 frameworks/base/core/java/android/os/UserHandle.aidl \
604 frameworks/base/core/java/android/os/ParcelUuid.aidl \
605 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
606 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000607 frameworks/base/core/java/android/os/WorkSource.aidl \
608 frameworks/base/core/java/android/os/DropBoxManager.aidl \
609 frameworks/base/core/java/android/os/Bundle.aidl \
610 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
611 frameworks/base/core/java/android/net/Network.aidl \
612 frameworks/base/core/java/android/net/RouteInfo.aidl \
613 frameworks/base/core/java/android/net/NetworkInfo.aidl \
614 frameworks/base/core/java/android/net/IpPrefix.aidl \
615 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
616 frameworks/base/core/java/android/net/DhcpInfo.aidl \
617 frameworks/base/core/java/android/net/ProxyInfo.aidl \
618 frameworks/base/core/java/android/net/LinkProperties.aidl \
619 frameworks/base/core/java/android/net/Uri.aidl \
620 frameworks/base/core/java/android/net/NetworkRequest.aidl \
621 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700622 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700623 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000624 frameworks/base/core/java/android/view/InputDevice.aidl \
625 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800626 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700627 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000628 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
629 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
630 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
631 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
632 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
633 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
634 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
635 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
636 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
637 frameworks/base/core/java/android/view/DragEvent.aidl \
638 frameworks/base/core/java/android/view/KeyEvent.aidl \
639 frameworks/base/core/java/android/view/WindowManager.aidl \
640 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
641 frameworks/base/core/java/android/view/MotionEvent.aidl \
642 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
643 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
644 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
645 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
646 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
647 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
648 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
649 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
650 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
651 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
652 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
653 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
654 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
655 frameworks/base/core/java/android/speech/tts/Voice.aidl \
656 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000657 frameworks/base/core/java/android/app/Notification.aidl \
658 frameworks/base/core/java/android/app/NotificationManager.aidl \
659 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
660 frameworks/base/core/java/android/app/AppOpsManager.aidl \
661 frameworks/base/core/java/android/app/ActivityManager.aidl \
662 frameworks/base/core/java/android/app/PendingIntent.aidl \
663 frameworks/base/core/java/android/app/AlarmManager.aidl \
664 frameworks/base/core/java/android/app/SearchableInfo.aidl \
665 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700666 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
667 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000668 frameworks/base/core/java/android/app/job/JobParameters.aidl \
669 frameworks/base/core/java/android/app/job/JobInfo.aidl \
670 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
671 frameworks/base/core/java/android/content/ClipDescription.aidl \
672 frameworks/base/core/java/android/content/IntentFilter.aidl \
673 frameworks/base/core/java/android/content/Intent.aidl \
674 frameworks/base/core/java/android/content/res/Configuration.aidl \
675 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
676 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
677 frameworks/base/core/java/android/content/ClipData.aidl \
678 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
679 frameworks/base/core/java/android/content/SyncRequest.aidl \
680 frameworks/base/core/java/android/content/PeriodicSync.aidl \
681 frameworks/base/core/java/android/content/SyncResult.aidl \
682 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
683 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
684 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
685 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
686 frameworks/base/core/java/android/content/pm/Signature.aidl \
687 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
688 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
689 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
690 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
691 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
692 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
693 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
694 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800695 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000696 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
697 frameworks/base/core/java/android/content/ComponentName.aidl \
698 frameworks/base/core/java/android/content/SyncStats.aidl \
699 frameworks/base/core/java/android/content/ContentValues.aidl \
700 frameworks/base/core/java/android/content/SyncInfo.aidl \
701 frameworks/base/core/java/android/content/IntentSender.aidl \
702 frameworks/base/core/java/android/widget/RemoteViews.aidl \
703 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
704 frameworks/base/core/java/android/nfc/Tag.aidl \
705 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
706 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
707 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
708 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
709 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
710 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
711 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
712 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
713 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
714 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500715 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800716 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100717 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700718 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000719
720gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
721$(gen): PRIVATE_SRC_FILES := $(aidl_files)
722ALL_SDK_FILES += $(gen)
723$(gen): $(aidl_files) | $(AIDL)
724 @echo Aidl Preprocess: $@
725 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
726
727# the documentation
728# ============================================================
729
730# TODO: deal with com/google/android/googleapps
731packages_to_document := \
732 android \
733 javax/microedition/khronos \
734 org/apache/http/conn \
735 org/apache/http/params
736
737
738# Search through the base framework dirs for these packages.
739# The result will be relative to frameworks/base.
740fwbase_dirs_to_document := \
Paul Duffindf257602016-11-30 13:29:39 +0000741 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000742 test-runner/src \
743 $(patsubst $(LOCAL_PATH)/%,%, \
744 $(wildcard \
745 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
746 $(addprefix $(dir)/, $(packages_to_document)) \
747 ) \
748 ) \
749 )
750
751# include definition of libcore_to_document
752include libcore/Docs.mk
753
Bart Searsa8cc0582015-05-07 03:23:20 +0000754non_base_dirs := \
755 ../opt/telephony/src/java/android/provider \
756 ../opt/telephony/src/java/android/telephony \
757 ../opt/telephony/src/java/android/telephony/gsm \
758 ../opt/net/voip/src/java/android/net/rtp \
759 ../opt/net/voip/src/java/android/net/sip
760
761# These are relative to frameworks/base
762dirs_to_check_apis := \
763 $(fwbase_dirs_to_document) \
764 $(non_base_dirs)
765
George Mountf6be9932015-12-03 07:39:55 -0800766###########################################################
767## Return all directories that have a 'NO_DOCS' file in
768## them, appending a '%' to them to form a pattern to
769## filter out files under those directories.
770## $(1): A list of base directories to look at.
771###########################################################
772define find-no-docs-pattern
773$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
774endef
775
Bart Searsa8cc0582015-05-07 03:23:20 +0000776# These are relative to frameworks/base
777# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
778dirs_to_document := \
779 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700780 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
781 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000782
George Mountf6be9932015-12-03 07:39:55 -0800783patterns_to_not_document := \
784 $(call find-no-docs-pattern, $(dirs_to_document))
785
Bart Searsa8cc0582015-05-07 03:23:20 +0000786# These are relative to frameworks/base
787html_dirs := \
788 $(FRAMEWORKS_BASE_SUBDIRS) \
789 $(non_base_dirs)
790
791# Common sources for doc check and api check
792common_src_files := \
793 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000794 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000795
796# These are relative to frameworks/base
797framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800798 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000799 $(common_src_files)
800
801# These are relative to frameworks/base
802framework_docs_LOCAL_API_CHECK_SRC_FILES := \
803 $(call find-other-java-files, $(dirs_to_check_apis)) \
804 $(common_src_files)
805
806# This is used by ide.mk as the list of source files that are
807# always included.
808INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
809
810framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
811 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
812
813framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
814 $(framework_res_source_path)/android/R.java \
815 $(framework_res_source_path)/android/Manifest.java \
816 $(framework_res_source_path)/com/android/internal/R.java
817
818framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000819 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000820 core-libart \
821 conscrypt \
822 bouncycastle \
823 okhttp \
824 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100825 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000826 framework \
827 telephony-common \
828 voip-common
829
830framework_docs_LOCAL_JAVA_LIBRARIES := \
831 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
832 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
833
834framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
835framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
836# The since flag (-since N.xml API_LEVEL) is used to add API Level information
837# to the reference documentation. Must be in order of oldest to newest.
838#
839# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
840# not be referenced in the documentation.
841framework_docs_LOCAL_DROIDDOC_OPTIONS := \
842 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100843 -knowntags ./libcore/known_oj_tags.txt \
Bart Searsa8cc0582015-05-07 03:23:20 +0000844 -hidePackage com.android.org.conscrypt \
845 -since $(SRC_API_DIR)/1.xml 1 \
846 -since $(SRC_API_DIR)/2.xml 2 \
847 -since $(SRC_API_DIR)/3.xml 3 \
848 -since $(SRC_API_DIR)/4.xml 4 \
849 -since $(SRC_API_DIR)/5.xml 5 \
850 -since $(SRC_API_DIR)/6.xml 6 \
851 -since $(SRC_API_DIR)/7.xml 7 \
852 -since $(SRC_API_DIR)/8.xml 8 \
853 -since $(SRC_API_DIR)/9.xml 9 \
854 -since $(SRC_API_DIR)/10.xml 10 \
855 -since $(SRC_API_DIR)/11.xml 11 \
856 -since $(SRC_API_DIR)/12.xml 12 \
857 -since $(SRC_API_DIR)/13.xml 13 \
858 -since $(SRC_API_DIR)/14.txt 14 \
859 -since $(SRC_API_DIR)/15.txt 15 \
860 -since $(SRC_API_DIR)/16.txt 16 \
861 -since $(SRC_API_DIR)/17.txt 17 \
862 -since $(SRC_API_DIR)/18.txt 18 \
863 -since $(SRC_API_DIR)/19.txt 19 \
864 -since $(SRC_API_DIR)/20.txt 20 \
865 -since $(SRC_API_DIR)/21.txt 21 \
866 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700867 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -0700868 -since $(SRC_API_DIR)/24.txt 24 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000869 -werror -hide 111 -hide 113 \
870 -overview $(LOCAL_PATH)/core/java/overview.html
871
872framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
873 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
874
875framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
876 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
877 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
878 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
879
880framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +0100881 frameworks/base/docs/knowntags.txt \
882 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +0000883
884samples_dir := development/samples/browseable
885
886# Whitelist of valid groups, used for default TOC grouping. Each sample must
887# belong to one (and only one) group. Assign samples to groups by setting
888# a sample.group var to one of these groups in the sample's _index.jd.
889sample_groups := -samplegroup Admin \
890 -samplegroup Background \
891 -samplegroup Connectivity \
892 -samplegroup Content \
893 -samplegroup Input \
894 -samplegroup Media \
895 -samplegroup Notification \
896 -samplegroup RenderScript \
897 -samplegroup Security \
898 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700899 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000900 -samplegroup Testing \
901 -samplegroup UI \
902 -samplegroup Views \
903 -samplegroup Wearable
904
905## SDK version identifiers used in the published docs
906 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -0700907framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000908 # release version (ie "Release x") (full releases only)
909framework_docs_SDK_REL_ID:=1
910
911framework_docs_LOCAL_DROIDDOC_OPTIONS += \
smain@google.com7aca8be2016-03-10 14:13:30 -0800912 -hdf sdk.codename N \
smain@google.com39426fd2016-07-13 13:58:06 -0700913 -hdf sdk.preview.version 5 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000914 -hdf sdk.version $(framework_docs_SDK_VERSION) \
915 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
smain@google.comdde8deb2016-08-29 18:36:50 -0700916 -hdf sdk.preview 0
Bart Searsa8cc0582015-05-07 03:23:20 +0000917
918# ==== the api stubs and current.xml ===========================
919include $(CLEAR_VARS)
920
921LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
922LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
923LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
924LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
925LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
926LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
927LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
928LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
929
930LOCAL_MODULE := api-stubs
931
Ying Wang0f92a2e2015-07-16 14:20:22 -0700932LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
933
Bart Searsa8cc0582015-05-07 03:23:20 +0000934LOCAL_DROIDDOC_OPTIONS:=\
935 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -0700936 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +0000937 -api $(INTERNAL_PLATFORM_API_FILE) \
938 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
939 -nodocs
940
941LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
942
943LOCAL_UNINSTALLABLE_MODULE := true
944
945include $(BUILD_DROIDDOC)
946
947# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
948$(full_target): $(framework_built) $(gen)
949$(INTERNAL_PLATFORM_API_FILE): $(full_target)
950$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
951
952# ==== the system api stubs ===================================
953include $(CLEAR_VARS)
954
955LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
956LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
957LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
958LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
959LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
960LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
961LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
962LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
963
964LOCAL_MODULE := system-api-stubs
965
Ying Wang0f92a2e2015-07-16 14:20:22 -0700966LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
967
Bart Searsa8cc0582015-05-07 03:23:20 +0000968LOCAL_DROIDDOC_OPTIONS:=\
969 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -0700970 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +0000971 -showAnnotation android.annotation.SystemApi \
972 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
973 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
974 -nodocs
975
976LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
977
978LOCAL_UNINSTALLABLE_MODULE := true
979
980include $(BUILD_DROIDDOC)
981
982# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
983$(full_target): $(framework_built) $(gen)
984$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
985$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
986
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000987# ==== the test api stubs ===================================
988include $(CLEAR_VARS)
989
990LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
991LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
992LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
993LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
994LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
995LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
996LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
997LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
998
999LOCAL_MODULE := test-api-stubs
1000
1001LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1002
1003LOCAL_DROIDDOC_OPTIONS:=\
1004 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001005 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001006 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1007 -showAnnotation android.annotation.TestApi \
1008 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1009 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
1010 -nodocs
1011
1012LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1013
1014LOCAL_UNINSTALLABLE_MODULE := true
1015
1016include $(BUILD_DROIDDOC)
1017
1018# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1019$(full_target): $(framework_built) $(gen)
1020$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1021$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1022
Bart Searsa8cc0582015-05-07 03:23:20 +00001023# ==== check javadoc comments but don't generate docs ========
1024include $(CLEAR_VARS)
1025
1026LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1027LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1028LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1029LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1030LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1031LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1032LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1033LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1034
1035LOCAL_MODULE := doc-comment-check
1036
1037LOCAL_DROIDDOC_OPTIONS:=\
1038 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001039 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001040 -parsecomments
1041
1042LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1043
1044LOCAL_UNINSTALLABLE_MODULE := true
1045
1046include $(BUILD_DROIDDOC)
1047
1048# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1049$(full_target): $(framework_built) $(gen)
1050
1051# Run this for checkbuild
1052checkbuild: doc-comment-check-docs
1053# Check comment when you are updating the API
1054update-api: doc-comment-check-docs
1055
1056# ==== static html in the sdk ==================================
1057include $(CLEAR_VARS)
1058
1059LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1060LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1061LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1062LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1063LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1064LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1065LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1066LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1067
1068LOCAL_MODULE := offline-sdk
1069
1070LOCAL_DROIDDOC_OPTIONS:=\
1071 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1072 -offlinemode \
1073 -title "Android SDK" \
1074 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001075 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001076 -hdf android.whichdoc offline
1077
smain@google.com534bfe12016-09-01 19:52:17 -07001078LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001079
1080include $(BUILD_DROIDDOC)
1081
1082static_doc_index_redirect := $(out_dir)/index.html
1083$(static_doc_index_redirect): \
1084 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1085 $(hide) mkdir -p $(dir $@)
1086 $(hide) $(ACP) $< $@
1087
1088$(full_target): $(static_doc_index_redirect)
1089$(full_target): $(framework_built)
1090
1091
1092# ==== static html in the sdk ==================================
1093include $(CLEAR_VARS)
1094
1095LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1096LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1097LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1098LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1099LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1100LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1101LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1102LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1103
1104LOCAL_MODULE := offline-sdk-referenceonly
1105
1106LOCAL_DROIDDOC_OPTIONS:=\
1107 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1108 -offlinemode \
1109 -title "Android SDK" \
1110 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1111 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001112 -hdf android.whichdoc offline \
1113 -referenceonly
1114
smain@google.comf7b6dad2016-03-22 14:17:55 -07001115LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001116
1117include $(BUILD_DROIDDOC)
1118
1119static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001120$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001121 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001122
smain@google.com2f2365d2016-09-21 14:05:50 -07001123static_doc_properties := $(out_dir)/source.properties
1124$(static_doc_properties): \
1125 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1126 $(hide) mkdir -p $(dir $@)
1127 $(hide) $(ACP) $< $@
1128
smain@google.com00de8c52016-03-07 18:38:08 -08001129$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001130$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001131$(full_target): $(framework_built)
1132
smain@google.com7aca8be2016-03-10 14:13:30 -08001133
Bart Searsa8cc0582015-05-07 03:23:20 +00001134# ==== docs for the web (on the androiddevdocs app engine server) =======================
1135include $(CLEAR_VARS)
1136
1137LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1138LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1139LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1140LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1141LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1142LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1143LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1144LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1145LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1146LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1147
1148LOCAL_MODULE := online-sdk
1149
1150LOCAL_DROIDDOC_OPTIONS:= \
1151 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1152 -toroot / \
1153 -hdf android.whichdoc online \
1154 $(sample_groups) \
1155 -hdf android.hasSamples true \
1156 -samplesdir $(samples_dir)
1157
1158LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1159
1160include $(BUILD_DROIDDOC)
1161
1162# ==== docs for the web (on the androiddevdocs app engine server) =======================
1163# TODO: Fix the System API docs build.
1164ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1165include $(CLEAR_VARS)
1166
1167LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1168LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1169LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1170LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1171LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1172LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1173LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1174LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1175LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1176LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1177
1178LOCAL_MODULE := online-system-api-sdk
1179
1180LOCAL_DROIDDOC_OPTIONS:= \
1181 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001182 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001183 -showAnnotation android.annotation.SystemApi \
1184 -title "Android SDK - Including system APIs." \
1185 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001186 -hide 101 \
1187 -hide 104 \
1188 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001189 -hdf android.whichdoc online \
1190 $(sample_groups) \
1191 -hdf android.hasSamples true \
1192 -samplesdir $(samples_dir)
1193
1194LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1195# Don't build by default
1196LOCAL_UNINSTALLABLE_MODULE := true
1197
1198include $(BUILD_DROIDDOC)
1199endif # online-system-api-sdk-docs in make command line.
1200
1201# ==== docs for the web (on the devsite app engine server) =======================
1202include $(CLEAR_VARS)
1203LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1204LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1205LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1206LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1207LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1208LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1209LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1210LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1211LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1212# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001213LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001214
1215LOCAL_MODULE := ds
1216
1217LOCAL_DROIDDOC_OPTIONS:= \
1218 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001219 -toroot / \
1220 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001221 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001222 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001223 -hdf android.hasSamples true \
1224 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001225
smain@google.com534bfe12016-09-01 19:52:17 -07001226LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001227
1228include $(BUILD_DROIDDOC)
1229
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001230# ==== docs for the web (on the devsite app engine server) =======================
1231include $(CLEAR_VARS)
1232LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1233LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1234LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1235LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1236LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1237LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1238LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1239LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1240LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1241# specify a second html input dir and an output path relative to OUT_DIR)
1242LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1243
1244LOCAL_MODULE := ds-static
1245
1246LOCAL_DROIDDOC_OPTIONS:= \
1247 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1248 -hdf android.whichdoc online \
1249 -staticonly \
1250 -toroot / \
1251 -devsite \
1252 -ignoreJdLinks
1253
smain@google.com534bfe12016-09-01 19:52:17 -07001254LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001255
1256include $(BUILD_DROIDDOC)
1257
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001258# ==== generates full navtree for resolving @links in ds postprocessing ====
1259include $(CLEAR_VARS)
1260
1261LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1262LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1263LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1264LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1265LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1266LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1267LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1268LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1269
1270LOCAL_MODULE := ds-ref-navtree
1271
1272LOCAL_DROIDDOC_OPTIONS:= \
1273 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1274 -hdf android.whichdoc online \
1275 -toroot / \
1276 -atLinksNavtree \
1277 -navtreeonly
1278
1279LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001280
1281include $(BUILD_DROIDDOC)
1282
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001283# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001284include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001285
Bart Searsa8cc0582015-05-07 03:23:20 +00001286LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1287LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1288LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1289LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1290LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1291LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001292LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001293LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1294LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001295LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001296
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001297LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001298
1299LOCAL_DROIDDOC_OPTIONS:= \
1300 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1301 -toroot / \
1302 -hdf android.whichdoc online \
1303 $(sample_groups) \
1304 -hdf android.hasSamples true \
1305 -samplesdir $(samples_dir)
1306
smain@google.com534bfe12016-09-01 19:52:17 -07001307LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001308
1309include $(BUILD_DROIDDOC)
1310
Bart Searsa8cc0582015-05-07 03:23:20 +00001311# ==== docs that have all of the stuff that's @hidden =======================
1312include $(CLEAR_VARS)
1313
1314LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1315LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1316LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1317LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1318LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1319LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1320LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1321LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1322
1323LOCAL_MODULE := hidden
1324LOCAL_DROIDDOC_OPTIONS:=\
1325 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001326 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001327 -title "Android SDK - Including hidden APIs."
1328# -hidden
1329
1330LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1331
1332include $(BUILD_DROIDDOC)
1333
1334# Build ext.jar
1335# ============================================================
1336
1337ext_dirs := \
1338 ../../external/nist-sip/java \
1339 ../../external/tagsoup/src \
1340
1341ext_src_files := $(call all-java-files-under,$(ext_dirs))
1342
1343# ==== the library =========================================
1344include $(CLEAR_VARS)
1345
1346LOCAL_SRC_FILES := $(ext_src_files)
1347
1348LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001349LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001350LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1351LOCAL_MODULE_TAGS := optional
1352LOCAL_MODULE := ext
1353
Colin Crossbe2d3302016-12-21 16:48:32 -08001354LOCAL_DX_FLAGS := --core-library
1355
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001356ifneq ($(INCREMENTAL_BUILDS),)
1357 LOCAL_PROGUARD_ENABLED := disabled
1358 LOCAL_JACK_ENABLED := incremental
1359endif
1360
Bart Searsa8cc0582015-05-07 03:23:20 +00001361include $(BUILD_JAVA_LIBRARY)
1362
1363
1364# Include subdirectory makefiles
1365# ============================================================
1366
1367# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1368# team really wants is to build the stuff defined by this makefile.
1369ifeq (,$(ONE_SHOT_MAKEFILE))
1370include $(call first-makefiles-under,$(LOCAL_PATH))
1371endif
1372
1373endif # ANDROID_BUILD_EMBEDDED