blob: 19fb7ce46489a6181ae2dbd5b5786f7578ef57aa [file] [log] [blame]
Bart Searsa8cc0582015-05-07 03:23:20 +00001#
2# Copyright (C) 2008 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH := $(call my-dir)
17
18# We have a special case here where we build the library's resources
19# independently from its code, so we need to find where the resource
20# class source got placed in the course of building the resources.
21# Thus, the magic here.
22# Also, this module cannot depend directly on the R.java file; if it
23# did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct.
24# Instead, it depends on the R.stamp file, which lists the corresponding
25# R.java file as a prerequisite.
26# TODO: find a more appropriate way to do this.
27framework_res_source_path := APPS/framework-res_intermediates/src
28
29# Build the master framework library.
30# The framework contains too many method references (>64K) for poor old DEX.
31# So we first build the framework as a monolithic static library then split it
32# up into smaller pieces.
33# ============================================================
34
35# embedded builds use nothing in frameworks/base
36ifneq ($(ANDROID_BUILD_EMBEDDED),true)
37
38include $(CLEAR_VARS)
39
40# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
41LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
42
43# EventLogTags files.
44LOCAL_SRC_FILES += \
Michal Karpinski6235a942016-03-15 12:07:23 +000045 core/java/android/app/admin/SecurityLogTags.logtags \
Bart Searsa8cc0582015-05-07 03:23:20 +000046 core/java/android/content/EventLogTags.logtags \
47 core/java/android/speech/tts/EventLogTags.logtags \
48 core/java/android/webkit/EventLogTags.logtags \
49 core/java/com/android/internal/logging/EventLogTags.logtags \
50
51## READ ME: ########################################################
52##
53## When updating this list of aidl files, consider if that aidl is
54## part of the SDK API. If it is, also add it to the list below that
55## is preprocessed and distributed with the SDK. This list should
56## not contain any aidl files for parcelables, but the one below should
57## if you intend for 3rd parties to be able to send those objects
58## across process boundaries.
59##
60## READ ME: ########################################################
61LOCAL_SRC_FILES += \
62 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
63 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
64 core/java/android/accounts/IAccountManager.aidl \
65 core/java/android/accounts/IAccountManagerResponse.aidl \
66 core/java/android/accounts/IAccountAuthenticator.aidl \
67 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
68 core/java/android/app/IActivityContainer.aidl \
69 core/java/android/app/IActivityContainerCallback.aidl \
70 core/java/android/app/IActivityController.aidl \
71 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070072 core/java/android/app/IAlarmCompleteListener.aidl \
73 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000074 core/java/android/app/IAlarmManager.aidl \
75 core/java/android/app/IAppTask.aidl \
76 core/java/android/app/ITaskStackListener.aidl \
77 core/java/android/app/IBackupAgent.aidl \
Todd Kennedy31b95e02016-08-04 14:27:15 -070078 core/java/android/app/IEphemeralResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000079 core/java/android/app/IInstrumentationWatcher.aidl \
80 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000081 core/java/android/app/IProcessObserver.aidl \
82 core/java/android/app/ISearchManager.aidl \
83 core/java/android/app/ISearchManagerCallback.aidl \
84 core/java/android/app/IServiceConnection.aidl \
85 core/java/android/app/IStopUserCallback.aidl \
86 core/java/android/app/job/IJobCallback.aidl \
87 core/java/android/app/job/IJobScheduler.aidl \
88 core/java/android/app/job/IJobService.aidl \
89 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070090 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000091 core/java/android/app/IUiAutomationConnection.aidl \
92 core/java/android/app/IUiModeManager.aidl \
93 core/java/android/app/IUserSwitchObserver.aidl \
94 core/java/android/app/IWallpaperManager.aidl \
95 core/java/android/app/IWallpaperManagerCallback.aidl \
96 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -070097 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000098 core/java/android/app/trust/ITrustManager.aidl \
99 core/java/android/app/trust/ITrustListener.aidl \
100 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100101 core/java/android/app/backup/IBackupObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000102 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
103 core/java/android/app/backup/IRestoreObserver.aidl \
104 core/java/android/app/backup/IRestoreSession.aidl \
105 core/java/android/app/usage/IUsageStatsManager.aidl \
106 core/java/android/bluetooth/IBluetooth.aidl \
107 core/java/android/bluetooth/IBluetoothA2dp.aidl \
108 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
109 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
110 core/java/android/bluetooth/IBluetoothCallback.aidl \
111 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
112 core/java/android/bluetooth/IBluetoothHeadset.aidl \
113 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
114 core/java/android/bluetooth/IBluetoothHealth.aidl \
115 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
116 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
117 core/java/android/bluetooth/IBluetoothPan.aidl \
118 core/java/android/bluetooth/IBluetoothManager.aidl \
119 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
Joseph Pirozzo631768d2016-09-01 14:19:28 -0700120 core/java/android/bluetooth/IBluetoothMap.aidl \
121 core/java/android/bluetooth/IBluetoothMapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000122 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800123 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000124 core/java/android/bluetooth/IBluetoothSap.aidl \
125 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
126 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
127 core/java/android/bluetooth/IBluetoothGatt.aidl \
128 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
129 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
Jakub Pawlowskia480f7f2016-08-05 06:40:31 -0700130 core/java/android/bluetooth/le/IAdvertiserCallback.aidl \
Jakub Pawlowski1b49e6e2016-10-26 13:05:30 -0700131 core/java/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000132 core/java/android/content/IClipboard.aidl \
133 core/java/android/content/IContentService.aidl \
134 core/java/android/content/IIntentReceiver.aidl \
135 core/java/android/content/IIntentSender.aidl \
136 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
137 core/java/android/content/IRestrictionsManager.aidl \
138 core/java/android/content/ISyncAdapter.aidl \
139 core/java/android/content/ISyncContext.aidl \
140 core/java/android/content/ISyncServiceAdapter.aidl \
141 core/java/android/content/ISyncStatusObserver.aidl \
142 core/java/android/content/pm/ILauncherApps.aidl \
143 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800144 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000145 core/java/android/content/pm/IPackageDataObserver.aidl \
146 core/java/android/content/pm/IPackageDeleteObserver.aidl \
147 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
148 core/java/android/content/pm/IPackageInstallObserver.aidl \
149 core/java/android/content/pm/IPackageInstallObserver2.aidl \
150 core/java/android/content/pm/IPackageInstaller.aidl \
151 core/java/android/content/pm/IPackageInstallerCallback.aidl \
152 core/java/android/content/pm/IPackageInstallerSession.aidl \
153 core/java/android/content/pm/IPackageManager.aidl \
154 core/java/android/content/pm/IPackageMoveObserver.aidl \
155 core/java/android/content/pm/IPackageStatsObserver.aidl \
Svetoslavf7c06eb2015-06-10 18:43:22 -0700156 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800157 core/java/android/content/pm/IShortcutService.aidl \
Svet Ganovae0e03a2016-02-25 18:22:10 -0800158 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000159 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800160 ../av/camera/aidl/android/hardware/ICameraService.aidl \
161 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
162 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
163 ../av/camera/aidl/android/hardware/ICamera.aidl \
164 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
165 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
166 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000167 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000168 core/java/android/hardware/ISerialManager.aidl \
169 core/java/android/hardware/display/IDisplayManager.aidl \
170 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
171 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
Jim Millerbe675422015-05-11 20:45:25 -0700172 core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
173 core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000174 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700175 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000176 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
177 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
178 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
179 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
180 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
181 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
182 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
183 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
184 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
185 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
186 core/java/android/hardware/input/IInputManager.aidl \
187 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100188 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000189 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700190 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000191 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
192 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
193 core/java/android/hardware/location/IFusedLocationHardware.aidl \
194 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
195 core/java/android/hardware/location/IGeofenceHardware.aidl \
196 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
197 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800198 core/java/android/hardware/location/IContextHubCallback.aidl \
199 core/java/android/hardware/location/IContextHubService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000200 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
201 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400202 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000203 core/java/android/net/IConnectivityManager.aidl \
Pavel Zhamaitsiak02b3e6b2016-02-03 10:39:44 -0800204 core/java/android/net/IConnectivityMetricsLogger.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900205 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000206 core/java/android/net/IEthernetManager.aidl \
207 core/java/android/net/IEthernetServiceListener.aidl \
Michal Karpinskic3abd342016-10-12 14:59:26 +0100208 core/java/android/net/INetdEventCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000209 core/java/android/net/INetworkManagementEventObserver.aidl \
210 core/java/android/net/INetworkPolicyListener.aidl \
211 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslind1daf6d2016-11-28 17:47:35 -0800212 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000213 core/java/android/net/INetworkScoreCache.aidl \
214 core/java/android/net/INetworkScoreService.aidl \
215 core/java/android/net/INetworkStatsService.aidl \
216 core/java/android/net/INetworkStatsSession.aidl \
217 core/java/android/net/nsd/INsdManager.aidl \
218 core/java/android/nfc/IAppCallback.aidl \
219 core/java/android/nfc/INfcAdapter.aidl \
220 core/java/android/nfc/INfcAdapterExtras.aidl \
221 core/java/android/nfc/INfcTag.aidl \
222 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900223 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000224 core/java/android/nfc/INfcUnlockHandler.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200225 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000226 core/java/android/os/IBatteryPropertiesListener.aidl \
227 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
228 core/java/android/os/ICancellationSignal.aidl \
229 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100230 core/java/android/os/IHardwarePropertiesManager.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800231 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000232 core/java/android/os/IMessenger.aidl \
233 core/java/android/os/INetworkActivityListener.aidl \
234 core/java/android/os/INetworkManagementService.aidl \
235 core/java/android/os/IPermissionController.aidl \
236 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600237 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000238 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800239 core/java/android/os/IRecoverySystem.aidl \
240 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000241 core/java/android/os/IRemoteCallback.aidl \
242 core/java/android/os/ISchedulingPolicyService.aidl \
243 core/java/android/os/IUpdateLock.aidl \
244 core/java/android/os/IUserManager.aidl \
245 core/java/android/os/IVibratorService.aidl \
246 core/java/android/security/IKeystoreService.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700247 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000248 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
249 core/java/android/service/carrier/ICarrierMessagingService.aidl \
250 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
251 core/java/android/service/notification/INotificationListener.aidl \
252 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
253 core/java/android/service/notification/IConditionListener.aidl \
254 core/java/android/service/notification/IConditionProvider.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800255 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700256 core/java/android/service/vr/IVrManager.aidl \
257 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000258 core/java/android/print/ILayoutResultCallback.aidl \
259 core/java/android/print/IPrinterDiscoveryObserver.aidl \
260 core/java/android/print/IPrintDocumentAdapter.aidl \
261 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
262 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800263 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700264 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000265 core/java/android/print/IPrintManager.aidl \
266 core/java/android/print/IPrintSpooler.aidl \
267 core/java/android/print/IPrintSpoolerCallbacks.aidl \
268 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700269 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
270 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000271 core/java/android/print/IWriteResultCallback.aidl \
272 core/java/android/printservice/IPrintService.aidl \
273 core/java/android/printservice/IPrintServiceClient.aidl \
274 core/java/android/service/dreams/IDreamManager.aidl \
275 core/java/android/service/dreams/IDreamService.aidl \
276 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
277 core/java/android/service/trust/ITrustAgentService.aidl \
278 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
279 core/java/android/service/voice/IVoiceInteractionService.aidl \
280 core/java/android/service/voice/IVoiceInteractionSession.aidl \
281 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
282 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
283 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
284 core/java/android/service/wallpaper/IWallpaperService.aidl \
285 core/java/android/service/chooser/IChooserTargetService.aidl \
286 core/java/android/service/chooser/IChooserTargetResult.aidl \
287 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
288 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
289 core/java/android/view/accessibility/IAccessibilityManager.aidl \
290 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
291 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100292 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000293 core/java/android/view/IAssetAtlas.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100294 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000295 core/java/android/view/IGraphicsStats.aidl \
296 core/java/android/view/IInputFilter.aidl \
297 core/java/android/view/IInputFilterHost.aidl \
298 core/java/android/view/IOnKeyguardExitResult.aidl \
299 core/java/android/view/IRotationWatcher.aidl \
300 core/java/android/view/IWindow.aidl \
301 core/java/android/view/IWindowFocusObserver.aidl \
302 core/java/android/view/IWindowId.aidl \
303 core/java/android/view/IWindowManager.aidl \
304 core/java/android/view/IWindowSession.aidl \
305 core/java/android/view/IWindowSessionCallback.aidl \
306 core/java/android/webkit/IWebViewUpdateService.aidl \
307 core/java/android/speech/IRecognitionListener.aidl \
308 core/java/android/speech/IRecognitionService.aidl \
309 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
310 core/java/android/speech/tts/ITextToSpeechService.aidl \
311 core/java/com/android/internal/app/IAppOpsCallback.aidl \
312 core/java/com/android/internal/app/IAppOpsService.aidl \
313 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
314 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800315 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000316 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700317 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000318 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
319 core/java/com/android/internal/app/IVoiceInteractor.aidl \
320 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
321 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
322 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700323 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000324 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
325 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
326 core/java/com/android/internal/backup/IBackupTransport.aidl \
327 core/java/com/android/internal/backup/IObbBackupService.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700328 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700329 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000330 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
331 core/java/com/android/internal/policy/IKeyguardService.aidl \
332 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800333 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000334 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
335 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
336 core/java/com/android/internal/os/IResultReceiver.aidl \
337 core/java/com/android/internal/statusbar/IStatusBar.aidl \
338 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
339 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
340 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
341 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
342 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
343 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700344 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000345 core/java/com/android/internal/view/IInputContext.aidl \
346 core/java/com/android/internal/view/IInputContextCallback.aidl \
347 core/java/com/android/internal/view/IInputMethod.aidl \
348 core/java/com/android/internal/view/IInputMethodClient.aidl \
349 core/java/com/android/internal/view/IInputMethodManager.aidl \
350 core/java/com/android/internal/view/IInputMethodSession.aidl \
351 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700352 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000353 core/java/com/android/internal/widget/ILockSettings.aidl \
354 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
355 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
356 keystore/java/android/security/IKeyChainAliasCallback.aidl \
357 keystore/java/android/security/IKeyChainService.aidl \
358 location/java/android/location/ICountryDetector.aidl \
359 location/java/android/location/ICountryListener.aidl \
360 location/java/android/location/IFusedProvider.aidl \
361 location/java/android/location/IGeocodeProvider.aidl \
362 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800363 location/java/android/location/IGnssStatusListener.aidl \
364 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800365 location/java/android/location/IGnssMeasurementsListener.aidl \
366 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000367 location/java/android/location/ILocationListener.aidl \
368 location/java/android/location/ILocationManager.aidl \
369 location/java/android/location/IFusedGeofenceHardware.aidl \
370 location/java/android/location/IGpsGeofenceHardware.aidl \
371 location/java/android/location/INetInitiatedListener.aidl \
372 location/java/com/android/internal/location/ILocationProvider.aidl \
373 media/java/android/media/IAudioService.aidl \
374 media/java/android/media/IAudioFocusDispatcher.aidl \
375 media/java/android/media/IAudioRoutesObserver.aidl \
376 media/java/android/media/IMediaHTTPConnection.aidl \
377 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900378 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000379 media/java/android/media/IMediaRouterClient.aidl \
380 media/java/android/media/IMediaRouterService.aidl \
381 media/java/android/media/IMediaScannerListener.aidl \
382 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800383 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000384 media/java/android/media/IRemoteDisplayCallback.aidl \
385 media/java/android/media/IRemoteDisplayProvider.aidl \
386 media/java/android/media/IRemoteVolumeController.aidl \
387 media/java/android/media/IRemoteVolumeObserver.aidl \
388 media/java/android/media/IRingtonePlayer.aidl \
389 media/java/android/media/IVolumeController.aidl \
390 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700391 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000392 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700393 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000394 media/java/android/media/midi/IMidiDeviceServer.aidl \
395 media/java/android/media/midi/IMidiManager.aidl \
396 media/java/android/media/projection/IMediaProjection.aidl \
397 media/java/android/media/projection/IMediaProjectionCallback.aidl \
398 media/java/android/media/projection/IMediaProjectionManager.aidl \
399 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
400 media/java/android/media/session/IActiveSessionsListener.aidl \
401 media/java/android/media/session/ISessionController.aidl \
402 media/java/android/media/session/ISessionControllerCallback.aidl \
403 media/java/android/media/session/ISession.aidl \
404 media/java/android/media/session/ISessionCallback.aidl \
405 media/java/android/media/session/ISessionManager.aidl \
406 media/java/android/media/tv/ITvInputClient.aidl \
407 media/java/android/media/tv/ITvInputHardware.aidl \
408 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
409 media/java/android/media/tv/ITvInputManager.aidl \
410 media/java/android/media/tv/ITvInputManagerCallback.aidl \
411 media/java/android/media/tv/ITvInputService.aidl \
412 media/java/android/media/tv/ITvInputServiceCallback.aidl \
413 media/java/android/media/tv/ITvInputSession.aidl \
414 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800415 media/java/android/media/tv/ITvRemoteProvider.aidl \
416 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000417 media/java/android/service/media/IMediaBrowserService.aidl \
418 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800419 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
420 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000421 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
422 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
423 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
424 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
425 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
426 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
427 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
428 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
429 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
430 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
431 telephony/java/com/android/ims/internal/IImsConfig.aidl \
432 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
433 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
434 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800435 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
436 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000437 telephony/java/com/android/ims/internal/IImsService.aidl \
438 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
439 telephony/java/com/android/ims/internal/IImsUt.aidl \
440 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
441 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
442 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700443 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
444 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
445 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
446 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
447 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
448 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000449 telephony/java/com/android/ims/ImsConfigListener.aidl \
450 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
451 telephony/java/com/android/internal/telephony/IMms.aidl \
452 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
453 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
454 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
455 telephony/java/com/android/internal/telephony/ISms.aidl \
456 telephony/java/com/android/internal/telephony/ISub.aidl \
457 telephony/java/com/android/internal/telephony/ITelephony.aidl \
458 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
459 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
460 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen0849ded2016-10-26 11:22:06 -0700461 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
462 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
463 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000464 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
465 wifi/java/android/net/wifi/IWifiScanner.aidl \
466 wifi/java/android/net/wifi/IRttManager.aidl \
467 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
468 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
469 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500470 core/java/android/service/quicksettings/IQSService.aidl \
471 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000472
Tao Baobdc77362016-01-19 15:52:28 -0800473# The following are native binders that need to go with the native component
474# at system/update_engine/binder_bindings/. Use relative path to refer to them.
475LOCAL_SRC_FILES += \
476 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
477 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
478
Erik Kline4e37b702016-07-05 11:34:21 +0900479LOCAL_SRC_FILES += \
480 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700481 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900482
Tao Baobdc77362016-01-19 15:52:28 -0800483LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
484
Bart Searsa8cc0582015-05-07 03:23:20 +0000485# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800486LOCAL_AIDL_INCLUDES += \
487 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
488 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000489
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800490LOCAL_AIDL_INCLUDES += \
491 frameworks/av/camera/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100492 frameworks/native/aidl/gui \
493 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800494
Bart Searsa8cc0582015-05-07 03:23:20 +0000495LOCAL_INTERMEDIATE_SOURCES := \
496 $(framework_res_source_path)/android/R.java \
497 $(framework_res_source_path)/android/Manifest.java \
498 $(framework_res_source_path)/com/android/internal/R.java
499
Colin Crossc558dd92016-08-31 18:01:06 -0700500# Make sure that R.java and Manifest.java are built before we build
501# the source for this library.
502framework_res_R_stamp := \
503 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
504LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
505
Bart Searsa8cc0582015-05-07 03:23:20 +0000506LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffindf257602016-11-30 13:29:39 +0000507LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Chris Wren77781d32016-01-11 14:49:26 -0500508LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
Bart Searsa8cc0582015-05-07 03:23:20 +0000509
510LOCAL_MODULE := framework
511
Bart Searsa8cc0582015-05-07 03:23:20 +0000512LOCAL_JACK_FLAGS := --multi-dex native
513
514LOCAL_RMTYPEDEFS := true
515
Allen Hair0e4f0142016-06-27 17:01:50 -0700516ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
517LOCAL_EMMA_INSTRUMENT := true
518endif
519
Bart Searsa8cc0582015-05-07 03:23:20 +0000520include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700521
Bart Searsa8cc0582015-05-07 03:23:20 +0000522framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000523$(framework_module): | $(dir $(framework_module))framework-res.apk
524
525framework_built := $(call java-lib-deps,framework)
526
527# Copy AIDL files to be preprocessed and included in the SDK,
528# specified relative to the root of the build tree.
529# ============================================================
530include $(CLEAR_VARS)
531
532aidl_files := \
533 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
534 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
535 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
536 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
537 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
538 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700539 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000540 frameworks/base/location/java/android/location/Location.aidl \
541 frameworks/base/location/java/android/location/Address.aidl \
542 frameworks/base/location/java/android/location/Criteria.aidl \
543 frameworks/base/media/java/android/media/MediaMetadata.aidl \
544 frameworks/base/media/java/android/media/MediaDescription.aidl \
545 frameworks/base/media/java/android/media/Rating.aidl \
546 frameworks/base/media/java/android/media/AudioAttributes.aidl \
547 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
548 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
549 frameworks/base/media/java/android/media/session/MediaSession.aidl \
550 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
551 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
552 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
553 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen0849ded2016-10-26 11:22:06 -0700554 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
555 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
556 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000557 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
558 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
559 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
560 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
561 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
562 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
563 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
564 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
565 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800566 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000567 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
568 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
569 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
570 frameworks/base/graphics/java/android/graphics/Region.aidl \
571 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
572 frameworks/base/graphics/java/android/graphics/Point.aidl \
573 frameworks/base/graphics/java/android/graphics/PointF.aidl \
574 frameworks/base/graphics/java/android/graphics/RectF.aidl \
575 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800576 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000577 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
578 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinski4c47ade2016-10-12 16:40:06 +0100579 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
580 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
581 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100582 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000583 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
584 frameworks/base/core/java/android/print/PageRange.aidl \
585 frameworks/base/core/java/android/print/PrintAttributes.aidl \
586 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
587 frameworks/base/core/java/android/print/PrinterId.aidl \
588 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
589 frameworks/base/core/java/android/print/PrinterInfo.aidl \
590 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700591 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000592 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
593 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
594 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
595 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
596 frameworks/base/core/java/android/os/Messenger.aidl \
597 frameworks/base/core/java/android/os/PatternMatcher.aidl \
598 frameworks/base/core/java/android/os/Message.aidl \
599 frameworks/base/core/java/android/os/UserHandle.aidl \
600 frameworks/base/core/java/android/os/ParcelUuid.aidl \
601 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
602 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000603 frameworks/base/core/java/android/os/WorkSource.aidl \
604 frameworks/base/core/java/android/os/DropBoxManager.aidl \
605 frameworks/base/core/java/android/os/Bundle.aidl \
606 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
607 frameworks/base/core/java/android/net/Network.aidl \
608 frameworks/base/core/java/android/net/RouteInfo.aidl \
609 frameworks/base/core/java/android/net/NetworkInfo.aidl \
610 frameworks/base/core/java/android/net/IpPrefix.aidl \
611 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
612 frameworks/base/core/java/android/net/DhcpInfo.aidl \
613 frameworks/base/core/java/android/net/ProxyInfo.aidl \
614 frameworks/base/core/java/android/net/LinkProperties.aidl \
615 frameworks/base/core/java/android/net/Uri.aidl \
616 frameworks/base/core/java/android/net/NetworkRequest.aidl \
617 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700618 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700619 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000620 frameworks/base/core/java/android/view/InputDevice.aidl \
621 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800622 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700623 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000624 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
625 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
626 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
627 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
628 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
629 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
630 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
631 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
632 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
633 frameworks/base/core/java/android/view/DragEvent.aidl \
634 frameworks/base/core/java/android/view/KeyEvent.aidl \
635 frameworks/base/core/java/android/view/WindowManager.aidl \
636 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
637 frameworks/base/core/java/android/view/MotionEvent.aidl \
638 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
639 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
640 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
641 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
642 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
643 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
644 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
645 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
646 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
647 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
648 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
649 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
650 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
651 frameworks/base/core/java/android/speech/tts/Voice.aidl \
652 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000653 frameworks/base/core/java/android/app/Notification.aidl \
654 frameworks/base/core/java/android/app/NotificationManager.aidl \
655 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
656 frameworks/base/core/java/android/app/AppOpsManager.aidl \
657 frameworks/base/core/java/android/app/ActivityManager.aidl \
658 frameworks/base/core/java/android/app/PendingIntent.aidl \
659 frameworks/base/core/java/android/app/AlarmManager.aidl \
660 frameworks/base/core/java/android/app/SearchableInfo.aidl \
661 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700662 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
663 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000664 frameworks/base/core/java/android/app/job/JobParameters.aidl \
665 frameworks/base/core/java/android/app/job/JobInfo.aidl \
666 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
667 frameworks/base/core/java/android/content/ClipDescription.aidl \
668 frameworks/base/core/java/android/content/IntentFilter.aidl \
669 frameworks/base/core/java/android/content/Intent.aidl \
670 frameworks/base/core/java/android/content/res/Configuration.aidl \
671 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
672 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
673 frameworks/base/core/java/android/content/ClipData.aidl \
674 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
675 frameworks/base/core/java/android/content/SyncRequest.aidl \
676 frameworks/base/core/java/android/content/PeriodicSync.aidl \
677 frameworks/base/core/java/android/content/SyncResult.aidl \
678 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
679 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
680 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
681 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
682 frameworks/base/core/java/android/content/pm/Signature.aidl \
683 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
684 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
685 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
686 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
687 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
688 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
689 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
690 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800691 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000692 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
693 frameworks/base/core/java/android/content/ComponentName.aidl \
694 frameworks/base/core/java/android/content/SyncStats.aidl \
695 frameworks/base/core/java/android/content/ContentValues.aidl \
696 frameworks/base/core/java/android/content/SyncInfo.aidl \
697 frameworks/base/core/java/android/content/IntentSender.aidl \
698 frameworks/base/core/java/android/widget/RemoteViews.aidl \
699 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
700 frameworks/base/core/java/android/nfc/Tag.aidl \
701 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
702 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
703 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
704 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
705 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
706 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
707 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
708 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
709 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
710 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500711 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800712 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100713 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700714 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000715
716gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
717$(gen): PRIVATE_SRC_FILES := $(aidl_files)
718ALL_SDK_FILES += $(gen)
719$(gen): $(aidl_files) | $(AIDL)
720 @echo Aidl Preprocess: $@
721 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
722
723# the documentation
724# ============================================================
725
726# TODO: deal with com/google/android/googleapps
727packages_to_document := \
728 android \
729 javax/microedition/khronos \
730 org/apache/http/conn \
731 org/apache/http/params
732
733
734# Search through the base framework dirs for these packages.
735# The result will be relative to frameworks/base.
736fwbase_dirs_to_document := \
Paul Duffindf257602016-11-30 13:29:39 +0000737 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000738 test-runner/src \
739 $(patsubst $(LOCAL_PATH)/%,%, \
740 $(wildcard \
741 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
742 $(addprefix $(dir)/, $(packages_to_document)) \
743 ) \
744 ) \
745 )
746
747# include definition of libcore_to_document
748include libcore/Docs.mk
749
Bart Searsa8cc0582015-05-07 03:23:20 +0000750non_base_dirs := \
751 ../opt/telephony/src/java/android/provider \
752 ../opt/telephony/src/java/android/telephony \
753 ../opt/telephony/src/java/android/telephony/gsm \
754 ../opt/net/voip/src/java/android/net/rtp \
755 ../opt/net/voip/src/java/android/net/sip
756
757# These are relative to frameworks/base
758dirs_to_check_apis := \
759 $(fwbase_dirs_to_document) \
760 $(non_base_dirs)
761
George Mountf6be9932015-12-03 07:39:55 -0800762###########################################################
763## Return all directories that have a 'NO_DOCS' file in
764## them, appending a '%' to them to form a pattern to
765## filter out files under those directories.
766## $(1): A list of base directories to look at.
767###########################################################
768define find-no-docs-pattern
769$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
770endef
771
Bart Searsa8cc0582015-05-07 03:23:20 +0000772# These are relative to frameworks/base
773# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
774dirs_to_document := \
775 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700776 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
777 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000778
George Mountf6be9932015-12-03 07:39:55 -0800779patterns_to_not_document := \
780 $(call find-no-docs-pattern, $(dirs_to_document))
781
Bart Searsa8cc0582015-05-07 03:23:20 +0000782# These are relative to frameworks/base
783html_dirs := \
784 $(FRAMEWORKS_BASE_SUBDIRS) \
785 $(non_base_dirs)
786
787# Common sources for doc check and api check
788common_src_files := \
789 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000790 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000791
792# These are relative to frameworks/base
793framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800794 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000795 $(common_src_files)
796
797# These are relative to frameworks/base
798framework_docs_LOCAL_API_CHECK_SRC_FILES := \
799 $(call find-other-java-files, $(dirs_to_check_apis)) \
800 $(common_src_files)
801
802# This is used by ide.mk as the list of source files that are
803# always included.
804INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
805
806framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
807 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
808
809framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
810 $(framework_res_source_path)/android/R.java \
811 $(framework_res_source_path)/android/Manifest.java \
812 $(framework_res_source_path)/com/android/internal/R.java
813
814framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000815 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000816 core-libart \
817 conscrypt \
818 bouncycastle \
819 okhttp \
820 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100821 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000822 framework \
823 telephony-common \
824 voip-common
825
826framework_docs_LOCAL_JAVA_LIBRARIES := \
827 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
828 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
829
830framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
831framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
832# The since flag (-since N.xml API_LEVEL) is used to add API Level information
833# to the reference documentation. Must be in order of oldest to newest.
834#
835# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
836# not be referenced in the documentation.
837framework_docs_LOCAL_DROIDDOC_OPTIONS := \
838 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100839 -knowntags ./libcore/known_oj_tags.txt \
Bart Searsa8cc0582015-05-07 03:23:20 +0000840 -hidePackage com.android.org.conscrypt \
841 -since $(SRC_API_DIR)/1.xml 1 \
842 -since $(SRC_API_DIR)/2.xml 2 \
843 -since $(SRC_API_DIR)/3.xml 3 \
844 -since $(SRC_API_DIR)/4.xml 4 \
845 -since $(SRC_API_DIR)/5.xml 5 \
846 -since $(SRC_API_DIR)/6.xml 6 \
847 -since $(SRC_API_DIR)/7.xml 7 \
848 -since $(SRC_API_DIR)/8.xml 8 \
849 -since $(SRC_API_DIR)/9.xml 9 \
850 -since $(SRC_API_DIR)/10.xml 10 \
851 -since $(SRC_API_DIR)/11.xml 11 \
852 -since $(SRC_API_DIR)/12.xml 12 \
853 -since $(SRC_API_DIR)/13.xml 13 \
854 -since $(SRC_API_DIR)/14.txt 14 \
855 -since $(SRC_API_DIR)/15.txt 15 \
856 -since $(SRC_API_DIR)/16.txt 16 \
857 -since $(SRC_API_DIR)/17.txt 17 \
858 -since $(SRC_API_DIR)/18.txt 18 \
859 -since $(SRC_API_DIR)/19.txt 19 \
860 -since $(SRC_API_DIR)/20.txt 20 \
861 -since $(SRC_API_DIR)/21.txt 21 \
862 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700863 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -0700864 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -0700865 -since $(SRC_API_DIR)/25.txt 25 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000866 -werror -hide 111 -hide 113 \
867 -overview $(LOCAL_PATH)/core/java/overview.html
868
869framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
870 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
871
872framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
873 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
874 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
875 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
876
877framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +0100878 frameworks/base/docs/knowntags.txt \
879 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +0000880
881samples_dir := development/samples/browseable
882
883# Whitelist of valid groups, used for default TOC grouping. Each sample must
884# belong to one (and only one) group. Assign samples to groups by setting
885# a sample.group var to one of these groups in the sample's _index.jd.
886sample_groups := -samplegroup Admin \
887 -samplegroup Background \
888 -samplegroup Connectivity \
889 -samplegroup Content \
890 -samplegroup Input \
891 -samplegroup Media \
892 -samplegroup Notification \
893 -samplegroup RenderScript \
894 -samplegroup Security \
895 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -0700896 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +0000897 -samplegroup Testing \
898 -samplegroup UI \
899 -samplegroup Views \
900 -samplegroup Wearable
901
902## SDK version identifiers used in the published docs
903 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -0700904framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +0000905 # release version (ie "Release x") (full releases only)
906framework_docs_SDK_REL_ID:=1
907
908framework_docs_LOCAL_DROIDDOC_OPTIONS += \
smain@google.com7aca8be2016-03-10 14:13:30 -0800909 -hdf sdk.codename N \
smain@google.com39426fd2016-07-13 13:58:06 -0700910 -hdf sdk.preview.version 5 \
Bart Searsa8cc0582015-05-07 03:23:20 +0000911 -hdf sdk.version $(framework_docs_SDK_VERSION) \
912 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
smain@google.comdde8deb2016-08-29 18:36:50 -0700913 -hdf sdk.preview 0
Bart Searsa8cc0582015-05-07 03:23:20 +0000914
915# ==== the api stubs and current.xml ===========================
916include $(CLEAR_VARS)
917
918LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
919LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
920LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
921LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
922LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
923LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
924LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
925LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
926
927LOCAL_MODULE := api-stubs
928
Ying Wang0f92a2e2015-07-16 14:20:22 -0700929LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
930
Bart Searsa8cc0582015-05-07 03:23:20 +0000931LOCAL_DROIDDOC_OPTIONS:=\
932 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -0700933 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +0000934 -api $(INTERNAL_PLATFORM_API_FILE) \
935 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
936 -nodocs
937
938LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
939
940LOCAL_UNINSTALLABLE_MODULE := true
941
942include $(BUILD_DROIDDOC)
943
944# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
945$(full_target): $(framework_built) $(gen)
946$(INTERNAL_PLATFORM_API_FILE): $(full_target)
947$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
948
949# ==== the system api stubs ===================================
950include $(CLEAR_VARS)
951
952LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
953LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
954LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
955LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
956LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
957LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
958LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
959LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
960
961LOCAL_MODULE := system-api-stubs
962
Ying Wang0f92a2e2015-07-16 14:20:22 -0700963LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
964
Bart Searsa8cc0582015-05-07 03:23:20 +0000965LOCAL_DROIDDOC_OPTIONS:=\
966 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -0700967 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +0000968 -showAnnotation android.annotation.SystemApi \
969 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
970 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
971 -nodocs
972
973LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
974
975LOCAL_UNINSTALLABLE_MODULE := true
976
977include $(BUILD_DROIDDOC)
978
979# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
980$(full_target): $(framework_built) $(gen)
981$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
982$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
983
Michael Wrightb2b2c0e2015-11-06 15:21:13 +0000984# ==== the test api stubs ===================================
985include $(CLEAR_VARS)
986
987LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
988LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
989LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
990LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
991LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
992LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
993LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
994LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
995
996LOCAL_MODULE := test-api-stubs
997
998LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
999
1000LOCAL_DROIDDOC_OPTIONS:=\
1001 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001002 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001003 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1004 -showAnnotation android.annotation.TestApi \
1005 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1006 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
1007 -nodocs
1008
1009LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1010
1011LOCAL_UNINSTALLABLE_MODULE := true
1012
1013include $(BUILD_DROIDDOC)
1014
1015# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1016$(full_target): $(framework_built) $(gen)
1017$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1018$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1019
Bart Searsa8cc0582015-05-07 03:23:20 +00001020# ==== check javadoc comments but don't generate docs ========
1021include $(CLEAR_VARS)
1022
1023LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1024LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1025LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1026LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1027LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1028LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1029LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1030LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1031
1032LOCAL_MODULE := doc-comment-check
1033
1034LOCAL_DROIDDOC_OPTIONS:=\
1035 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001036 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001037 -parsecomments
1038
1039LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1040
1041LOCAL_UNINSTALLABLE_MODULE := true
1042
1043include $(BUILD_DROIDDOC)
1044
1045# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1046$(full_target): $(framework_built) $(gen)
1047
1048# Run this for checkbuild
1049checkbuild: doc-comment-check-docs
1050# Check comment when you are updating the API
1051update-api: doc-comment-check-docs
1052
1053# ==== static html in the sdk ==================================
1054include $(CLEAR_VARS)
1055
1056LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1057LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1058LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1059LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1060LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1061LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1062LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1063LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1064
1065LOCAL_MODULE := offline-sdk
1066
1067LOCAL_DROIDDOC_OPTIONS:=\
1068 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1069 -offlinemode \
1070 -title "Android SDK" \
1071 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001072 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001073 -hdf android.whichdoc offline
1074
smain@google.com534bfe12016-09-01 19:52:17 -07001075LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001076
1077include $(BUILD_DROIDDOC)
1078
1079static_doc_index_redirect := $(out_dir)/index.html
1080$(static_doc_index_redirect): \
1081 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1082 $(hide) mkdir -p $(dir $@)
1083 $(hide) $(ACP) $< $@
1084
1085$(full_target): $(static_doc_index_redirect)
1086$(full_target): $(framework_built)
1087
1088
1089# ==== static html in the sdk ==================================
1090include $(CLEAR_VARS)
1091
1092LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1093LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1094LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1095LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1096LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1097LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1098LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1099LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1100
1101LOCAL_MODULE := offline-sdk-referenceonly
1102
1103LOCAL_DROIDDOC_OPTIONS:=\
1104 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1105 -offlinemode \
1106 -title "Android SDK" \
1107 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1108 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001109 -hdf android.whichdoc offline \
1110 -referenceonly
1111
smain@google.com534bfe12016-09-01 19:52:17 -07001112LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001113
1114include $(BUILD_DROIDDOC)
1115
1116static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001117$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001118 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001119
smain@google.com2f2365d2016-09-21 14:05:50 -07001120static_doc_properties := $(out_dir)/source.properties
1121$(static_doc_properties): \
1122 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1123 $(hide) mkdir -p $(dir $@)
1124 $(hide) $(ACP) $< $@
1125
smain@google.com00de8c52016-03-07 18:38:08 -08001126$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001127$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001128$(full_target): $(framework_built)
1129
smain@google.com7aca8be2016-03-10 14:13:30 -08001130
Bart Searsa8cc0582015-05-07 03:23:20 +00001131# ==== docs for the web (on the androiddevdocs app engine server) =======================
1132include $(CLEAR_VARS)
1133
1134LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1135LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1136LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1137LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1138LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1139LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1140LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1141LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1142LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1143LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1144
1145LOCAL_MODULE := online-sdk
1146
1147LOCAL_DROIDDOC_OPTIONS:= \
1148 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1149 -toroot / \
1150 -hdf android.whichdoc online \
1151 $(sample_groups) \
1152 -hdf android.hasSamples true \
1153 -samplesdir $(samples_dir)
1154
smain@google.com534bfe12016-09-01 19:52:17 -07001155LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001156
1157include $(BUILD_DROIDDOC)
1158
1159# ==== docs for the web (on the androiddevdocs app engine server) =======================
1160# TODO: Fix the System API docs build.
1161ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),)
1162include $(CLEAR_VARS)
1163
1164LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1165LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1166LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1167LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1168LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1169LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1170LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1171LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1172LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1173LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1174
1175LOCAL_MODULE := online-system-api-sdk
1176
1177LOCAL_DROIDDOC_OPTIONS:= \
1178 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001179 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001180 -showAnnotation android.annotation.SystemApi \
1181 -title "Android SDK - Including system APIs." \
1182 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001183 -hide 101 \
1184 -hide 104 \
1185 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001186 -hdf android.whichdoc online \
1187 $(sample_groups) \
1188 -hdf android.hasSamples true \
1189 -samplesdir $(samples_dir)
1190
1191LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1192# Don't build by default
1193LOCAL_UNINSTALLABLE_MODULE := true
1194
1195include $(BUILD_DROIDDOC)
1196endif # online-system-api-sdk-docs in make command line.
1197
1198# ==== docs for the web (on the devsite app engine server) =======================
1199include $(CLEAR_VARS)
1200LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1201LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1202LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1203LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1204LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1205LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1206LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1207LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1208LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1209# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001210LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001211
1212LOCAL_MODULE := ds
1213
1214LOCAL_DROIDDOC_OPTIONS:= \
1215 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001216 -toroot / \
1217 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001218 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001219 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001220 -hdf android.hasSamples true \
1221 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001222
smain@google.com534bfe12016-09-01 19:52:17 -07001223LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001224
1225include $(BUILD_DROIDDOC)
1226
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001227# ==== docs for the web (on the devsite app engine server) =======================
1228include $(CLEAR_VARS)
1229LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1230LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1231LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1232LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1233LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1234LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1235LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1236LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1237LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1238# specify a second html input dir and an output path relative to OUT_DIR)
1239LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1240
1241LOCAL_MODULE := ds-static
1242
1243LOCAL_DROIDDOC_OPTIONS:= \
1244 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1245 -hdf android.whichdoc online \
1246 -staticonly \
1247 -toroot / \
1248 -devsite \
1249 -ignoreJdLinks
1250
smain@google.com534bfe12016-09-01 19:52:17 -07001251LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001252
1253include $(BUILD_DROIDDOC)
1254
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001255# ==== generates full navtree for resolving @links in ds postprocessing ====
1256include $(CLEAR_VARS)
1257
1258LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1259LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1260LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1261LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1262LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1263LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1264LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1265LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1266
1267LOCAL_MODULE := ds-ref-navtree
1268
1269LOCAL_DROIDDOC_OPTIONS:= \
1270 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1271 -hdf android.whichdoc online \
1272 -toroot / \
1273 -atLinksNavtree \
1274 -navtreeonly
1275
1276LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1277
1278include $(BUILD_DROIDDOC)
1279
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001280# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001281include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001282
Bart Searsa8cc0582015-05-07 03:23:20 +00001283LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1284LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1285LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1286LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1287LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1288LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001289LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001290LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1291LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001292LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001293
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001294LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001295
1296LOCAL_DROIDDOC_OPTIONS:= \
1297 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1298 -toroot / \
1299 -hdf android.whichdoc online \
1300 $(sample_groups) \
1301 -hdf android.hasSamples true \
1302 -samplesdir $(samples_dir)
1303
smain@google.com534bfe12016-09-01 19:52:17 -07001304LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001305
1306include $(BUILD_DROIDDOC)
1307
Bart Searsa8cc0582015-05-07 03:23:20 +00001308# ==== docs that have all of the stuff that's @hidden =======================
1309include $(CLEAR_VARS)
1310
1311LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1312LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1313LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1314LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1315LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1316LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1317LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1318LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1319
1320LOCAL_MODULE := hidden
1321LOCAL_DROIDDOC_OPTIONS:=\
1322 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001323 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001324 -title "Android SDK - Including hidden APIs."
1325# -hidden
1326
1327LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
1328
1329include $(BUILD_DROIDDOC)
1330
1331# Build ext.jar
1332# ============================================================
1333
1334ext_dirs := \
1335 ../../external/nist-sip/java \
1336 ../../external/tagsoup/src \
1337
1338ext_src_files := $(call all-java-files-under,$(ext_dirs))
1339
1340# ==== the library =========================================
1341include $(CLEAR_VARS)
1342
1343LOCAL_SRC_FILES := $(ext_src_files)
1344
1345LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001346LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001347LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1348LOCAL_MODULE_TAGS := optional
1349LOCAL_MODULE := ext
1350
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001351ifneq ($(INCREMENTAL_BUILDS),)
1352 LOCAL_PROGUARD_ENABLED := disabled
1353 LOCAL_JACK_ENABLED := incremental
1354endif
1355
Bart Searsa8cc0582015-05-07 03:23:20 +00001356include $(BUILD_JAVA_LIBRARY)
1357
1358
1359# Include subdirectory makefiles
1360# ============================================================
1361
1362# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1363# team really wants is to build the stuff defined by this makefile.
1364ifeq (,$(ONE_SHOT_MAKEFILE))
1365include $(call first-makefiles-under,$(LOCAL_PATH))
1366endif
1367
1368endif # ANDROID_BUILD_EMBEDDED