blob: b84742501eb6a9cc071c63dfbb617e7953e956b1 [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 \
Bart Searsa8cc0582015-05-07 03:23:20 +000082 core/java/android/app/ITaskStackListener.aidl \
83 core/java/android/app/IBackupAgent.aidl \
Todd Kennedy31b95e02016-08-04 14:27:15 -070084 core/java/android/app/IEphemeralResolver.aidl \
Andrii Kulianed76e742017-06-26 14:57:02 -070085 core/java/android/app/IInputForwarder.aidl \
Todd Kennedy1fb34042017-03-01 13:56:58 -080086 core/java/android/app/IInstantAppResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000087 core/java/android/app/IInstrumentationWatcher.aidl \
88 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000089 core/java/android/app/IProcessObserver.aidl \
90 core/java/android/app/ISearchManager.aidl \
91 core/java/android/app/ISearchManagerCallback.aidl \
92 core/java/android/app/IServiceConnection.aidl \
93 core/java/android/app/IStopUserCallback.aidl \
94 core/java/android/app/job/IJobCallback.aidl \
95 core/java/android/app/job/IJobScheduler.aidl \
96 core/java/android/app/job/IJobService.aidl \
97 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070098 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000099 core/java/android/app/IUiAutomationConnection.aidl \
100 core/java/android/app/IUiModeManager.aidl \
101 core/java/android/app/IUserSwitchObserver.aidl \
102 core/java/android/app/IWallpaperManager.aidl \
103 core/java/android/app/IWallpaperManagerCallback.aidl \
Makoto Onukifc73d792017-03-22 14:22:35 -0700104 core/java/android/app/admin/IDeviceAdminService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000105 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -0700106 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000107 core/java/android/app/trust/ITrustManager.aidl \
108 core/java/android/app/trust/ITrustListener.aidl \
109 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100110 core/java/android/app/backup/IBackupObserver.aidl \
Stefanotb1f573d2017-01-27 12:03:53 +0000111 core/java/android/app/backup/IBackupManagerMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000112 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
113 core/java/android/app/backup/IRestoreObserver.aidl \
114 core/java/android/app/backup/IRestoreSession.aidl \
Shreyas Basarge865303f2017-01-13 14:48:56 +0000115 core/java/android/app/backup/ISelectBackupTransportCallback.aidl \
Neil Fullerfe6ec562017-03-16 18:29:36 +0000116 core/java/android/app/timezone/ICallback.aidl \
117 core/java/android/app/timezone/IRulesManager.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800118 core/java/android/app/usage/ICacheQuotaService.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700119 core/java/android/app/usage/IStorageStatsManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000120 core/java/android/app/usage/IUsageStatsManager.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700121 ../../system/bt/binder/android/bluetooth/IBluetooth.aidl \
122 ../../system/bt/binder/android/bluetooth/IBluetoothA2dp.aidl \
123 ../../system/bt/binder/android/bluetooth/IBluetoothA2dpSink.aidl \
124 ../../system/bt/binder/android/bluetooth/IBluetoothAvrcpController.aidl \
125 ../../system/bt/binder/android/bluetooth/IBluetoothCallback.aidl \
126 ../../system/bt/binder/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
127 ../../system/bt/binder/android/bluetooth/IBluetoothHeadset.aidl \
128 ../../system/bt/binder/android/bluetooth/IBluetoothHeadsetPhone.aidl \
129 ../../system/bt/binder/android/bluetooth/IBluetoothHealth.aidl \
130 ../../system/bt/binder/android/bluetooth/IBluetoothHealthCallback.aidl \
Hansong Zhangc26c76c2017-10-20 15:55:59 -0700131 ../../system/bt/binder/android/bluetooth/IBluetoothHidHost.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700132 ../../system/bt/binder/android/bluetooth/IBluetoothPan.aidl \
133 ../../system/bt/binder/android/bluetooth/IBluetoothManager.aidl \
134 ../../system/bt/binder/android/bluetooth/IBluetoothManagerCallback.aidl \
135 ../../system/bt/binder/android/bluetooth/IBluetoothMap.aidl \
136 ../../system/bt/binder/android/bluetooth/IBluetoothMapClient.aidl \
137 ../../system/bt/binder/android/bluetooth/IBluetoothPbap.aidl \
138 ../../system/bt/binder/android/bluetooth/IBluetoothPbapClient.aidl \
139 ../../system/bt/binder/android/bluetooth/IBluetoothSap.aidl \
Jakub Pawlowski422af4d2017-11-01 10:12:36 -0700140 ../../system/bt/binder/android/bluetooth/IBluetoothSocketManager.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700141 ../../system/bt/binder/android/bluetooth/IBluetoothStateChangeCallback.aidl \
142 ../../system/bt/binder/android/bluetooth/IBluetoothHeadsetClient.aidl \
Hansong Zhangc26c76c2017-10-20 15:55:59 -0700143 ../../system/bt/binder/android/bluetooth/IBluetoothHidDevice.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700144 ../../system/bt/binder/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
145 ../../system/bt/binder/android/bluetooth/IBluetoothGatt.aidl \
146 ../../system/bt/binder/android/bluetooth/IBluetoothGattCallback.aidl \
147 ../../system/bt/binder/android/bluetooth/IBluetoothGattServerCallback.aidl \
148 ../../system/bt/binder/android/bluetooth/le/IAdvertisingSetCallback.aidl \
149 ../../system/bt/binder/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
150 ../../system/bt/binder/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000151 core/java/android/content/IClipboard.aidl \
152 core/java/android/content/IContentService.aidl \
153 core/java/android/content/IIntentReceiver.aidl \
154 core/java/android/content/IIntentSender.aidl \
155 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
156 core/java/android/content/IRestrictionsManager.aidl \
157 core/java/android/content/ISyncAdapter.aidl \
158 core/java/android/content/ISyncContext.aidl \
159 core/java/android/content/ISyncServiceAdapter.aidl \
160 core/java/android/content/ISyncStatusObserver.aidl \
MÃ¥rten Kongstadeabc9e92015-12-15 16:40:23 +0100161 core/java/android/content/om/IOverlayManager.aidl \
Tony Mak1b708e62017-10-12 10:59:11 +0100162 core/java/android/content/pm/crossprofile/ICrossProfileApps.aidl \
Calin Juravle3d2af7f2017-04-19 19:56:21 -0700163 core/java/android/content/pm/IDexModuleRegisterCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000164 core/java/android/content/pm/ILauncherApps.aidl \
165 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800166 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800167 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000168 core/java/android/content/pm/IPackageDataObserver.aidl \
169 core/java/android/content/pm/IPackageDeleteObserver.aidl \
170 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
171 core/java/android/content/pm/IPackageInstallObserver.aidl \
172 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 \
222 core/java/android/hardware/location/IContextHubService.aidl \
Arthur Ishiguro6c37fd02017-10-26 15:36:22 -0700223 core/java/android/hardware/location/IContextHubTransactionCallback.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700224 core/java/android/hardware/radio/IRadioService.aidl \
225 core/java/android/hardware/radio/ITuner.aidl \
Tomasz Wasilczyk21348172017-04-20 14:02:42 -0700226 core/java/android/hardware/radio/ITunerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000227 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
228 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400229 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000230 core/java/android/net/IConnectivityManager.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900231 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000232 core/java/android/net/IEthernetManager.aidl \
233 core/java/android/net/IEthernetServiceListener.aidl \
Michal Karpinskidd9bb4f2016-10-12 14:59:26 +0100234 core/java/android/net/INetdEventCallback.aidl \
Nathan Harold28084d82017-03-01 18:55:06 -0800235 core/java/android/net/IIpSecService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000236 core/java/android/net/INetworkManagementEventObserver.aidl \
237 core/java/android/net/INetworkPolicyListener.aidl \
238 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslin13978372016-11-28 17:47:35 -0800239 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000240 core/java/android/net/INetworkScoreCache.aidl \
241 core/java/android/net/INetworkScoreService.aidl \
242 core/java/android/net/INetworkStatsService.aidl \
243 core/java/android/net/INetworkStatsSession.aidl \
Lorenzo Colittief7b2a12017-07-10 19:06:57 +0900244 core/java/android/net/ITetheringStatsProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000245 core/java/android/net/nsd/INsdManager.aidl \
246 core/java/android/nfc/IAppCallback.aidl \
247 core/java/android/nfc/INfcAdapter.aidl \
248 core/java/android/nfc/INfcAdapterExtras.aidl \
249 core/java/android/nfc/INfcTag.aidl \
250 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900251 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000252 core/java/android/nfc/INfcUnlockHandler.aidl \
Love Khanna755a8fa2017-05-17 15:52:16 +0530253 core/java/android/nfc/INfcDta.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200254 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000255 core/java/android/os/IBatteryPropertiesListener.aidl \
256 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
257 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700258 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000259 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100260 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800261 core/java/android/os/IIncidentManager.aidl \
262 core/java/android/os/IIncidentReportCompletedListener.aidl \
263 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800264 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000265 core/java/android/os/IMessenger.aidl \
266 core/java/android/os/INetworkActivityListener.aidl \
267 core/java/android/os/INetworkManagementService.aidl \
268 core/java/android/os/IPermissionController.aidl \
269 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600270 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000271 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800272 core/java/android/os/IRecoverySystem.aidl \
273 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000274 core/java/android/os/IRemoteCallback.aidl \
275 core/java/android/os/ISchedulingPolicyService.aidl \
yro31eb67b2017-10-24 13:33:21 -0700276 core/java/android/os/IStatsCallbacks.aidl \
Bookatz94726412017-08-31 09:26:15 -0700277 core/java/android/os/IStatsCompanionService.aidl \
Joe Onorato5dcbc6c2017-08-29 15:13:58 -0700278 core/java/android/os/IStatsManager.aidl \
Todd Poynordd055822017-05-25 17:53:21 -0700279 core/java/android/os/IThermalEventListener.aidl \
280 core/java/android/os/IThermalService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000281 core/java/android/os/IUpdateLock.aidl \
282 core/java/android/os/IUserManager.aidl \
283 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800284 core/java/android/os/storage/IStorageManager.aidl \
285 core/java/android/os/storage/IStorageEventListener.aidl \
286 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700287 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000288 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700289 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700290 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800291 core/java/android/service/autofill/IFillCallback.aidl \
292 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700293 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000294 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
295 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700296 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800297 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700298 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800299 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700300 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800301 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
302 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700303 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700304 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson7b69a862017-06-16 15:20:34 -0700305 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700306 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
307 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000308 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
309 core/java/android/service/notification/INotificationListener.aidl \
310 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
311 core/java/android/service/notification/IConditionListener.aidl \
312 core/java/android/service/notification/IConditionProvider.aidl \
Fan Zhang723bf372017-08-25 17:22:31 -0700313 core/java/android/service/settings/suggestions/ISuggestionService.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700314 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800315 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700316 core/java/android/service/vr/IVrManager.aidl \
317 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000318 core/java/android/print/ILayoutResultCallback.aidl \
319 core/java/android/print/IPrinterDiscoveryObserver.aidl \
320 core/java/android/print/IPrintDocumentAdapter.aidl \
321 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
322 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800323 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700324 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000325 core/java/android/print/IPrintManager.aidl \
326 core/java/android/print/IPrintSpooler.aidl \
327 core/java/android/print/IPrintSpoolerCallbacks.aidl \
328 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700329 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
330 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000331 core/java/android/print/IWriteResultCallback.aidl \
332 core/java/android/printservice/IPrintService.aidl \
333 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800334 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800335 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
336 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
337 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000338 core/java/android/service/dreams/IDreamManager.aidl \
339 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000340 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000341 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
342 core/java/android/service/trust/ITrustAgentService.aidl \
343 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
344 core/java/android/service/voice/IVoiceInteractionService.aidl \
345 core/java/android/service/voice/IVoiceInteractionSession.aidl \
346 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
347 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
348 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
349 core/java/android/service/wallpaper/IWallpaperService.aidl \
350 core/java/android/service/chooser/IChooserTargetService.aidl \
351 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700352 core/java/android/service/resolver/IResolverRankerService.aidl \
353 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000354 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
355 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
356 core/java/android/view/accessibility/IAccessibilityManager.aidl \
357 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000358 core/java/android/view/autofill/IAutoFillManager.aidl \
359 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700360 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000361 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100362 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100363 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000364 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800365 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000366 core/java/android/view/IInputFilter.aidl \
367 core/java/android/view/IInputFilterHost.aidl \
368 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700369 core/java/android/view/IPinnedStackController.aidl \
370 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000371 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupine1571702017-05-24 14:14:44 -0700372 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000373 core/java/android/view/IWindow.aidl \
374 core/java/android/view/IWindowFocusObserver.aidl \
375 core/java/android/view/IWindowId.aidl \
376 core/java/android/view/IWindowManager.aidl \
377 core/java/android/view/IWindowSession.aidl \
378 core/java/android/view/IWindowSessionCallback.aidl \
379 core/java/android/webkit/IWebViewUpdateService.aidl \
380 core/java/android/speech/IRecognitionListener.aidl \
381 core/java/android/speech/IRecognitionService.aidl \
382 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
383 core/java/android/speech/tts/ITextToSpeechService.aidl \
384 core/java/com/android/internal/app/IAppOpsCallback.aidl \
385 core/java/com/android/internal/app/IAppOpsService.aidl \
Winson Chungda2818f2017-10-23 16:25:49 -0700386 core/java/com/android/internal/app/IAssistDataReceiver.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 \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800526 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000527 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800528 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
529 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000530 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
531 telephony/java/com/android/ims/internal/IImsUt.aidl \
532 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
533 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
534 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700535 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
536 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
537 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
538 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
539 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
540 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000541 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liue1ef5102017-05-23 13:07:07 -0700542 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000543 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
544 telephony/java/com/android/internal/telephony/IMms.aidl \
545 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
546 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
547 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
548 telephony/java/com/android/internal/telephony/ISms.aidl \
549 telephony/java/com/android/internal/telephony/ISub.aidl \
550 telephony/java/com/android/internal/telephony/ITelephony.aidl \
551 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
552 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800553 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000554 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700555 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Etan Cohen3d33d742017-09-27 13:57:02 -0700556 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
557 wifi/java/android/net/wifi/aware/IWifiAwareMacAddressProvider.aidl \
558 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000559 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
Etan Cohen17ba4722017-08-21 10:52:17 -0700560 wifi/java/android/net/wifi/rtt/IRttCallback.aidl \
561 wifi/java/android/net/wifi/rtt/IWifiRttManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000562 wifi/java/android/net/wifi/IWifiScanner.aidl \
563 wifi/java/android/net/wifi/IRttManager.aidl \
564 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
565 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
566 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500567 core/java/android/service/quicksettings/IQSService.aidl \
568 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000569
Tao Baobdc77362016-01-19 15:52:28 -0800570# The following are native binders that need to go with the native component
571# at system/update_engine/binder_bindings/. Use relative path to refer to them.
572LOCAL_SRC_FILES += \
573 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
574 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
575
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700576LOCAL_SRC_FILES += \
Jin Qian12690d52017-10-13 18:17:04 -0700577 ../../system/core/storaged/binder/android/os/IStoraged.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900578 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkeyace874b2017-09-07 15:27:33 -0600579 ../../system/vold/binder/android/os/IVold.aidl \
Jeff Sharkey8058fe62017-09-13 11:50:33 -0600580 ../../system/vold/binder/android/os/IVoldListener.aidl \
Jeff Sharkeyb302c542017-09-15 12:57:59 -0600581 ../../system/vold/binder/android/os/IVoldTaskListener.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700582 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900583
Tao Baobdc77362016-01-19 15:52:28 -0800584LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
585
David Chen1481fe12017-10-16 13:16:34 -0700586LOCAL_AIDL_INCLUDES += core/java/android/os/StatsLogEventWrapper.aidl
587
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800588LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
589LOCAL_SRC_FILES += \
590 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
591 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
592 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
593 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
594 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
595 lowpan/java/android/net/lowpan/ILowpanManager.aidl
596
Yao Chend54f9dd2017-10-17 17:37:48 +0000597# StatsLog generated functions
598statslog_src_dir := $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)/statslog
599gen := $(statslog_src_dir)/android/util/StatsLog.java
600$(gen): PRIVATE_PATH := $(LOCAL_PATH)
601$(gen): PRIVATE_CUSTOM_TOOL = $(HOST_OUT_EXECUTABLES)/stats-log-api-gen --java $@
602$(gen): $(HOST_OUT_EXECUTABLES)/stats-log-api-gen
603 $(transform-generated-source)
604LOCAL_GENERATED_SOURCES += $(gen)
605statslog_src_dir:=
606gen:=
607
Bart Searsa8cc0582015-05-07 03:23:20 +0000608# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800609LOCAL_AIDL_INCLUDES += \
610 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
611 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000612
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800613LOCAL_AIDL_INCLUDES += \
614 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800615 frameworks/av/drm/libmediadrm/aidl \
Ivan Lozano330d8762017-08-08 12:51:06 -0700616 frameworks/av/media/libaudioclient/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100617 frameworks/native/aidl/gui \
Jin Qian12690d52017-10-13 18:17:04 -0700618 system/core/storaged/binder \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700619 system/netd/server/binder \
Jeff Sharkey8058fe62017-09-13 11:50:33 -0600620 system/vold/binder \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700621 system/bt/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800622
Bart Searsa8cc0582015-05-07 03:23:20 +0000623LOCAL_INTERMEDIATE_SOURCES := \
624 $(framework_res_source_path)/android/R.java \
625 $(framework_res_source_path)/android/Manifest.java \
626 $(framework_res_source_path)/com/android/internal/R.java
627
Colin Crossc558dd92016-08-31 18:01:06 -0700628# Make sure that R.java and Manifest.java are built before we build
629# the source for this library.
630framework_res_R_stamp := \
631 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
632LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
633
Bart Searsa8cc0582015-05-07 03:23:20 +0000634LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000635LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700636
Steven Morelandeeb01532017-08-03 12:35:08 -0700637LOCAL_STATIC_JAVA_LIBRARIES := \
638 framework-protos \
639 android.hidl.base-V1.0-java \
640 android.hardware.cas-V1.0-java \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700641 android.hardware.health-V1.0-java-constants \
642 android.hardware.thermal-V1.0-java-constants \
643 android.hardware.tv.input-V1.0-java-constants \
644 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700645 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700646 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100647 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700648 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000649
Colin Cross9d937df2017-03-21 10:59:07 -0700650# Loaded with System.loadLibrary by android.view.textclassifier
651LOCAL_REQUIRED_MODULES += libtextclassifier
652
Joe Onorato1754d742016-11-21 17:51:35 -0800653LOCAL_PROTOC_OPTIMIZE_TYPE := stream
654LOCAL_PROTOC_FLAGS := \
655 -Iexternal/protobuf/src
656
Bart Searsa8cc0582015-05-07 03:23:20 +0000657LOCAL_MODULE := framework
658
Nan Zhangf7141d52017-10-04 09:45:04 -0700659LOCAL_JAVAC_SHARD_SIZE := 150
660
Colin Crossbe2d3302016-12-21 16:48:32 -0800661LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000662LOCAL_JACK_FLAGS := --multi-dex native
663
664LOCAL_RMTYPEDEFS := true
665
Allen Hair0e4f0142016-06-27 17:01:50 -0700666ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
667LOCAL_EMMA_INSTRUMENT := true
668endif
669
Bart Searsa8cc0582015-05-07 03:23:20 +0000670include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700671
Bart Searsa8cc0582015-05-07 03:23:20 +0000672framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000673$(framework_module): | $(dir $(framework_module))framework-res.apk
674
675framework_built := $(call java-lib-deps,framework)
676
677# Copy AIDL files to be preprocessed and included in the SDK,
678# specified relative to the root of the build tree.
679# ============================================================
680include $(CLEAR_VARS)
681
682aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800683 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800684 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
685 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
686 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800687 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000688 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
689 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
690 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
691 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
692 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
693 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700694 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800695 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
696 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700697 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000698 frameworks/base/location/java/android/location/Location.aidl \
699 frameworks/base/location/java/android/location/Address.aidl \
700 frameworks/base/location/java/android/location/Criteria.aidl \
701 frameworks/base/media/java/android/media/MediaMetadata.aidl \
702 frameworks/base/media/java/android/media/MediaDescription.aidl \
703 frameworks/base/media/java/android/media/Rating.aidl \
704 frameworks/base/media/java/android/media/AudioAttributes.aidl \
705 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
706 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
707 frameworks/base/media/java/android/media/session/MediaSession.aidl \
708 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
709 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
710 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
711 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700712 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
713 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
714 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000715 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
716 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
717 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
718 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
719 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
720 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
721 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
Etan Cohen17ba4722017-08-21 10:52:17 -0700722 frameworks/base/wifi/java/android/net/wifi/rtt/RangingRequest.aidl \
723 frameworks/base/wifi/java/android/net/wifi/rtt/RangingResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000724 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
725 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800726 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000727 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
728 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
729 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
730 frameworks/base/graphics/java/android/graphics/Region.aidl \
731 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
732 frameworks/base/graphics/java/android/graphics/Point.aidl \
733 frameworks/base/graphics/java/android/graphics/PointF.aidl \
734 frameworks/base/graphics/java/android/graphics/RectF.aidl \
735 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800736 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000737 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
738 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100739 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
740 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
741 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100742 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100743 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000744 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
745 frameworks/base/core/java/android/print/PageRange.aidl \
746 frameworks/base/core/java/android/print/PrintAttributes.aidl \
747 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
748 frameworks/base/core/java/android/print/PrinterId.aidl \
749 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
750 frameworks/base/core/java/android/print/PrinterInfo.aidl \
751 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700752 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk8cfb0e82017-07-12 13:59:20 -0700753 frameworks/base/core/java/android/hardware/radio/ProgramSelector.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700754 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Tomasz Wasilczykc9a1ac72017-05-17 21:29:28 -0700755 frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000756 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
757 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
758 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
759 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
760 frameworks/base/core/java/android/os/Messenger.aidl \
761 frameworks/base/core/java/android/os/PatternMatcher.aidl \
762 frameworks/base/core/java/android/os/Message.aidl \
763 frameworks/base/core/java/android/os/UserHandle.aidl \
764 frameworks/base/core/java/android/os/ParcelUuid.aidl \
765 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
766 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000767 frameworks/base/core/java/android/os/WorkSource.aidl \
768 frameworks/base/core/java/android/os/DropBoxManager.aidl \
769 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700770 frameworks/base/core/java/android/os/Debug.aidl \
John Reckdea6a022017-05-25 17:09:33 -0700771 frameworks/base/core/java/android/os/SharedMemory.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700772 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000773 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
774 frameworks/base/core/java/android/net/Network.aidl \
775 frameworks/base/core/java/android/net/RouteInfo.aidl \
776 frameworks/base/core/java/android/net/NetworkInfo.aidl \
777 frameworks/base/core/java/android/net/IpPrefix.aidl \
778 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
779 frameworks/base/core/java/android/net/DhcpInfo.aidl \
780 frameworks/base/core/java/android/net/ProxyInfo.aidl \
781 frameworks/base/core/java/android/net/LinkProperties.aidl \
782 frameworks/base/core/java/android/net/Uri.aidl \
783 frameworks/base/core/java/android/net/NetworkRequest.aidl \
784 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700785 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700786 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000787 frameworks/base/core/java/android/view/InputDevice.aidl \
788 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800789 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700790 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000791 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
792 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
793 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
794 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
795 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
796 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
797 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
798 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
799 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
800 frameworks/base/core/java/android/view/DragEvent.aidl \
801 frameworks/base/core/java/android/view/KeyEvent.aidl \
802 frameworks/base/core/java/android/view/WindowManager.aidl \
803 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
804 frameworks/base/core/java/android/view/MotionEvent.aidl \
805 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
806 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
807 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
808 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
809 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
810 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
811 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
812 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
813 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
814 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
815 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700816 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800817 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700818 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500819 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
820 frameworks/base/core/java/android/service/notification/Condition.aidl \
821 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000822 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
823 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700824 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000825 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800826 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700827 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700828 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000829 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000830 frameworks/base/core/java/android/app/Notification.aidl \
831 frameworks/base/core/java/android/app/NotificationManager.aidl \
832 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
833 frameworks/base/core/java/android/app/AppOpsManager.aidl \
834 frameworks/base/core/java/android/app/ActivityManager.aidl \
835 frameworks/base/core/java/android/app/PendingIntent.aidl \
836 frameworks/base/core/java/android/app/AlarmManager.aidl \
837 frameworks/base/core/java/android/app/SearchableInfo.aidl \
838 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700839 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
840 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000841 frameworks/base/core/java/android/app/job/JobParameters.aidl \
842 frameworks/base/core/java/android/app/job/JobInfo.aidl \
843 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
844 frameworks/base/core/java/android/content/ClipDescription.aidl \
845 frameworks/base/core/java/android/content/IntentFilter.aidl \
846 frameworks/base/core/java/android/content/Intent.aidl \
847 frameworks/base/core/java/android/content/res/Configuration.aidl \
848 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
849 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
850 frameworks/base/core/java/android/content/ClipData.aidl \
851 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
852 frameworks/base/core/java/android/content/SyncRequest.aidl \
853 frameworks/base/core/java/android/content/PeriodicSync.aidl \
854 frameworks/base/core/java/android/content/SyncResult.aidl \
855 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
856 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
857 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
858 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
859 frameworks/base/core/java/android/content/pm/Signature.aidl \
860 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
861 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
862 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700863 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000864 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
865 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
866 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
867 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
868 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800869 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000870 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
871 frameworks/base/core/java/android/content/ComponentName.aidl \
872 frameworks/base/core/java/android/content/SyncStats.aidl \
873 frameworks/base/core/java/android/content/ContentValues.aidl \
874 frameworks/base/core/java/android/content/SyncInfo.aidl \
875 frameworks/base/core/java/android/content/IntentSender.aidl \
876 frameworks/base/core/java/android/widget/RemoteViews.aidl \
877 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
878 frameworks/base/core/java/android/nfc/Tag.aidl \
879 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
880 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000881 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500882 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800883 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Jakub Pawlowski06ae9c62017-08-08 04:27:20 -0700884 system/bt/binder/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
885 system/bt/binder/android/bluetooth/le/AdvertiseSettings.aidl \
886 system/bt/binder/android/bluetooth/le/ScanSettings.aidl \
887 system/bt/binder/android/bluetooth/le/AdvertiseData.aidl \
888 system/bt/binder/android/bluetooth/le/ScanFilter.aidl \
889 system/bt/binder/android/bluetooth/le/ScanResult.aidl \
890 system/bt/binder/android/bluetooth/BluetoothDevice.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100891 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700892 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000893
894gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
895$(gen): PRIVATE_SRC_FILES := $(aidl_files)
896ALL_SDK_FILES += $(gen)
897$(gen): $(aidl_files) | $(AIDL)
898 @echo Aidl Preprocess: $@
899 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
900
901# the documentation
902# ============================================================
903
904# TODO: deal with com/google/android/googleapps
905packages_to_document := \
906 android \
907 javax/microedition/khronos \
908 org/apache/http/conn \
909 org/apache/http/params
910
911
912# Search through the base framework dirs for these packages.
913# The result will be relative to frameworks/base.
914fwbase_dirs_to_document := \
Paul Duffin23951792016-11-30 13:29:39 +0000915 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000916 $(patsubst $(LOCAL_PATH)/%,%, \
917 $(wildcard \
918 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
919 $(addprefix $(dir)/, $(packages_to_document)) \
920 ) \
921 ) \
922 )
923
924# include definition of libcore_to_document
925include libcore/Docs.mk
926
Bart Searsa8cc0582015-05-07 03:23:20 +0000927non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000928 ../opt/telephony/src/java/android/telephony \
929 ../opt/telephony/src/java/android/telephony/gsm \
930 ../opt/net/voip/src/java/android/net/rtp \
931 ../opt/net/voip/src/java/android/net/sip
932
Paul Duffinc08090f2017-06-29 14:58:43 +0100933framework_base_android_test_mock_src_files := \
934 $(call all-java-files-under, test-runner/src/android/test/mock)
935
936framework_base_android_test_runner_excluding_mock_src_files := \
937 $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src))
938
Bart Searsa8cc0582015-05-07 03:23:20 +0000939# These are relative to frameworks/base
940dirs_to_check_apis := \
941 $(fwbase_dirs_to_document) \
942 $(non_base_dirs)
943
George Mountf6be9932015-12-03 07:39:55 -0800944###########################################################
945## Return all directories that have a 'NO_DOCS' file in
946## them, appending a '%' to them to form a pattern to
947## filter out files under those directories.
948## $(1): A list of base directories to look at.
949###########################################################
950define find-no-docs-pattern
951$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
952endef
953
Bart Searsa8cc0582015-05-07 03:23:20 +0000954# These are relative to frameworks/base
955# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
956dirs_to_document := \
957 $(dirs_to_check_apis) \
Paul Duffinc08090f2017-06-29 14:58:43 +0100958 test-runner/src \
Alan Viverette9ca513e2017-04-05 10:21:58 -0400959 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS))
Bart Searsa8cc0582015-05-07 03:23:20 +0000960
George Mountf6be9932015-12-03 07:39:55 -0800961patterns_to_not_document := \
962 $(call find-no-docs-pattern, $(dirs_to_document))
963
Bart Searsa8cc0582015-05-07 03:23:20 +0000964# These are relative to frameworks/base
965html_dirs := \
966 $(FRAMEWORKS_BASE_SUBDIRS) \
967 $(non_base_dirs)
968
969# Common sources for doc check and api check
970common_src_files := \
971 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000972 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000973
974# These are relative to frameworks/base
975framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800976 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000977 $(common_src_files)
978
979# These are relative to frameworks/base
980framework_docs_LOCAL_API_CHECK_SRC_FILES := \
Paul Duffinc08090f2017-06-29 14:58:43 +0100981 $(framework_base_android_test_mock_src_files) \
982 $(framework_base_android_test_runner_excluding_mock_src_files) \
983 $(call all-java-files-under, $(dirs_to_check_apis)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000984 $(common_src_files)
985
986# This is used by ide.mk as the list of source files that are
987# always included.
988INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
989
990framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
991 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
992
993framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
994 $(framework_res_source_path)/android/R.java \
995 $(framework_res_source_path)/android/Manifest.java \
Colin Cross72d359f2017-10-27 10:46:53 -0700996 $(framework_res_source_path)/com/android/internal/R.java \
997 $(patsubst $(TARGET_OUT_COMMON_INTERMEDIATES)/%,%,$(libcore_to_document_generated))
Bart Searsa8cc0582015-05-07 03:23:20 +0000998
999framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001000 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +00001001 core-libart \
1002 conscrypt \
1003 bouncycastle \
1004 okhttp \
1005 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +01001006 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +00001007 framework \
Paul Duffinc08090f2017-06-29 14:58:43 +01001008 voip-common \
1009 android.test.mock \
Bart Searsa8cc0582015-05-07 03:23:20 +00001010
Alan Viverette9ca513e2017-04-05 10:21:58 -04001011# Platform docs can refer to Support Library APIs, but we don't actually build
1012# them as part of the docs target, so we need to include them on the classpath.
Bart Searsa8cc0582015-05-07 03:23:20 +00001013framework_docs_LOCAL_JAVA_LIBRARIES := \
1014 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
1015 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
1016
1017framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
1018framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
1019# The since flag (-since N.xml API_LEVEL) is used to add API Level information
1020# to the reference documentation. Must be in order of oldest to newest.
1021#
1022# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
1023# not be referenced in the documentation.
1024framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001025 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +00001026 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +01001027 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -06001028 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +00001029 -hidePackage com.android.org.conscrypt \
1030 -since $(SRC_API_DIR)/1.xml 1 \
1031 -since $(SRC_API_DIR)/2.xml 2 \
1032 -since $(SRC_API_DIR)/3.xml 3 \
1033 -since $(SRC_API_DIR)/4.xml 4 \
1034 -since $(SRC_API_DIR)/5.xml 5 \
1035 -since $(SRC_API_DIR)/6.xml 6 \
1036 -since $(SRC_API_DIR)/7.xml 7 \
1037 -since $(SRC_API_DIR)/8.xml 8 \
1038 -since $(SRC_API_DIR)/9.xml 9 \
1039 -since $(SRC_API_DIR)/10.xml 10 \
1040 -since $(SRC_API_DIR)/11.xml 11 \
1041 -since $(SRC_API_DIR)/12.xml 12 \
1042 -since $(SRC_API_DIR)/13.xml 13 \
1043 -since $(SRC_API_DIR)/14.txt 14 \
1044 -since $(SRC_API_DIR)/15.txt 15 \
1045 -since $(SRC_API_DIR)/16.txt 16 \
1046 -since $(SRC_API_DIR)/17.txt 17 \
1047 -since $(SRC_API_DIR)/18.txt 18 \
1048 -since $(SRC_API_DIR)/19.txt 19 \
1049 -since $(SRC_API_DIR)/20.txt 20 \
1050 -since $(SRC_API_DIR)/21.txt 21 \
1051 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001052 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001053 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001054 -since $(SRC_API_DIR)/25.txt 25 \
Dirk Doughertyfdad0ba2017-06-09 14:43:32 -07001055 -since $(SRC_API_DIR)/26.txt 26 \
Andrew Solovaya6019b22017-10-06 14:27:20 -07001056 -since $(SRC_API_DIR)/27.txt 27 \
Jeff Sharkey67f9d502017-08-05 13:49:13 -06001057 -werror -lerror -hide 111 -hide 113 -hide 121 -hide 125 -hide 126 -hide 127 -hide 128 \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001058 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001059
1060framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1061 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1062
1063framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
Alan Viverette9ca513e2017-04-05 10:21:58 -04001064 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001065
1066framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001067 frameworks/base/docs/knowntags.txt \
Colin Cross72d359f2017-10-27 10:46:53 -07001068 $(libcore_to_document_generated)
Bart Searsa8cc0582015-05-07 03:23:20 +00001069
1070samples_dir := development/samples/browseable
1071
1072# Whitelist of valid groups, used for default TOC grouping. Each sample must
1073# belong to one (and only one) group. Assign samples to groups by setting
1074# a sample.group var to one of these groups in the sample's _index.jd.
1075sample_groups := -samplegroup Admin \
1076 -samplegroup Background \
1077 -samplegroup Connectivity \
1078 -samplegroup Content \
1079 -samplegroup Input \
1080 -samplegroup Media \
1081 -samplegroup Notification \
1082 -samplegroup RenderScript \
1083 -samplegroup Security \
1084 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001085 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001086 -samplegroup Testing \
1087 -samplegroup UI \
1088 -samplegroup Views \
1089 -samplegroup Wearable
1090
1091## SDK version identifiers used in the published docs
1092 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001093framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001094 # release version (ie "Release x") (full releases only)
1095framework_docs_SDK_REL_ID:=1
1096
1097framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001098 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001099 -hdf sdk.codename O \
1100 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001101 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1102 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001103 -hdf sdk.preview 0 \
1104 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1105 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001106
Alan Viverette9ca513e2017-04-05 10:21:58 -04001107# Federate Support Library references against local API file.
1108framework_docs_LOCAL_DROIDDOC_OPTIONS += \
1109 -federate SupportLib https://developer.android.com \
1110 -federationapi SupportLib prebuilts/sdk/current/support-api.txt
1111
Alan Viverette6b7354c2017-07-13 17:10:14 -04001112# ==== the api diff ===========================
1113include $(CLEAR_VARS)
1114
1115LOCAL_SRC_FILES := $(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1116LOCAL_INTERMEDIATE_SOURCES := $(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1117LOCAL_JAVA_LIBRARIES := $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1118LOCAL_MODULE_CLASS := $(framework_docs_LOCAL_MODULE_CLASS)
1119LOCAL_ADDITIONAL_JAVA_DIR := $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1120LOCAL_ADDITIONAL_DEPENDENCIES := \
1121 $(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) \
1122 $(INTERNAL_PLATFORM_API_FILE)
1123
1124LOCAL_MODULE := offline-sdk-referenceonly
1125
1126last_released_sdk_version := $(lastword $(call numerically_sort, \
1127 $(filter-out current, \
1128 $(patsubst $(SRC_API_DIR)/%.txt,%, $(wildcard $(SRC_API_DIR)/*.txt)) \
1129 )\
1130 ))
1131
1132LOCAL_APIDIFF_OLDAPI := $(LOCAL_PATH)/../../$(SRC_API_DIR)/$(last_released_sdk_version)
1133LOCAL_APIDIFF_NEWAPI := $(LOCAL_PATH)/../../$(basename $(INTERNAL_PLATFORM_API_FILE))
1134
1135include $(BUILD_APIDIFF)
1136
Bart Searsa8cc0582015-05-07 03:23:20 +00001137# ==== the api stubs and current.xml ===========================
1138include $(CLEAR_VARS)
1139
1140LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1141LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1142LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1143LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1144LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1145LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1146LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1147LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1148
1149LOCAL_MODULE := api-stubs
1150
Ying Wang0f92a2e2015-07-16 14:20:22 -07001151LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1152
Bart Searsa8cc0582015-05-07 03:23:20 +00001153LOCAL_DROIDDOC_OPTIONS:=\
1154 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001155 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001156 -api $(INTERNAL_PLATFORM_API_FILE) \
1157 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1158 -nodocs
1159
Scott Main15b85172017-02-21 14:30:58 -08001160LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001161
1162LOCAL_UNINSTALLABLE_MODULE := true
1163
1164include $(BUILD_DROIDDOC)
1165
1166# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1167$(full_target): $(framework_built) $(gen)
1168$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1169$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1170
1171# ==== the system api stubs ===================================
1172include $(CLEAR_VARS)
1173
1174LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1175LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1176LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1177LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1178LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1179LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1180LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1181LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1182
1183LOCAL_MODULE := system-api-stubs
1184
Ying Wang0f92a2e2015-07-16 14:20:22 -07001185LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1186
Bart Searsa8cc0582015-05-07 03:23:20 +00001187LOCAL_DROIDDOC_OPTIONS:=\
1188 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001189 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001190 -showAnnotation android.annotation.SystemApi \
1191 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1192 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001193 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001194 -nodocs
1195
Scott Main15b85172017-02-21 14:30:58 -08001196LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001197
1198LOCAL_UNINSTALLABLE_MODULE := true
1199
1200include $(BUILD_DROIDDOC)
1201
1202# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1203$(full_target): $(framework_built) $(gen)
1204$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1205$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1206
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001207# ==== the test api stubs ===================================
1208include $(CLEAR_VARS)
1209
1210LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1211LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1212LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1213LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1214LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1215LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1216LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1217LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1218
1219LOCAL_MODULE := test-api-stubs
1220
1221LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1222
1223LOCAL_DROIDDOC_OPTIONS:=\
1224 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001225 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001226 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1227 -showAnnotation android.annotation.TestApi \
1228 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1229 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001230 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001231 -nodocs
1232
Scott Main15b85172017-02-21 14:30:58 -08001233LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001234
1235LOCAL_UNINSTALLABLE_MODULE := true
1236
1237include $(BUILD_DROIDDOC)
1238
1239# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1240$(full_target): $(framework_built) $(gen)
1241$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1242$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1243
Bart Searsa8cc0582015-05-07 03:23:20 +00001244# ==== check javadoc comments but don't generate docs ========
1245include $(CLEAR_VARS)
1246
1247LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1248LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1249LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1250LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1251LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1252LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1253LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1254LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1255
1256LOCAL_MODULE := doc-comment-check
1257
1258LOCAL_DROIDDOC_OPTIONS:=\
1259 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001260 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001261 -parsecomments
1262
Scott Main15b85172017-02-21 14:30:58 -08001263LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001264
1265LOCAL_UNINSTALLABLE_MODULE := true
1266
1267include $(BUILD_DROIDDOC)
1268
1269# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1270$(full_target): $(framework_built) $(gen)
1271
1272# Run this for checkbuild
1273checkbuild: doc-comment-check-docs
1274# Check comment when you are updating the API
1275update-api: doc-comment-check-docs
1276
1277# ==== static html in the sdk ==================================
1278include $(CLEAR_VARS)
1279
1280LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1281LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1282LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1283LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1284LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1285LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1286LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1287LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1288
1289LOCAL_MODULE := offline-sdk
1290
1291LOCAL_DROIDDOC_OPTIONS:=\
1292 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1293 -offlinemode \
1294 -title "Android SDK" \
1295 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001296 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001297 -hdf android.whichdoc offline
1298
Scott Main15b85172017-02-21 14:30:58 -08001299LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001300
1301include $(BUILD_DROIDDOC)
1302
1303static_doc_index_redirect := $(out_dir)/index.html
1304$(static_doc_index_redirect): \
1305 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1306 $(hide) mkdir -p $(dir $@)
1307 $(hide) $(ACP) $< $@
1308
1309$(full_target): $(static_doc_index_redirect)
1310$(full_target): $(framework_built)
1311
1312
1313# ==== static html in the sdk ==================================
1314include $(CLEAR_VARS)
1315
1316LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1317LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1318LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1319LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1320LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1321LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1322LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1323LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1324
1325LOCAL_MODULE := offline-sdk-referenceonly
1326
1327LOCAL_DROIDDOC_OPTIONS:=\
1328 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1329 -offlinemode \
1330 -title "Android SDK" \
1331 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1332 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001333 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001334 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001335
Scott Main15b85172017-02-21 14:30:58 -08001336LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001337
1338include $(BUILD_DROIDDOC)
1339
1340static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001341$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001342 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001343
smain@google.com2f2365d2016-09-21 14:05:50 -07001344static_doc_properties := $(out_dir)/source.properties
1345$(static_doc_properties): \
1346 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1347 $(hide) mkdir -p $(dir $@)
1348 $(hide) $(ACP) $< $@
1349
smain@google.com00de8c52016-03-07 18:38:08 -08001350$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001351$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001352$(full_target): $(framework_built)
1353
smain@google.com7aca8be2016-03-10 14:13:30 -08001354
Bart Searsa8cc0582015-05-07 03:23:20 +00001355# ==== docs for the web (on the androiddevdocs app engine server) =======================
1356include $(CLEAR_VARS)
1357
1358LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1359LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1360LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1361LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1362LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1363LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1364LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1365LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1366LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1367LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1368
1369LOCAL_MODULE := online-sdk
1370
1371LOCAL_DROIDDOC_OPTIONS:= \
1372 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1373 -toroot / \
1374 -hdf android.whichdoc online \
1375 $(sample_groups) \
1376 -hdf android.hasSamples true \
1377 -samplesdir $(samples_dir)
1378
Scott Main15b85172017-02-21 14:30:58 -08001379LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001380
1381include $(BUILD_DROIDDOC)
1382
1383# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001384include $(CLEAR_VARS)
1385
1386LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1387LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1388LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1389LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1390LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1391LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1392LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1393LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1394LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1395LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1396
1397LOCAL_MODULE := online-system-api-sdk
1398
1399LOCAL_DROIDDOC_OPTIONS:= \
1400 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001401 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001402 -showAnnotation android.annotation.SystemApi \
1403 -title "Android SDK - Including system APIs." \
1404 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001405 -hide 101 \
1406 -hide 104 \
1407 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001408 -hdf android.whichdoc online \
1409 $(sample_groups) \
1410 -hdf android.hasSamples true \
1411 -samplesdir $(samples_dir)
1412
Scott Main15b85172017-02-21 14:30:58 -08001413LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001414
Bart Searsa8cc0582015-05-07 03:23:20 +00001415LOCAL_UNINSTALLABLE_MODULE := true
1416
1417include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001418
1419# ==== docs for the web (on the devsite app engine server) =======================
1420include $(CLEAR_VARS)
1421LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1422LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1423LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1424LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1425LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1426LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1427LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1428LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1429LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1430# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001431LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001432
1433LOCAL_MODULE := ds
1434
1435LOCAL_DROIDDOC_OPTIONS:= \
1436 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001437 -toroot / \
1438 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001439 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001440 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001441 -hdf android.hasSamples true \
1442 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001443
Scott Main15b85172017-02-21 14:30:58 -08001444LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001445
1446include $(BUILD_DROIDDOC)
1447
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001448# ==== docs for the web (on the devsite app engine server) =======================
1449include $(CLEAR_VARS)
1450LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1451LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1452LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1453LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1454LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1455LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1456LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1457LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1458LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1459# specify a second html input dir and an output path relative to OUT_DIR)
1460LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1461
1462LOCAL_MODULE := ds-static
1463
1464LOCAL_DROIDDOC_OPTIONS:= \
1465 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1466 -hdf android.whichdoc online \
1467 -staticonly \
1468 -toroot / \
1469 -devsite \
1470 -ignoreJdLinks
1471
Scott Main15b85172017-02-21 14:30:58 -08001472LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001473
1474include $(BUILD_DROIDDOC)
1475
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001476# ==== generates full navtree for resolving @links in ds postprocessing ====
1477include $(CLEAR_VARS)
1478
1479LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1480LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1481LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1482LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1483LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1484LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1485LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1486LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1487
1488LOCAL_MODULE := ds-ref-navtree
1489
1490LOCAL_DROIDDOC_OPTIONS:= \
1491 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1492 -hdf android.whichdoc online \
1493 -toroot / \
1494 -atLinksNavtree \
1495 -navtreeonly
1496
Scott Main15b85172017-02-21 14:30:58 -08001497LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001498
1499include $(BUILD_DROIDDOC)
1500
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001501# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001502include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001503
Bart Searsa8cc0582015-05-07 03:23:20 +00001504LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1505LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1506LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1507LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1508LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1509LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001510LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001511LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1512LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001513LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001514
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001515LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001516
1517LOCAL_DROIDDOC_OPTIONS:= \
1518 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1519 -toroot / \
1520 -hdf android.whichdoc online \
1521 $(sample_groups) \
1522 -hdf android.hasSamples true \
1523 -samplesdir $(samples_dir)
1524
Scott Main15b85172017-02-21 14:30:58 -08001525LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001526
1527include $(BUILD_DROIDDOC)
1528
Bart Searsa8cc0582015-05-07 03:23:20 +00001529# ==== docs that have all of the stuff that's @hidden =======================
1530include $(CLEAR_VARS)
1531
1532LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1533LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1534LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1535LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1536LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1537LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1538LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1539LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1540
1541LOCAL_MODULE := hidden
1542LOCAL_DROIDDOC_OPTIONS:=\
1543 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001544 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001545 -title "Android SDK - Including hidden APIs."
1546# -hidden
1547
Scott Main15b85172017-02-21 14:30:58 -08001548LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001549
1550include $(BUILD_DROIDDOC)
1551
Joe Onorato1754d742016-11-21 17:51:35 -08001552# ==== java proto host library ==============================
1553include $(CLEAR_VARS)
1554LOCAL_MODULE := platformprotos
1555LOCAL_PROTOC_OPTIMIZE_TYPE := full
1556LOCAL_PROTOC_FLAGS := \
1557 -Iexternal/protobuf/src
1558LOCAL_SOURCE_FILES_ALL_GENERATED := true
1559LOCAL_SRC_FILES := \
Yi Jin04625ad2017-10-17 18:29:33 -07001560 tools/streaming_proto/stream.proto \
Mike Mada3a2952017-11-13 12:06:45 -08001561 cmds/am/proto/instrumentation_data.proto \
Joe Onorato1754d742016-11-21 17:51:35 -08001562 $(call all-proto-files-under, core/proto) \
1563 $(call all-proto-files-under, libs/incident/proto)
1564include $(BUILD_HOST_JAVA_LIBRARY)
1565
Steven Timotius7ece0422017-08-03 13:37:26 -07001566# ==== java proto device library (for test only) ==============================
1567include $(CLEAR_VARS)
1568LOCAL_MODULE := platformprotosnano
1569LOCAL_MODULE_TAGS := tests optional
1570LOCAL_PROTOC_OPTIMIZE_TYPE := nano
1571LOCAL_PROTOC_FLAGS := \
1572 -Iexternal/protobuf/src
1573LOCAL_PROTO_JAVA_OUTPUT_PARAMS := \
1574 store_unknown_fields = true
1575LOCAL_JAVA_LIBRARIES := core-oj core-libart
1576LOCAL_SRC_FILES := \
1577 $(call all-proto-files-under, core/proto)
1578include $(BUILD_STATIC_JAVA_LIBRARY)
1579
Bart Searsa8cc0582015-05-07 03:23:20 +00001580
1581# Include subdirectory makefiles
1582# ============================================================
1583
1584# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1585# team really wants is to build the stuff defined by this makefile.
1586ifeq (,$(ONE_SHOT_MAKEFILE))
1587include $(call first-makefiles-under,$(LOCAL_PATH))
1588endif
1589
1590endif # ANDROID_BUILD_EMBEDDED