blob: c0c025bdd0f0dbd1ceaebd87d65bb377ffe87eff [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
Alan Viverette63394b72016-12-19 10:53:15 -050040# Load framework-specific path mappings used later in the build.
41include $(LOCAL_PATH)/pathmap.mk
42
Bart Searsa8cc0582015-05-07 03:23:20 +000043# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
Joe Onorato1754d742016-11-21 17:51:35 -080044LOCAL_SRC_FILES := \
45 $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS)) \
46 $(call all-proto-files-under, core/proto)
Bart Searsa8cc0582015-05-07 03:23:20 +000047
48# EventLogTags files.
49LOCAL_SRC_FILES += \
Michal Karpinski6235a942016-03-15 12:07:23 +000050 core/java/android/app/admin/SecurityLogTags.logtags \
Bart Searsa8cc0582015-05-07 03:23:20 +000051 core/java/android/content/EventLogTags.logtags \
52 core/java/android/speech/tts/EventLogTags.logtags \
Jeff Sharkeyd3f689b2016-12-02 12:17:21 -070053 core/java/android/net/EventLogTags.logtags \
Bart Searsa8cc0582015-05-07 03:23:20 +000054 core/java/android/webkit/EventLogTags.logtags \
55 core/java/com/android/internal/logging/EventLogTags.logtags \
56
57## READ ME: ########################################################
58##
59## When updating this list of aidl files, consider if that aidl is
60## part of the SDK API. If it is, also add it to the list below that
61## is preprocessed and distributed with the SDK. This list should
62## not contain any aidl files for parcelables, but the one below should
63## if you intend for 3rd parties to be able to send those objects
64## across process boundaries.
65##
66## READ ME: ########################################################
67LOCAL_SRC_FILES += \
68 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
69 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
70 core/java/android/accounts/IAccountManager.aidl \
71 core/java/android/accounts/IAccountManagerResponse.aidl \
72 core/java/android/accounts/IAccountAuthenticator.aidl \
73 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000074 core/java/android/app/IActivityController.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -070075 core/java/android/app/IActivityManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000076 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070077 core/java/android/app/IAlarmCompleteListener.aidl \
78 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000079 core/java/android/app/IAlarmManager.aidl \
80 core/java/android/app/IAppTask.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -070081 core/java/android/app/IApplicationThread.aidl \
Winson Chunge2104682017-11-08 17:31:14 -080082 core/java/android/app/IAssistDataReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000083 core/java/android/app/ITaskStackListener.aidl \
84 core/java/android/app/IBackupAgent.aidl \
Todd Kennedy31b95e02016-08-04 14:27:15 -070085 core/java/android/app/IEphemeralResolver.aidl \
Andrii Kulianed76e742017-06-26 14:57:02 -070086 core/java/android/app/IInputForwarder.aidl \
Todd Kennedy1fb34042017-03-01 13:56:58 -080087 core/java/android/app/IInstantAppResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000088 core/java/android/app/IInstrumentationWatcher.aidl \
89 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000090 core/java/android/app/IProcessObserver.aidl \
91 core/java/android/app/ISearchManager.aidl \
92 core/java/android/app/ISearchManagerCallback.aidl \
93 core/java/android/app/IServiceConnection.aidl \
94 core/java/android/app/IStopUserCallback.aidl \
95 core/java/android/app/job/IJobCallback.aidl \
96 core/java/android/app/job/IJobScheduler.aidl \
97 core/java/android/app/job/IJobService.aidl \
98 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070099 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000100 core/java/android/app/IUiAutomationConnection.aidl \
101 core/java/android/app/IUiModeManager.aidl \
102 core/java/android/app/IUserSwitchObserver.aidl \
103 core/java/android/app/IWallpaperManager.aidl \
104 core/java/android/app/IWallpaperManagerCallback.aidl \
Makoto Onukifc73d792017-03-22 14:22:35 -0700105 core/java/android/app/admin/IDeviceAdminService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000106 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -0700107 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000108 core/java/android/app/trust/ITrustManager.aidl \
109 core/java/android/app/trust/ITrustListener.aidl \
110 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100111 core/java/android/app/backup/IBackupObserver.aidl \
Stefanotb1f573d2017-01-27 12:03:53 +0000112 core/java/android/app/backup/IBackupManagerMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000113 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
114 core/java/android/app/backup/IRestoreObserver.aidl \
115 core/java/android/app/backup/IRestoreSession.aidl \
Shreyas Basarge865303f2017-01-13 14:48:56 +0000116 core/java/android/app/backup/ISelectBackupTransportCallback.aidl \
Neil Fullerfe6ec562017-03-16 18:29:36 +0000117 core/java/android/app/timezone/ICallback.aidl \
118 core/java/android/app/timezone/IRulesManager.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800119 core/java/android/app/usage/ICacheQuotaService.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700120 core/java/android/app/usage/IStorageStatsManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000121 core/java/android/app/usage/IUsageStatsManager.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700122 ../../system/bt/binder/android/bluetooth/IBluetooth.aidl \
123 ../../system/bt/binder/android/bluetooth/IBluetoothA2dp.aidl \
124 ../../system/bt/binder/android/bluetooth/IBluetoothA2dpSink.aidl \
125 ../../system/bt/binder/android/bluetooth/IBluetoothAvrcpController.aidl \
126 ../../system/bt/binder/android/bluetooth/IBluetoothCallback.aidl \
127 ../../system/bt/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
128 ../../system/bt/binder/android/bluetooth/IBluetoothHeadset.aidl \
129 ../../system/bt/binder/android/bluetooth/IBluetoothHeadsetPhone.aidl \
130 ../../system/bt/binder/android/bluetooth/IBluetoothHealth.aidl \
131 ../../system/bt/binder/android/bluetooth/IBluetoothHealthCallback.aidl \
Hansong Zhangc26c76c2017-10-20 15:55:59 -0700132 ../../system/bt/binder/android/bluetooth/IBluetoothHidHost.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700133 ../../system/bt/binder/android/bluetooth/IBluetoothPan.aidl \
134 ../../system/bt/binder/android/bluetooth/IBluetoothManager.aidl \
135 ../../system/bt/binder/android/bluetooth/IBluetoothManagerCallback.aidl \
136 ../../system/bt/binder/android/bluetooth/IBluetoothMap.aidl \
137 ../../system/bt/binder/android/bluetooth/IBluetoothMapClient.aidl \
138 ../../system/bt/binder/android/bluetooth/IBluetoothPbap.aidl \
139 ../../system/bt/binder/android/bluetooth/IBluetoothPbapClient.aidl \
140 ../../system/bt/binder/android/bluetooth/IBluetoothSap.aidl \
Jakub Pawlowski422af4d2017-11-01 10:12:36 -0700141 ../../system/bt/binder/android/bluetooth/IBluetoothSocketManager.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700142 ../../system/bt/binder/android/bluetooth/IBluetoothStateChangeCallback.aidl \
143 ../../system/bt/binder/android/bluetooth/IBluetoothHeadsetClient.aidl \
Hansong Zhangc26c76c2017-10-20 15:55:59 -0700144 ../../system/bt/binder/android/bluetooth/IBluetoothHidDevice.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700145 ../../system/bt/binder/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
146 ../../system/bt/binder/android/bluetooth/IBluetoothGatt.aidl \
147 ../../system/bt/binder/android/bluetooth/IBluetoothGattCallback.aidl \
148 ../../system/bt/binder/android/bluetooth/IBluetoothGattServerCallback.aidl \
149 ../../system/bt/binder/android/bluetooth/le/IAdvertisingSetCallback.aidl \
150 ../../system/bt/binder/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
151 ../../system/bt/binder/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000152 core/java/android/content/IClipboard.aidl \
153 core/java/android/content/IContentService.aidl \
154 core/java/android/content/IIntentReceiver.aidl \
155 core/java/android/content/IIntentSender.aidl \
156 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
157 core/java/android/content/IRestrictionsManager.aidl \
158 core/java/android/content/ISyncAdapter.aidl \
159 core/java/android/content/ISyncContext.aidl \
160 core/java/android/content/ISyncServiceAdapter.aidl \
161 core/java/android/content/ISyncStatusObserver.aidl \
MÃ¥rten Kongstadeabc9e92015-12-15 16:40:23 +0100162 core/java/android/content/om/IOverlayManager.aidl \
Tony Mak1b708e62017-10-12 10:59:11 +0100163 core/java/android/content/pm/crossprofile/ICrossProfileApps.aidl \
Calin Juravle3d2af7f2017-04-19 19:56:21 -0700164 core/java/android/content/pm/IDexModuleRegisterCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000165 core/java/android/content/pm/ILauncherApps.aidl \
166 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800167 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800168 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000169 core/java/android/content/pm/IPackageDataObserver.aidl \
170 core/java/android/content/pm/IPackageDeleteObserver.aidl \
171 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000172 core/java/android/content/pm/IPackageInstallObserver2.aidl \
173 core/java/android/content/pm/IPackageInstaller.aidl \
174 core/java/android/content/pm/IPackageInstallerCallback.aidl \
175 core/java/android/content/pm/IPackageInstallerSession.aidl \
176 core/java/android/content/pm/IPackageManager.aidl \
Todd Kennedyad192a32017-08-02 07:51:57 -0700177 ../native/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000178 core/java/android/content/pm/IPackageMoveObserver.aidl \
179 core/java/android/content/pm/IPackageStatsObserver.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800180 core/java/android/content/pm/IPinItemRequest.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800181 core/java/android/content/pm/IShortcutService.aidl \
Svet Ganovae0e03a2016-02-25 18:22:10 -0800182 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000183 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800184 ../av/camera/aidl/android/hardware/ICameraService.aidl \
185 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
186 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
187 ../av/camera/aidl/android/hardware/ICamera.aidl \
188 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
189 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
190 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000191 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000192 core/java/android/hardware/ISerialManager.aidl \
193 core/java/android/hardware/display/IDisplayManager.aidl \
194 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
195 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
196 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700197 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Phil Weaver27fcd9c2017-01-20 15:57:24 -0800198 core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000199 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
200 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
201 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
202 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
203 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
204 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
205 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
206 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
207 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
208 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
209 core/java/android/hardware/input/IInputManager.aidl \
210 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100211 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000212 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700213 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000214 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
215 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
216 core/java/android/hardware/location/IFusedLocationHardware.aidl \
217 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
218 core/java/android/hardware/location/IGeofenceHardware.aidl \
219 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
220 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800221 core/java/android/hardware/location/IContextHubCallback.aidl \
Arthur Ishiguro4e39aa12017-11-14 14:59:08 -0800222 core/java/android/hardware/location/IContextHubClient.aidl \
223 core/java/android/hardware/location/IContextHubClientCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800224 core/java/android/hardware/location/IContextHubService.aidl \
Arthur Ishiguro6c37fd02017-10-26 15:36:22 -0700225 core/java/android/hardware/location/IContextHubTransactionCallback.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700226 core/java/android/hardware/radio/IRadioService.aidl \
227 core/java/android/hardware/radio/ITuner.aidl \
Tomasz Wasilczyk21348172017-04-20 14:02:42 -0700228 core/java/android/hardware/radio/ITunerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000229 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
230 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400231 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000232 core/java/android/net/IConnectivityManager.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900233 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000234 core/java/android/net/IEthernetManager.aidl \
235 core/java/android/net/IEthernetServiceListener.aidl \
Michal Karpinskidd9bb4f2016-10-12 14:59:26 +0100236 core/java/android/net/INetdEventCallback.aidl \
Nathan Harold28084d82017-03-01 18:55:06 -0800237 core/java/android/net/IIpSecService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000238 core/java/android/net/INetworkManagementEventObserver.aidl \
239 core/java/android/net/INetworkPolicyListener.aidl \
240 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslin13978372016-11-28 17:47:35 -0800241 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000242 core/java/android/net/INetworkScoreCache.aidl \
243 core/java/android/net/INetworkScoreService.aidl \
244 core/java/android/net/INetworkStatsService.aidl \
245 core/java/android/net/INetworkStatsSession.aidl \
Lorenzo Colittief7b2a12017-07-10 19:06:57 +0900246 core/java/android/net/ITetheringStatsProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000247 core/java/android/net/nsd/INsdManager.aidl \
248 core/java/android/nfc/IAppCallback.aidl \
249 core/java/android/nfc/INfcAdapter.aidl \
250 core/java/android/nfc/INfcAdapterExtras.aidl \
251 core/java/android/nfc/INfcTag.aidl \
252 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900253 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000254 core/java/android/nfc/INfcUnlockHandler.aidl \
Love Khanna755a8fa2017-05-17 15:52:16 +0530255 core/java/android/nfc/INfcDta.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200256 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000257 core/java/android/os/IBatteryPropertiesListener.aidl \
258 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
259 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700260 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000261 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100262 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800263 core/java/android/os/IIncidentManager.aidl \
264 core/java/android/os/IIncidentReportCompletedListener.aidl \
265 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800266 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000267 core/java/android/os/IMessenger.aidl \
268 core/java/android/os/INetworkActivityListener.aidl \
269 core/java/android/os/INetworkManagementService.aidl \
270 core/java/android/os/IPermissionController.aidl \
271 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600272 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000273 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800274 core/java/android/os/IRecoverySystem.aidl \
275 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000276 core/java/android/os/IRemoteCallback.aidl \
277 core/java/android/os/ISchedulingPolicyService.aidl \
Bookatz94726412017-08-31 09:26:15 -0700278 core/java/android/os/IStatsCompanionService.aidl \
Joe Onorato5dcbc6c2017-08-29 15:13:58 -0700279 core/java/android/os/IStatsManager.aidl \
Todd Poynordd055822017-05-25 17:53:21 -0700280 core/java/android/os/IThermalEventListener.aidl \
281 core/java/android/os/IThermalService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000282 core/java/android/os/IUpdateLock.aidl \
283 core/java/android/os/IUserManager.aidl \
284 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800285 core/java/android/os/storage/IStorageManager.aidl \
286 core/java/android/os/storage/IStorageEventListener.aidl \
287 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700288 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000289 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700290 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700291 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800292 core/java/android/service/autofill/IFillCallback.aidl \
293 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700294 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000295 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
296 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700297 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800298 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700299 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800300 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700301 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800302 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
303 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700304 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700305 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson7b69a862017-06-16 15:20:34 -0700306 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700307 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
308 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000309 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
310 core/java/android/service/notification/INotificationListener.aidl \
311 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
312 core/java/android/service/notification/IConditionListener.aidl \
313 core/java/android/service/notification/IConditionProvider.aidl \
Fan Zhang723bf372017-08-25 17:22:31 -0700314 core/java/android/service/settings/suggestions/ISuggestionService.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700315 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800316 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700317 core/java/android/service/vr/IVrManager.aidl \
318 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000319 core/java/android/print/ILayoutResultCallback.aidl \
320 core/java/android/print/IPrinterDiscoveryObserver.aidl \
321 core/java/android/print/IPrintDocumentAdapter.aidl \
322 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
323 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800324 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700325 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000326 core/java/android/print/IPrintManager.aidl \
327 core/java/android/print/IPrintSpooler.aidl \
328 core/java/android/print/IPrintSpoolerCallbacks.aidl \
329 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700330 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
331 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000332 core/java/android/print/IWriteResultCallback.aidl \
333 core/java/android/printservice/IPrintService.aidl \
334 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800335 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800336 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
337 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
338 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000339 core/java/android/service/dreams/IDreamManager.aidl \
340 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000341 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000342 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
343 core/java/android/service/trust/ITrustAgentService.aidl \
344 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
345 core/java/android/service/voice/IVoiceInteractionService.aidl \
346 core/java/android/service/voice/IVoiceInteractionSession.aidl \
347 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
348 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
349 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
350 core/java/android/service/wallpaper/IWallpaperService.aidl \
351 core/java/android/service/chooser/IChooserTargetService.aidl \
352 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700353 core/java/android/service/resolver/IResolverRankerService.aidl \
354 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000355 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
356 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
357 core/java/android/view/accessibility/IAccessibilityManager.aidl \
358 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000359 core/java/android/view/autofill/IAutoFillManager.aidl \
360 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700361 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000362 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100363 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100364 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000365 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800366 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000367 core/java/android/view/IInputFilter.aidl \
368 core/java/android/view/IInputFilterHost.aidl \
369 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700370 core/java/android/view/IPinnedStackController.aidl \
371 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000372 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupine1571702017-05-24 14:14:44 -0700373 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000374 core/java/android/view/IWindow.aidl \
375 core/java/android/view/IWindowFocusObserver.aidl \
376 core/java/android/view/IWindowId.aidl \
377 core/java/android/view/IWindowManager.aidl \
378 core/java/android/view/IWindowSession.aidl \
379 core/java/android/view/IWindowSessionCallback.aidl \
380 core/java/android/webkit/IWebViewUpdateService.aidl \
381 core/java/android/speech/IRecognitionListener.aidl \
382 core/java/android/speech/IRecognitionService.aidl \
383 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
384 core/java/android/speech/tts/ITextToSpeechService.aidl \
385 core/java/com/android/internal/app/IAppOpsCallback.aidl \
386 core/java/com/android/internal/app/IAppOpsService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000387 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800388 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000389 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700390 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000391 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
392 core/java/com/android/internal/app/IVoiceInteractor.aidl \
393 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
394 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
395 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700396 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000397 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
398 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
399 core/java/com/android/internal/backup/IBackupTransport.aidl \
400 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700401 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700402 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Ricky Wai1a6e6672017-10-27 14:46:01 +0100403 core/java/com/android/internal/net/INetworkWatchlistManager.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700404 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700405 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000406 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
407 core/java/com/android/internal/policy/IKeyguardService.aidl \
408 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800409 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000410 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
411 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
412 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700413 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000414 core/java/com/android/internal/statusbar/IStatusBar.aidl \
415 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
416 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800417 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000418 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
419 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
420 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
421 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700422 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000423 core/java/com/android/internal/view/IInputContext.aidl \
424 core/java/com/android/internal/view/IInputContextCallback.aidl \
425 core/java/com/android/internal/view/IInputMethod.aidl \
426 core/java/com/android/internal/view/IInputMethodClient.aidl \
427 core/java/com/android/internal/view/IInputMethodManager.aidl \
428 core/java/com/android/internal/view/IInputMethodSession.aidl \
429 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700430 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000431 core/java/com/android/internal/widget/ILockSettings.aidl \
432 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000433 keystore/java/android/security/IKeyChainAliasCallback.aidl \
434 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800435 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000436 location/java/android/location/ICountryDetector.aidl \
437 location/java/android/location/ICountryListener.aidl \
438 location/java/android/location/IFusedProvider.aidl \
439 location/java/android/location/IGeocodeProvider.aidl \
440 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800441 location/java/android/location/IGnssStatusListener.aidl \
442 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800443 location/java/android/location/IGnssMeasurementsListener.aidl \
444 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000445 location/java/android/location/ILocationListener.aidl \
446 location/java/android/location/ILocationManager.aidl \
447 location/java/android/location/IFusedGeofenceHardware.aidl \
448 location/java/android/location/IGpsGeofenceHardware.aidl \
449 location/java/android/location/INetInitiatedListener.aidl \
450 location/java/com/android/internal/location/ILocationProvider.aidl \
451 media/java/android/media/IAudioService.aidl \
452 media/java/android/media/IAudioFocusDispatcher.aidl \
453 media/java/android/media/IAudioRoutesObserver.aidl \
454 media/java/android/media/IMediaHTTPConnection.aidl \
455 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900456 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000457 media/java/android/media/IMediaRouterClient.aidl \
458 media/java/android/media/IMediaRouterService.aidl \
459 media/java/android/media/IMediaScannerListener.aidl \
460 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800461 media/java/android/media/IPlaybackConfigDispatcher.aidl \
Ivan Lozano330d8762017-08-08 12:51:06 -0700462 ../av/media/libaudioclient/aidl/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800463 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000464 media/java/android/media/IRemoteDisplayCallback.aidl \
465 media/java/android/media/IRemoteDisplayProvider.aidl \
466 media/java/android/media/IRemoteVolumeController.aidl \
467 media/java/android/media/IRemoteVolumeObserver.aidl \
468 media/java/android/media/IRingtonePlayer.aidl \
469 media/java/android/media/IVolumeController.aidl \
470 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700471 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000472 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700473 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000474 media/java/android/media/midi/IMidiDeviceServer.aidl \
475 media/java/android/media/midi/IMidiManager.aidl \
476 media/java/android/media/projection/IMediaProjection.aidl \
477 media/java/android/media/projection/IMediaProjectionCallback.aidl \
478 media/java/android/media/projection/IMediaProjectionManager.aidl \
479 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
480 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900481 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800482 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900483 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000484 media/java/android/media/session/ISession.aidl \
485 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900486 media/java/android/media/session/ISessionController.aidl \
487 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000488 media/java/android/media/session/ISessionManager.aidl \
489 media/java/android/media/tv/ITvInputClient.aidl \
490 media/java/android/media/tv/ITvInputHardware.aidl \
491 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
492 media/java/android/media/tv/ITvInputManager.aidl \
493 media/java/android/media/tv/ITvInputManagerCallback.aidl \
494 media/java/android/media/tv/ITvInputService.aidl \
495 media/java/android/media/tv/ITvInputServiceCallback.aidl \
496 media/java/android/media/tv/ITvInputSession.aidl \
497 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800498 media/java/android/media/tv/ITvRemoteProvider.aidl \
499 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000500 media/java/android/service/media/IMediaBrowserService.aidl \
501 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800502 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
503 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000504 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
505 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
506 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
507 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
508 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
509 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
510 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
511 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu23d80af2017-09-01 17:59:15 -0700512 telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl \
Hall Liud666a892017-08-28 14:10:46 -0700513 telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl \
Hall Liu571293a2017-08-04 18:41:56 -0700514 telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700515 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800516 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
517 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000518 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
519 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
520 telephony/java/com/android/ims/internal/IImsConfig.aidl \
521 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
522 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
523 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800524 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800525 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Brad Ebinger216b3ce2017-11-09 10:22:49 -0800526 telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800527 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Brad Ebinger216b3ce2017-11-09 10:22:49 -0800528 telephony/java/com/android/ims/internal/IImsRcsFeature.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000529 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800530 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
Brad Ebinger216b3ce2017-11-09 10:22:49 -0800531 telephony/java/com/android/ims/internal/IImsServiceFeatureCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000532 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
533 telephony/java/com/android/ims/internal/IImsUt.aidl \
534 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
535 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
536 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700537 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
538 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
539 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
540 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
541 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
542 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000543 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liue1ef5102017-05-23 13:07:07 -0700544 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000545 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
546 telephony/java/com/android/internal/telephony/IMms.aidl \
547 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
548 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
549 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
550 telephony/java/com/android/internal/telephony/ISms.aidl \
551 telephony/java/com/android/internal/telephony/ISub.aidl \
552 telephony/java/com/android/internal/telephony/ITelephony.aidl \
553 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
554 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800555 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000556 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700557 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Etan Cohen3d33d742017-09-27 13:57:02 -0700558 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
559 wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl \
560 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000561 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
Etan Cohen17ba4722017-08-21 10:52:17 -0700562 wifi/java/android/net/wifi/rtt/IRttCallback.aidl \
563 wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl \
Sohani Rao2b1c42f2017-10-11 13:48:31 -0700564 wifi/java/android/net/wifi/hotspot2/IProvisioningCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000565 wifi/java/android/net/wifi/IWifiScanner.aidl \
566 wifi/java/android/net/wifi/IRttManager.aidl \
567 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
568 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
569 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500570 core/java/android/service/quicksettings/IQSService.aidl \
571 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000572
Tao Baobdc77362016-01-19 15:52:28 -0800573# The following are native binders that need to go with the native component
574# at system/update_engine/binder_bindings/. Use relative path to refer to them.
575LOCAL_SRC_FILES += \
576 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
577 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
578
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700579LOCAL_SRC_FILES += \
Jin Qian12690d52017-10-13 18:17:04 -0700580 ../../system/core/storaged/binder/android/os/IStoraged.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900581 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkeyace874b2017-09-07 15:27:33 -0600582 ../../system/vold/binder/android/os/IVold.aidl \
Jeff Sharkey8058fe62017-09-13 11:50:33 -0600583 ../../system/vold/binder/android/os/IVoldListener.aidl \
Jeff Sharkeyb302c542017-09-15 12:57:59 -0600584 ../../system/vold/binder/android/os/IVoldTaskListener.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700585 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900586
Tao Baobdc77362016-01-19 15:52:28 -0800587LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
588
David Chen1481fe12017-10-16 13:16:34 -0700589LOCAL_AIDL_INCLUDES += core/java/android/os/StatsLogEventWrapper.aidl
590
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800591LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
592LOCAL_SRC_FILES += \
593 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
594 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
595 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
596 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
597 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
598 lowpan/java/android/net/lowpan/ILowpanManager.aidl
599
Yao Chend54f9dd2017-10-17 17:37:48 +0000600# StatsLog generated functions
601statslog_src_dir := $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)/statslog
602gen := $(statslog_src_dir)/android/util/StatsLog.java
603$(gen): PRIVATE_PATH := $(LOCAL_PATH)
604$(gen): PRIVATE_CUSTOM_TOOL = $(HOST_OUT_EXECUTABLES)/stats-log-api-gen --java $@
605$(gen): $(HOST_OUT_EXECUTABLES)/stats-log-api-gen
606 $(transform-generated-source)
607LOCAL_GENERATED_SOURCES += $(gen)
608statslog_src_dir:=
609gen:=
610
Bart Searsa8cc0582015-05-07 03:23:20 +0000611# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800612LOCAL_AIDL_INCLUDES += \
613 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
614 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000615
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800616LOCAL_AIDL_INCLUDES += \
617 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800618 frameworks/av/drm/libmediadrm/aidl \
Ivan Lozano330d8762017-08-08 12:51:06 -0700619 frameworks/av/media/libaudioclient/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100620 frameworks/native/aidl/gui \
Jin Qian12690d52017-10-13 18:17:04 -0700621 system/core/storaged/binder \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700622 system/netd/server/binder \
Jeff Sharkey8058fe62017-09-13 11:50:33 -0600623 system/vold/binder \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700624 system/bt/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800625
Bart Searsa8cc0582015-05-07 03:23:20 +0000626LOCAL_INTERMEDIATE_SOURCES := \
627 $(framework_res_source_path)/android/R.java \
628 $(framework_res_source_path)/android/Manifest.java \
629 $(framework_res_source_path)/com/android/internal/R.java
630
Colin Crossc558dd92016-08-31 18:01:06 -0700631# Make sure that R.java and Manifest.java are built before we build
632# the source for this library.
633framework_res_R_stamp := \
634 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
635LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
636
Bart Searsa8cc0582015-05-07 03:23:20 +0000637LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000638LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700639
Steven Morelandeeb01532017-08-03 12:35:08 -0700640LOCAL_STATIC_JAVA_LIBRARIES := \
641 framework-protos \
642 android.hidl.base-V1.0-java \
643 android.hardware.cas-V1.0-java \
Arthur Ishiguro27155bc2017-11-02 11:30:41 -0700644 android.hardware.contexthub-V1.0-java \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700645 android.hardware.health-V1.0-java-constants \
646 android.hardware.thermal-V1.0-java-constants \
647 android.hardware.tv.input-V1.0-java-constants \
648 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700649 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700650 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100651 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700652 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000653
Colin Cross9d937df2017-03-21 10:59:07 -0700654# Loaded with System.loadLibrary by android.view.textclassifier
655LOCAL_REQUIRED_MODULES += libtextclassifier
656
Joe Onorato1754d742016-11-21 17:51:35 -0800657LOCAL_PROTOC_OPTIMIZE_TYPE := stream
658LOCAL_PROTOC_FLAGS := \
659 -Iexternal/protobuf/src
660
Bart Searsa8cc0582015-05-07 03:23:20 +0000661LOCAL_MODULE := framework
662
Nan Zhangf7141d52017-10-04 09:45:04 -0700663LOCAL_JAVAC_SHARD_SIZE := 150
664
Colin Crossbe2d3302016-12-21 16:48:32 -0800665LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000666LOCAL_JACK_FLAGS := --multi-dex native
667
668LOCAL_RMTYPEDEFS := true
669
Allen Hair0e4f0142016-06-27 17:01:50 -0700670ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
671LOCAL_EMMA_INSTRUMENT := true
672endif
673
Bart Searsa8cc0582015-05-07 03:23:20 +0000674include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700675
Bart Searsa8cc0582015-05-07 03:23:20 +0000676framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000677$(framework_module): | $(dir $(framework_module))framework-res.apk
678
679framework_built := $(call java-lib-deps,framework)
680
681# Copy AIDL files to be preprocessed and included in the SDK,
682# specified relative to the root of the build tree.
683# ============================================================
684include $(CLEAR_VARS)
685
686aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800687 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800688 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
689 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
690 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800691 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000692 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
693 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
694 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
695 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
696 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
697 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700698 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800699 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
Jack Yufc84bb52017-11-20 11:14:23 -0800700 frameworks/base/telephony/java/android/telephony/data/DataProfile.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800701 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700702 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000703 frameworks/base/location/java/android/location/Location.aidl \
704 frameworks/base/location/java/android/location/Address.aidl \
705 frameworks/base/location/java/android/location/Criteria.aidl \
706 frameworks/base/media/java/android/media/MediaMetadata.aidl \
707 frameworks/base/media/java/android/media/MediaDescription.aidl \
708 frameworks/base/media/java/android/media/Rating.aidl \
709 frameworks/base/media/java/android/media/AudioAttributes.aidl \
710 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
711 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
712 frameworks/base/media/java/android/media/session/MediaSession.aidl \
713 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
714 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
715 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
716 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700717 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
718 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
719 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000720 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
721 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
722 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
723 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
724 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
725 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
726 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
Etan Cohen17ba4722017-08-21 10:52:17 -0700727 frameworks/base/wifi/java/android/net/wifi/rtt/RangingRequest.aidl \
728 frameworks/base/wifi/java/android/net/wifi/rtt/RangingResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000729 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
730 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800731 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000732 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
733 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
734 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
735 frameworks/base/graphics/java/android/graphics/Region.aidl \
736 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
737 frameworks/base/graphics/java/android/graphics/Point.aidl \
738 frameworks/base/graphics/java/android/graphics/PointF.aidl \
739 frameworks/base/graphics/java/android/graphics/RectF.aidl \
740 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800741 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000742 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
743 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100744 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
745 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
746 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100747 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100748 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000749 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
750 frameworks/base/core/java/android/print/PageRange.aidl \
751 frameworks/base/core/java/android/print/PrintAttributes.aidl \
752 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
753 frameworks/base/core/java/android/print/PrinterId.aidl \
754 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
755 frameworks/base/core/java/android/print/PrinterInfo.aidl \
756 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700757 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk8cfb0e82017-07-12 13:59:20 -0700758 frameworks/base/core/java/android/hardware/radio/ProgramSelector.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700759 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Tomasz Wasilczykc9a1ac72017-05-17 21:29:28 -0700760 frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000761 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
762 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
763 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
764 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
765 frameworks/base/core/java/android/os/Messenger.aidl \
766 frameworks/base/core/java/android/os/PatternMatcher.aidl \
767 frameworks/base/core/java/android/os/Message.aidl \
768 frameworks/base/core/java/android/os/UserHandle.aidl \
769 frameworks/base/core/java/android/os/ParcelUuid.aidl \
770 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
771 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000772 frameworks/base/core/java/android/os/WorkSource.aidl \
773 frameworks/base/core/java/android/os/DropBoxManager.aidl \
774 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700775 frameworks/base/core/java/android/os/Debug.aidl \
John Reckdea6a022017-05-25 17:09:33 -0700776 frameworks/base/core/java/android/os/SharedMemory.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700777 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000778 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
779 frameworks/base/core/java/android/net/Network.aidl \
780 frameworks/base/core/java/android/net/RouteInfo.aidl \
781 frameworks/base/core/java/android/net/NetworkInfo.aidl \
782 frameworks/base/core/java/android/net/IpPrefix.aidl \
783 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
784 frameworks/base/core/java/android/net/DhcpInfo.aidl \
785 frameworks/base/core/java/android/net/ProxyInfo.aidl \
786 frameworks/base/core/java/android/net/LinkProperties.aidl \
787 frameworks/base/core/java/android/net/Uri.aidl \
788 frameworks/base/core/java/android/net/NetworkRequest.aidl \
789 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700790 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700791 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000792 frameworks/base/core/java/android/view/InputDevice.aidl \
793 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800794 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700795 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000796 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
797 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
798 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
799 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
800 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
801 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
802 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
803 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
804 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
805 frameworks/base/core/java/android/view/DragEvent.aidl \
806 frameworks/base/core/java/android/view/KeyEvent.aidl \
807 frameworks/base/core/java/android/view/WindowManager.aidl \
808 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
809 frameworks/base/core/java/android/view/MotionEvent.aidl \
810 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
811 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
812 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
813 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
814 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
815 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
816 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
817 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
818 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
819 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
820 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700821 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800822 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700823 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500824 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
825 frameworks/base/core/java/android/service/notification/Condition.aidl \
826 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000827 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
828 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700829 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000830 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800831 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700832 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700833 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000834 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000835 frameworks/base/core/java/android/app/Notification.aidl \
836 frameworks/base/core/java/android/app/NotificationManager.aidl \
837 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
838 frameworks/base/core/java/android/app/AppOpsManager.aidl \
839 frameworks/base/core/java/android/app/ActivityManager.aidl \
840 frameworks/base/core/java/android/app/PendingIntent.aidl \
841 frameworks/base/core/java/android/app/AlarmManager.aidl \
842 frameworks/base/core/java/android/app/SearchableInfo.aidl \
843 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700844 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
845 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000846 frameworks/base/core/java/android/app/job/JobParameters.aidl \
847 frameworks/base/core/java/android/app/job/JobInfo.aidl \
848 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
849 frameworks/base/core/java/android/content/ClipDescription.aidl \
850 frameworks/base/core/java/android/content/IntentFilter.aidl \
851 frameworks/base/core/java/android/content/Intent.aidl \
852 frameworks/base/core/java/android/content/res/Configuration.aidl \
853 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
854 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
855 frameworks/base/core/java/android/content/ClipData.aidl \
856 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
857 frameworks/base/core/java/android/content/SyncRequest.aidl \
858 frameworks/base/core/java/android/content/PeriodicSync.aidl \
859 frameworks/base/core/java/android/content/SyncResult.aidl \
860 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
861 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
862 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
863 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
864 frameworks/base/core/java/android/content/pm/Signature.aidl \
865 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
866 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
867 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700868 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000869 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
870 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
871 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
872 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
873 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800874 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000875 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
876 frameworks/base/core/java/android/content/ComponentName.aidl \
877 frameworks/base/core/java/android/content/SyncStats.aidl \
878 frameworks/base/core/java/android/content/ContentValues.aidl \
879 frameworks/base/core/java/android/content/SyncInfo.aidl \
880 frameworks/base/core/java/android/content/IntentSender.aidl \
881 frameworks/base/core/java/android/widget/RemoteViews.aidl \
882 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
883 frameworks/base/core/java/android/nfc/Tag.aidl \
884 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
885 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000886 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500887 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800888 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700889 system/bt/binder/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
890 system/bt/binder/android/bluetooth/le/AdvertiseSettings.aidl \
891 system/bt/binder/android/bluetooth/le/ScanSettings.aidl \
892 system/bt/binder/android/bluetooth/le/AdvertiseData.aidl \
893 system/bt/binder/android/bluetooth/le/ScanFilter.aidl \
894 system/bt/binder/android/bluetooth/le/ScanResult.aidl \
895 system/bt/binder/android/bluetooth/BluetoothDevice.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100896 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700897 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000898
899gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
900$(gen): PRIVATE_SRC_FILES := $(aidl_files)
901ALL_SDK_FILES += $(gen)
902$(gen): $(aidl_files) | $(AIDL)
903 @echo Aidl Preprocess: $@
904 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
905
906# the documentation
907# ============================================================
908
909# TODO: deal with com/google/android/googleapps
910packages_to_document := \
911 android \
912 javax/microedition/khronos \
913 org/apache/http/conn \
914 org/apache/http/params
915
916
917# Search through the base framework dirs for these packages.
918# The result will be relative to frameworks/base.
919fwbase_dirs_to_document := \
Paul Duffinf779efd2017-11-16 15:47:05 +0000920 test-base/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000921 $(patsubst $(LOCAL_PATH)/%,%, \
922 $(wildcard \
923 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
924 $(addprefix $(dir)/, $(packages_to_document)) \
925 ) \
926 ) \
927 )
928
929# include definition of libcore_to_document
930include libcore/Docs.mk
931
Bart Searsa8cc0582015-05-07 03:23:20 +0000932non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000933 ../opt/telephony/src/java/android/telephony \
934 ../opt/telephony/src/java/android/telephony/gsm \
935 ../opt/net/voip/src/java/android/net/rtp \
936 ../opt/net/voip/src/java/android/net/sip
937
Paul Duffinc08090f2017-06-29 14:58:43 +0100938framework_base_android_test_mock_src_files := \
Paul Duffine2545262017-11-15 11:39:14 +0000939 $(call all-java-files-under, test-mock/src/android/test/mock)
Paul Duffinc08090f2017-06-29 14:58:43 +0100940
941framework_base_android_test_runner_excluding_mock_src_files := \
942 $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src))
943
Bart Searsa8cc0582015-05-07 03:23:20 +0000944# These are relative to frameworks/base
945dirs_to_check_apis := \
946 $(fwbase_dirs_to_document) \
947 $(non_base_dirs)
948
George Mountf6be9932015-12-03 07:39:55 -0800949###########################################################
950## Return all directories that have a 'NO_DOCS' file in
951## them, appending a '%' to them to form a pattern to
952## filter out files under those directories.
953## $(1): A list of base directories to look at.
954###########################################################
955define find-no-docs-pattern
956$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
957endef
958
Bart Searsa8cc0582015-05-07 03:23:20 +0000959# These are relative to frameworks/base
960# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
961dirs_to_document := \
962 $(dirs_to_check_apis) \
Paul Duffinc08090f2017-06-29 14:58:43 +0100963 test-runner/src \
Alan Viverette9ca513e2017-04-05 10:21:58 -0400964 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS))
Bart Searsa8cc0582015-05-07 03:23:20 +0000965
George Mountf6be9932015-12-03 07:39:55 -0800966patterns_to_not_document := \
967 $(call find-no-docs-pattern, $(dirs_to_document))
968
Bart Searsa8cc0582015-05-07 03:23:20 +0000969# These are relative to frameworks/base
970html_dirs := \
971 $(FRAMEWORKS_BASE_SUBDIRS) \
972 $(non_base_dirs)
973
974# Common sources for doc check and api check
975common_src_files := \
976 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000977 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000978
979# These are relative to frameworks/base
980framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800981 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000982 $(common_src_files)
983
984# These are relative to frameworks/base
985framework_docs_LOCAL_API_CHECK_SRC_FILES := \
Paul Duffinc08090f2017-06-29 14:58:43 +0100986 $(framework_base_android_test_mock_src_files) \
987 $(framework_base_android_test_runner_excluding_mock_src_files) \
988 $(call all-java-files-under, $(dirs_to_check_apis)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000989 $(common_src_files)
990
991# This is used by ide.mk as the list of source files that are
992# always included.
993INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
994
995framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
996 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
997
998framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
999 $(framework_res_source_path)/android/R.java \
1000 $(framework_res_source_path)/android/Manifest.java \
Colin Cross72d359f2017-10-27 10:46:53 -07001001 $(framework_res_source_path)/com/android/internal/R.java \
1002 $(patsubst $(TARGET_OUT_COMMON_INTERMEDIATES)/%,%,$(libcore_to_document_generated))
Bart Searsa8cc0582015-05-07 03:23:20 +00001003
1004framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001005 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +00001006 core-libart \
1007 conscrypt \
1008 bouncycastle \
1009 okhttp \
1010 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +01001011 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +00001012 framework \
Paul Duffinc08090f2017-06-29 14:58:43 +01001013 voip-common \
1014 android.test.mock \
Bart Searsa8cc0582015-05-07 03:23:20 +00001015
Alan Viverette9ca513e2017-04-05 10:21:58 -04001016# Platform docs can refer to Support Library APIs, but we don't actually build
1017# them as part of the docs target, so we need to include them on the classpath.
Bart Searsa8cc0582015-05-07 03:23:20 +00001018framework_docs_LOCAL_JAVA_LIBRARIES := \
1019 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
1020 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
1021
1022framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
1023framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
1024# The since flag (-since N.xml API_LEVEL) is used to add API Level information
1025# to the reference documentation. Must be in order of oldest to newest.
1026#
1027# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
1028# not be referenced in the documentation.
1029framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001030 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +00001031 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +01001032 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -06001033 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Neil Fuller57157fb2017-11-24 15:58:38 +00001034 -hidePackage com.android.okhttp \
Bart Searsa8cc0582015-05-07 03:23:20 +00001035 -hidePackage com.android.org.conscrypt \
Neil Fuller371c08c2017-11-27 10:32:07 +00001036 -hidePackage com.android.server \
Bart Searsa8cc0582015-05-07 03:23:20 +00001037 -since $(SRC_API_DIR)/1.xml 1 \
1038 -since $(SRC_API_DIR)/2.xml 2 \
1039 -since $(SRC_API_DIR)/3.xml 3 \
1040 -since $(SRC_API_DIR)/4.xml 4 \
1041 -since $(SRC_API_DIR)/5.xml 5 \
1042 -since $(SRC_API_DIR)/6.xml 6 \
1043 -since $(SRC_API_DIR)/7.xml 7 \
1044 -since $(SRC_API_DIR)/8.xml 8 \
1045 -since $(SRC_API_DIR)/9.xml 9 \
1046 -since $(SRC_API_DIR)/10.xml 10 \
1047 -since $(SRC_API_DIR)/11.xml 11 \
1048 -since $(SRC_API_DIR)/12.xml 12 \
1049 -since $(SRC_API_DIR)/13.xml 13 \
1050 -since $(SRC_API_DIR)/14.txt 14 \
1051 -since $(SRC_API_DIR)/15.txt 15 \
1052 -since $(SRC_API_DIR)/16.txt 16 \
1053 -since $(SRC_API_DIR)/17.txt 17 \
1054 -since $(SRC_API_DIR)/18.txt 18 \
1055 -since $(SRC_API_DIR)/19.txt 19 \
1056 -since $(SRC_API_DIR)/20.txt 20 \
1057 -since $(SRC_API_DIR)/21.txt 21 \
1058 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001059 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001060 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001061 -since $(SRC_API_DIR)/25.txt 25 \
Dirk Doughertyfdad0ba2017-06-09 14:43:32 -07001062 -since $(SRC_API_DIR)/26.txt 26 \
Andrew Solovaya6019b22017-10-06 14:27:20 -07001063 -since $(SRC_API_DIR)/27.txt 27 \
Jeff Sharkeyc204c222017-11-27 15:02:10 -07001064 -werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001065 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001066
1067framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1068 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1069
1070framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
Alan Viverette9ca513e2017-04-05 10:21:58 -04001071 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001072
1073framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001074 frameworks/base/docs/knowntags.txt \
Colin Cross72d359f2017-10-27 10:46:53 -07001075 $(libcore_to_document_generated)
Bart Searsa8cc0582015-05-07 03:23:20 +00001076
1077samples_dir := development/samples/browseable
1078
1079# Whitelist of valid groups, used for default TOC grouping. Each sample must
1080# belong to one (and only one) group. Assign samples to groups by setting
1081# a sample.group var to one of these groups in the sample's _index.jd.
1082sample_groups := -samplegroup Admin \
1083 -samplegroup Background \
1084 -samplegroup Connectivity \
1085 -samplegroup Content \
1086 -samplegroup Input \
1087 -samplegroup Media \
1088 -samplegroup Notification \
1089 -samplegroup RenderScript \
1090 -samplegroup Security \
1091 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001092 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001093 -samplegroup Testing \
1094 -samplegroup UI \
1095 -samplegroup Views \
1096 -samplegroup Wearable
1097
1098## SDK version identifiers used in the published docs
1099 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001100framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001101 # release version (ie "Release x") (full releases only)
1102framework_docs_SDK_REL_ID:=1
1103
1104framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001105 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001106 -hdf sdk.codename O \
1107 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001108 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1109 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001110 -hdf sdk.preview 0 \
1111 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1112 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001113
Alan Viverette9ca513e2017-04-05 10:21:58 -04001114# Federate Support Library references against local API file.
1115framework_docs_LOCAL_DROIDDOC_OPTIONS += \
1116 -federate SupportLib https://developer.android.com \
1117 -federationapi SupportLib prebuilts/sdk/current/support-api.txt
1118
Jeff Sharkeyd2bf31c2017-11-29 13:14:27 -07001119# ==== Public API diff ===========================
Alan Viverette6b7354c2017-07-13 17:10:14 -04001120include $(CLEAR_VARS)
1121
1122LOCAL_SRC_FILES := $(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1123LOCAL_INTERMEDIATE_SOURCES := $(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1124LOCAL_JAVA_LIBRARIES := $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1125LOCAL_MODULE_CLASS := $(framework_docs_LOCAL_MODULE_CLASS)
1126LOCAL_ADDITIONAL_JAVA_DIR := $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1127LOCAL_ADDITIONAL_DEPENDENCIES := \
1128 $(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) \
1129 $(INTERNAL_PLATFORM_API_FILE)
1130
1131LOCAL_MODULE := offline-sdk-referenceonly
1132
1133last_released_sdk_version := $(lastword $(call numerically_sort, \
1134 $(filter-out current, \
1135 $(patsubst $(SRC_API_DIR)/%.txt,%, $(wildcard $(SRC_API_DIR)/*.txt)) \
1136 )\
1137 ))
1138
1139LOCAL_APIDIFF_OLDAPI := $(LOCAL_PATH)/../../$(SRC_API_DIR)/$(last_released_sdk_version)
1140LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_API_FILE))
1141
1142include $(BUILD_APIDIFF)
1143
Jeff Sharkeyd2bf31c2017-11-29 13:14:27 -07001144# ==== System API diff ===========================
1145include $(CLEAR_VARS)
1146
1147LOCAL_SRC_FILES := $(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1148LOCAL_INTERMEDIATE_SOURCES := $(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1149LOCAL_JAVA_LIBRARIES := $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1150LOCAL_MODULE_CLASS := $(framework_docs_LOCAL_MODULE_CLASS)
1151LOCAL_ADDITIONAL_JAVA_DIR := $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1152LOCAL_ADDITIONAL_DEPENDENCIES := \
1153 $(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) \
1154 $(INTERNAL_PLATFORM_SYSTEM_API_FILE)
1155
1156LOCAL_MODULE := offline-system-sdk-referenceonly
1157
1158last_released_sdk_version := $(lastword $(call numerically_sort, \
1159 $(filter-out current, \
1160 $(patsubst $(SRC_SYSTEM_API_DIR)/%.txt,%, $(wildcard $(SRC_SYSTEM_API_DIR)/*.txt)) \
1161 )\
1162 ))
1163
1164LOCAL_APIDIFF_OLDAPI := $(LOCAL_PATH)/../../$(SRC_SYSTEM_API_DIR)/$(last_released_sdk_version)
1165LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1166
1167include $(BUILD_APIDIFF)
1168
Bart Searsa8cc0582015-05-07 03:23:20 +00001169# ==== the api stubs and current.xml ===========================
1170include $(CLEAR_VARS)
1171
1172LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1173LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1174LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1175LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1176LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1177LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1178LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1179LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1180
1181LOCAL_MODULE := api-stubs
1182
Ying Wang0f92a2e2015-07-16 14:20:22 -07001183LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1184
Bart Searsa8cc0582015-05-07 03:23:20 +00001185LOCAL_DROIDDOC_OPTIONS:=\
1186 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001187 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001188 -api $(INTERNAL_PLATFORM_API_FILE) \
1189 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1190 -nodocs
1191
Scott Main15b85172017-02-21 14:30:58 -08001192LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001193
1194LOCAL_UNINSTALLABLE_MODULE := true
1195
1196include $(BUILD_DROIDDOC)
1197
1198# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1199$(full_target): $(framework_built) $(gen)
1200$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1201$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1202
1203# ==== the system api stubs ===================================
1204include $(CLEAR_VARS)
1205
1206LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1207LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1208LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1209LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1210LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1211LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1212LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1213LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1214
1215LOCAL_MODULE := system-api-stubs
1216
Ying Wang0f92a2e2015-07-16 14:20:22 -07001217LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1218
Bart Searsa8cc0582015-05-07 03:23:20 +00001219LOCAL_DROIDDOC_OPTIONS:=\
1220 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001221 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001222 -showAnnotation android.annotation.SystemApi \
1223 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1224 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001225 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001226 -nodocs
1227
Scott Main15b85172017-02-21 14:30:58 -08001228LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001229
1230LOCAL_UNINSTALLABLE_MODULE := true
1231
1232include $(BUILD_DROIDDOC)
1233
1234# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1235$(full_target): $(framework_built) $(gen)
1236$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1237$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1238
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001239# ==== the test api stubs ===================================
1240include $(CLEAR_VARS)
1241
1242LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1243LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1244LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1245LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1246LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1247LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1248LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1249LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1250
1251LOCAL_MODULE := test-api-stubs
1252
1253LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1254
1255LOCAL_DROIDDOC_OPTIONS:=\
1256 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001257 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001258 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1259 -showAnnotation android.annotation.TestApi \
1260 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1261 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001262 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001263 -nodocs
1264
Scott Main15b85172017-02-21 14:30:58 -08001265LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001266
1267LOCAL_UNINSTALLABLE_MODULE := true
1268
1269include $(BUILD_DROIDDOC)
1270
1271# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1272$(full_target): $(framework_built) $(gen)
1273$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1274$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1275
Bart Searsa8cc0582015-05-07 03:23:20 +00001276# ==== check javadoc comments but don't generate docs ========
1277include $(CLEAR_VARS)
1278
1279LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1280LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1281LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1282LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1283LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1284LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1285LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1286LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1287
1288LOCAL_MODULE := doc-comment-check
1289
1290LOCAL_DROIDDOC_OPTIONS:=\
1291 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001292 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001293 -parsecomments
1294
Scott Main15b85172017-02-21 14:30:58 -08001295LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001296
1297LOCAL_UNINSTALLABLE_MODULE := true
1298
1299include $(BUILD_DROIDDOC)
1300
1301# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1302$(full_target): $(framework_built) $(gen)
1303
1304# Run this for checkbuild
1305checkbuild: doc-comment-check-docs
1306# Check comment when you are updating the API
1307update-api: doc-comment-check-docs
1308
1309# ==== static html in the sdk ==================================
1310include $(CLEAR_VARS)
1311
1312LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1313LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1314LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1315LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1316LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1317LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1318LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1319LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1320
1321LOCAL_MODULE := offline-sdk
1322
1323LOCAL_DROIDDOC_OPTIONS:=\
1324 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1325 -offlinemode \
1326 -title "Android SDK" \
1327 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001328 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001329 -hdf android.whichdoc offline
1330
Scott Main15b85172017-02-21 14:30:58 -08001331LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001332
1333include $(BUILD_DROIDDOC)
1334
1335static_doc_index_redirect := $(out_dir)/index.html
1336$(static_doc_index_redirect): \
1337 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1338 $(hide) mkdir -p $(dir $@)
1339 $(hide) $(ACP) $< $@
1340
1341$(full_target): $(static_doc_index_redirect)
1342$(full_target): $(framework_built)
1343
1344
Jeff Sharkeyd2bf31c2017-11-29 13:14:27 -07001345# ==== Public API static reference docs ==================================
smain@google.com8562ab52016-06-14 17:11:57 -07001346include $(CLEAR_VARS)
1347
1348LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1349LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1350LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1351LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1352LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1353LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1354LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1355LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1356
1357LOCAL_MODULE := offline-sdk-referenceonly
1358
1359LOCAL_DROIDDOC_OPTIONS:=\
1360 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1361 -offlinemode \
1362 -title "Android SDK" \
1363 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1364 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001365 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001366 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001367
Scott Main15b85172017-02-21 14:30:58 -08001368LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001369
1370include $(BUILD_DROIDDOC)
1371
1372static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001373$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001374 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001375
smain@google.com2f2365d2016-09-21 14:05:50 -07001376static_doc_properties := $(out_dir)/source.properties
1377$(static_doc_properties): \
1378 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1379 $(hide) mkdir -p $(dir $@)
1380 $(hide) $(ACP) $< $@
1381
smain@google.com00de8c52016-03-07 18:38:08 -08001382$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001383$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001384$(full_target): $(framework_built)
1385
smain@google.com7aca8be2016-03-10 14:13:30 -08001386
Jeff Sharkeyd2bf31c2017-11-29 13:14:27 -07001387# ==== System API static reference docs ==================================
1388include $(CLEAR_VARS)
1389
1390LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1391LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1392LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1393LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1394LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1395LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1396LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1397LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1398
1399LOCAL_MODULE := offline-system-sdk-referenceonly
1400
1401LOCAL_DROIDDOC_OPTIONS:=\
1402 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1403 -hide 101 -hide 104 -hide 108 \
1404 -showAnnotation android.annotation.SystemApi \
1405 -offlinemode \
1406 -title "Android System SDK" \
1407 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1408 -sdkvalues $(OUT_DOCS) \
1409 -hdf android.whichdoc offline \
1410 -referenceonly
1411
1412LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
1413
1414include $(BUILD_DROIDDOC)
1415
1416static_doc_index_redirect := $(out_dir)/index.html
1417$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
1418 $(copy-file-to-target)
1419
1420static_doc_properties := $(out_dir)/source.properties
1421$(static_doc_properties): \
1422 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1423 $(hide) mkdir -p $(dir $@)
1424 $(hide) $(ACP) $< $@
1425
1426$(full_target): $(static_doc_index_redirect)
1427$(full_target): $(static_doc_properties)
1428$(full_target): $(framework_built)
1429
1430
Bart Searsa8cc0582015-05-07 03:23:20 +00001431# ==== docs for the web (on the androiddevdocs app engine server) =======================
1432include $(CLEAR_VARS)
1433
1434LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1435LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1436LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1437LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1438LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1439LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1440LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1441LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1442LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1443LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1444
1445LOCAL_MODULE := online-sdk
1446
1447LOCAL_DROIDDOC_OPTIONS:= \
1448 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1449 -toroot / \
1450 -hdf android.whichdoc online \
1451 $(sample_groups) \
1452 -hdf android.hasSamples true \
1453 -samplesdir $(samples_dir)
1454
Scott Main15b85172017-02-21 14:30:58 -08001455LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001456
1457include $(BUILD_DROIDDOC)
1458
1459# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001460include $(CLEAR_VARS)
1461
1462LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1463LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1464LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1465LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1466LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1467LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1468LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1469LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1470LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1471LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1472
1473LOCAL_MODULE := online-system-api-sdk
1474
1475LOCAL_DROIDDOC_OPTIONS:= \
1476 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001477 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001478 -showAnnotation android.annotation.SystemApi \
1479 -title "Android SDK - Including system APIs." \
1480 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001481 -hide 101 \
1482 -hide 104 \
1483 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001484 -hdf android.whichdoc online \
1485 $(sample_groups) \
1486 -hdf android.hasSamples true \
1487 -samplesdir $(samples_dir)
1488
Scott Main15b85172017-02-21 14:30:58 -08001489LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001490
Bart Searsa8cc0582015-05-07 03:23:20 +00001491LOCAL_UNINSTALLABLE_MODULE := true
1492
1493include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001494
1495# ==== docs for the web (on the devsite app engine server) =======================
1496include $(CLEAR_VARS)
1497LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1498LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1499LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1500LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1501LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1502LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1503LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1504LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1505LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1506# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001507LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001508
1509LOCAL_MODULE := ds
1510
1511LOCAL_DROIDDOC_OPTIONS:= \
1512 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001513 -toroot / \
1514 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001515 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001516 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001517 -hdf android.hasSamples true \
1518 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001519
Scott Main15b85172017-02-21 14:30:58 -08001520LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001521
1522include $(BUILD_DROIDDOC)
1523
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001524# ==== docs for the web (on the devsite app engine server) =======================
1525include $(CLEAR_VARS)
1526LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1527LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1528LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1529LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1530LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1531LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1532LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1533LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1534LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1535# specify a second html input dir and an output path relative to OUT_DIR)
1536LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1537
1538LOCAL_MODULE := ds-static
1539
1540LOCAL_DROIDDOC_OPTIONS:= \
1541 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1542 -hdf android.whichdoc online \
1543 -staticonly \
1544 -toroot / \
1545 -devsite \
1546 -ignoreJdLinks
1547
Scott Main15b85172017-02-21 14:30:58 -08001548LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001549
1550include $(BUILD_DROIDDOC)
1551
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001552# ==== generates full navtree for resolving @links in ds postprocessing ====
1553include $(CLEAR_VARS)
1554
1555LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1556LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1557LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1558LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1559LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1560LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1561LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1562LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1563
1564LOCAL_MODULE := ds-ref-navtree
1565
1566LOCAL_DROIDDOC_OPTIONS:= \
1567 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1568 -hdf android.whichdoc online \
1569 -toroot / \
1570 -atLinksNavtree \
1571 -navtreeonly
1572
Scott Main15b85172017-02-21 14:30:58 -08001573LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001574
1575include $(BUILD_DROIDDOC)
1576
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001577# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001578include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001579
Bart Searsa8cc0582015-05-07 03:23:20 +00001580LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1581LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1582LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1583LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1584LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1585LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001586LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001587LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1588LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001589LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001590
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001591LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001592
1593LOCAL_DROIDDOC_OPTIONS:= \
1594 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1595 -toroot / \
1596 -hdf android.whichdoc online \
1597 $(sample_groups) \
1598 -hdf android.hasSamples true \
1599 -samplesdir $(samples_dir)
1600
Scott Main15b85172017-02-21 14:30:58 -08001601LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001602
1603include $(BUILD_DROIDDOC)
1604
Bart Searsa8cc0582015-05-07 03:23:20 +00001605# ==== docs that have all of the stuff that's @hidden =======================
1606include $(CLEAR_VARS)
1607
1608LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1609LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1610LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1611LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1612LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1613LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1614LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1615LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1616
1617LOCAL_MODULE := hidden
1618LOCAL_DROIDDOC_OPTIONS:=\
1619 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001620 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001621 -title "Android SDK - Including hidden APIs."
1622# -hidden
1623
Scott Main15b85172017-02-21 14:30:58 -08001624LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001625
1626include $(BUILD_DROIDDOC)
1627
Joe Onorato1754d742016-11-21 17:51:35 -08001628# ==== java proto host library ==============================
1629include $(CLEAR_VARS)
1630LOCAL_MODULE := platformprotos
1631LOCAL_PROTOC_OPTIMIZE_TYPE := full
1632LOCAL_PROTOC_FLAGS := \
1633 -Iexternal/protobuf/src
1634LOCAL_SOURCE_FILES_ALL_GENERATED := true
1635LOCAL_SRC_FILES := \
Yi Jin04625ad2017-10-17 18:29:33 -07001636 tools/streaming_proto/stream.proto \
Mike Mada3a2952017-11-13 12:06:45 -08001637 cmds/am/proto/instrumentation_data.proto \
Joe Onorato1754d742016-11-21 17:51:35 -08001638 $(call all-proto-files-under, core/proto) \
Chenjie Yu15176cd2017-11-22 12:36:41 -08001639 $(call all-proto-files-under, libs/incident/proto) \
1640 $(call all-proto-files-under, cmds/statsd/src)
Joe Onorato1754d742016-11-21 17:51:35 -08001641include $(BUILD_HOST_JAVA_LIBRARY)
1642
Steven Timotius7ece0422017-08-03 13:37:26 -07001643# ==== java proto device library (for test only) ==============================
1644include $(CLEAR_VARS)
1645LOCAL_MODULE := platformprotosnano
1646LOCAL_MODULE_TAGS := tests optional
1647LOCAL_PROTOC_OPTIMIZE_TYPE := nano
1648LOCAL_PROTOC_FLAGS := \
1649 -Iexternal/protobuf/src
1650LOCAL_PROTO_JAVA_OUTPUT_PARAMS := \
1651 store_unknown_fields = true
1652LOCAL_JAVA_LIBRARIES := core-oj core-libart
1653LOCAL_SRC_FILES := \
1654 $(call all-proto-files-under, core/proto)
1655include $(BUILD_STATIC_JAVA_LIBRARY)
1656
Bart Searsa8cc0582015-05-07 03:23:20 +00001657
1658# Include subdirectory makefiles
1659# ============================================================
1660
1661# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1662# team really wants is to build the stuff defined by this makefile.
1663ifeq (,$(ONE_SHOT_MAKEFILE))
1664include $(call first-makefiles-under,$(LOCAL_PATH))
1665endif
1666
1667endif # ANDROID_BUILD_EMBEDDED