blob: 77a4d83cc33e0c57cbe41542be58d54d6f290382 [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 Kuliand3134692017-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 \
121 core/java/android/bluetooth/IBluetooth.aidl \
122 core/java/android/bluetooth/IBluetoothA2dp.aidl \
123 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
124 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
125 core/java/android/bluetooth/IBluetoothCallback.aidl \
126 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
127 core/java/android/bluetooth/IBluetoothHeadset.aidl \
128 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
129 core/java/android/bluetooth/IBluetoothHealth.aidl \
130 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
131 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
132 core/java/android/bluetooth/IBluetoothPan.aidl \
133 core/java/android/bluetooth/IBluetoothManager.aidl \
134 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
Joseph Pirozzo631768d2016-09-01 14:19:28 -0700135 core/java/android/bluetooth/IBluetoothMap.aidl \
136 core/java/android/bluetooth/IBluetoothMapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000137 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800138 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000139 core/java/android/bluetooth/IBluetoothSap.aidl \
140 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
141 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
Ivan Podogov0afe1902016-12-23 11:52:21 +0000142 core/java/android/bluetooth/IBluetoothInputHost.aidl \
Hemant Guptae88fd4b2014-04-18 11:22:45 +0530143 core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000144 core/java/android/bluetooth/IBluetoothGatt.aidl \
Jakub Pawlowskid7116be2017-03-27 12:14:40 -0700145 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
146 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
Jakub Pawlowski5324a142017-01-10 06:15:54 -0800147 core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl \
Jakub Pawlowskia48e0372017-01-16 07:21:01 -0800148 core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
Jakub Pawlowski1b49e6e2016-10-26 13:05:30 -0700149 core/java/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000150 core/java/android/content/IClipboard.aidl \
151 core/java/android/content/IContentService.aidl \
152 core/java/android/content/IIntentReceiver.aidl \
153 core/java/android/content/IIntentSender.aidl \
154 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
155 core/java/android/content/IRestrictionsManager.aidl \
156 core/java/android/content/ISyncAdapter.aidl \
157 core/java/android/content/ISyncContext.aidl \
158 core/java/android/content/ISyncServiceAdapter.aidl \
159 core/java/android/content/ISyncStatusObserver.aidl \
MÃ¥rten Kongstadeabc9e92015-12-15 16:40:23 +0100160 core/java/android/content/om/IOverlayManager.aidl \
Calin Juravle3d2af7f2017-04-19 19:56:21 -0700161 core/java/android/content/pm/IDexModuleRegisterCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000162 core/java/android/content/pm/ILauncherApps.aidl \
163 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800164 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800165 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000166 core/java/android/content/pm/IPackageDataObserver.aidl \
167 core/java/android/content/pm/IPackageDeleteObserver.aidl \
168 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
169 core/java/android/content/pm/IPackageInstallObserver.aidl \
170 core/java/android/content/pm/IPackageInstallObserver2.aidl \
171 core/java/android/content/pm/IPackageInstaller.aidl \
172 core/java/android/content/pm/IPackageInstallerCallback.aidl \
173 core/java/android/content/pm/IPackageInstallerSession.aidl \
174 core/java/android/content/pm/IPackageManager.aidl \
Todd Kennedyad192a32017-08-02 07:51:57 -0700175 ../native/libs/binder/aidl/android/content/pm/IPackageManagerNative.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000176 core/java/android/content/pm/IPackageMoveObserver.aidl \
177 core/java/android/content/pm/IPackageStatsObserver.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800178 core/java/android/content/pm/IPinItemRequest.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800179 core/java/android/content/pm/IShortcutService.aidl \
Svet Ganovae0e03a2016-02-25 18:22:10 -0800180 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000181 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800182 ../av/camera/aidl/android/hardware/ICameraService.aidl \
183 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
184 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
185 ../av/camera/aidl/android/hardware/ICamera.aidl \
186 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
187 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
188 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000189 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000190 core/java/android/hardware/ISerialManager.aidl \
191 core/java/android/hardware/display/IDisplayManager.aidl \
192 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
193 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
194 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700195 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Phil Weaver27fcd9c2017-01-20 15:57:24 -0800196 core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000197 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
198 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
199 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
200 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
201 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
202 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
203 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
204 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
205 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
206 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
207 core/java/android/hardware/input/IInputManager.aidl \
208 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100209 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000210 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700211 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000212 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
213 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
214 core/java/android/hardware/location/IFusedLocationHardware.aidl \
215 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
216 core/java/android/hardware/location/IGeofenceHardware.aidl \
217 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
218 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800219 core/java/android/hardware/location/IContextHubCallback.aidl \
220 core/java/android/hardware/location/IContextHubService.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700221 core/java/android/hardware/radio/IRadioService.aidl \
222 core/java/android/hardware/radio/ITuner.aidl \
Tomasz Wasilczyk21348172017-04-20 14:02:42 -0700223 core/java/android/hardware/radio/ITunerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000224 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
225 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400226 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000227 core/java/android/net/IConnectivityManager.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900228 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000229 core/java/android/net/IEthernetManager.aidl \
230 core/java/android/net/IEthernetServiceListener.aidl \
Michal Karpinskidd9bb4f2016-10-12 14:59:26 +0100231 core/java/android/net/INetdEventCallback.aidl \
Nathan Harold28084d82017-03-01 18:55:06 -0800232 core/java/android/net/IIpSecService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000233 core/java/android/net/INetworkManagementEventObserver.aidl \
234 core/java/android/net/INetworkPolicyListener.aidl \
235 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslin13978372016-11-28 17:47:35 -0800236 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000237 core/java/android/net/INetworkScoreCache.aidl \
238 core/java/android/net/INetworkScoreService.aidl \
239 core/java/android/net/INetworkStatsService.aidl \
240 core/java/android/net/INetworkStatsSession.aidl \
Lorenzo Colittief7b2a12017-07-10 19:06:57 +0900241 core/java/android/net/ITetheringStatsProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000242 core/java/android/net/nsd/INsdManager.aidl \
243 core/java/android/nfc/IAppCallback.aidl \
244 core/java/android/nfc/INfcAdapter.aidl \
245 core/java/android/nfc/INfcAdapterExtras.aidl \
246 core/java/android/nfc/INfcTag.aidl \
247 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900248 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000249 core/java/android/nfc/INfcUnlockHandler.aidl \
Love Khanna755a8fa2017-05-17 15:52:16 +0530250 core/java/android/nfc/INfcDta.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200251 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000252 core/java/android/os/IBatteryPropertiesListener.aidl \
253 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
254 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700255 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000256 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100257 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800258 core/java/android/os/IIncidentManager.aidl \
259 core/java/android/os/IIncidentReportCompletedListener.aidl \
260 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800261 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000262 core/java/android/os/IMessenger.aidl \
263 core/java/android/os/INetworkActivityListener.aidl \
264 core/java/android/os/INetworkManagementService.aidl \
265 core/java/android/os/IPermissionController.aidl \
266 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600267 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000268 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800269 core/java/android/os/IRecoverySystem.aidl \
270 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000271 core/java/android/os/IRemoteCallback.aidl \
272 core/java/android/os/ISchedulingPolicyService.aidl \
Todd Poynor875e5c72017-05-25 17:53:21 -0700273 core/java/android/os/IThermalEventListener.aidl \
274 core/java/android/os/IThermalService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000275 core/java/android/os/IUpdateLock.aidl \
276 core/java/android/os/IUserManager.aidl \
277 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800278 core/java/android/os/storage/IStorageManager.aidl \
279 core/java/android/os/storage/IStorageEventListener.aidl \
280 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700281 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000282 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700283 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700284 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800285 core/java/android/service/autofill/IFillCallback.aidl \
286 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700287 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000288 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
289 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700290 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800291 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700292 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800293 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700294 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800295 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
296 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700297 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700298 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson7b69a862017-06-16 15:20:34 -0700299 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700300 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
301 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000302 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
303 core/java/android/service/notification/INotificationListener.aidl \
304 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
305 core/java/android/service/notification/IConditionListener.aidl \
306 core/java/android/service/notification/IConditionProvider.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700307 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800308 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700309 core/java/android/service/vr/IVrManager.aidl \
310 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000311 core/java/android/print/ILayoutResultCallback.aidl \
312 core/java/android/print/IPrinterDiscoveryObserver.aidl \
313 core/java/android/print/IPrintDocumentAdapter.aidl \
314 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
315 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800316 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700317 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000318 core/java/android/print/IPrintManager.aidl \
319 core/java/android/print/IPrintSpooler.aidl \
320 core/java/android/print/IPrintSpoolerCallbacks.aidl \
321 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700322 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
323 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000324 core/java/android/print/IWriteResultCallback.aidl \
325 core/java/android/printservice/IPrintService.aidl \
326 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800327 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800328 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
329 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
330 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000331 core/java/android/service/dreams/IDreamManager.aidl \
332 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000333 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000334 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
335 core/java/android/service/trust/ITrustAgentService.aidl \
336 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
337 core/java/android/service/voice/IVoiceInteractionService.aidl \
338 core/java/android/service/voice/IVoiceInteractionSession.aidl \
339 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
340 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
341 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
342 core/java/android/service/wallpaper/IWallpaperService.aidl \
343 core/java/android/service/chooser/IChooserTargetService.aidl \
344 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700345 core/java/android/service/resolver/IResolverRankerService.aidl \
346 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000347 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
348 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
349 core/java/android/view/accessibility/IAccessibilityManager.aidl \
350 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000351 core/java/android/view/autofill/IAutoFillManager.aidl \
352 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700353 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000354 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100355 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100356 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000357 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800358 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000359 core/java/android/view/IInputFilter.aidl \
360 core/java/android/view/IInputFilterHost.aidl \
361 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700362 core/java/android/view/IPinnedStackController.aidl \
363 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000364 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupine1571702017-05-24 14:14:44 -0700365 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000366 core/java/android/view/IWindow.aidl \
367 core/java/android/view/IWindowFocusObserver.aidl \
368 core/java/android/view/IWindowId.aidl \
369 core/java/android/view/IWindowManager.aidl \
370 core/java/android/view/IWindowSession.aidl \
371 core/java/android/view/IWindowSessionCallback.aidl \
372 core/java/android/webkit/IWebViewUpdateService.aidl \
373 core/java/android/speech/IRecognitionListener.aidl \
374 core/java/android/speech/IRecognitionService.aidl \
375 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
376 core/java/android/speech/tts/ITextToSpeechService.aidl \
377 core/java/com/android/internal/app/IAppOpsCallback.aidl \
378 core/java/com/android/internal/app/IAppOpsService.aidl \
379 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
380 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800381 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000382 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700383 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000384 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
385 core/java/com/android/internal/app/IVoiceInteractor.aidl \
386 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
387 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
388 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700389 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000390 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
391 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
392 core/java/com/android/internal/backup/IBackupTransport.aidl \
393 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700394 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700395 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700396 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700397 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000398 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
399 core/java/com/android/internal/policy/IKeyguardService.aidl \
400 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800401 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000402 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
403 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
404 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700405 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000406 core/java/com/android/internal/statusbar/IStatusBar.aidl \
407 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
408 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800409 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000410 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
411 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
412 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
413 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700414 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000415 core/java/com/android/internal/view/IInputContext.aidl \
416 core/java/com/android/internal/view/IInputContextCallback.aidl \
417 core/java/com/android/internal/view/IInputMethod.aidl \
418 core/java/com/android/internal/view/IInputMethodClient.aidl \
419 core/java/com/android/internal/view/IInputMethodManager.aidl \
420 core/java/com/android/internal/view/IInputMethodSession.aidl \
421 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700422 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000423 core/java/com/android/internal/widget/ILockSettings.aidl \
424 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
425 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
426 keystore/java/android/security/IKeyChainAliasCallback.aidl \
427 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800428 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000429 location/java/android/location/ICountryDetector.aidl \
430 location/java/android/location/ICountryListener.aidl \
431 location/java/android/location/IFusedProvider.aidl \
432 location/java/android/location/IGeocodeProvider.aidl \
433 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800434 location/java/android/location/IGnssStatusListener.aidl \
435 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800436 location/java/android/location/IGnssMeasurementsListener.aidl \
437 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000438 location/java/android/location/ILocationListener.aidl \
439 location/java/android/location/ILocationManager.aidl \
440 location/java/android/location/IFusedGeofenceHardware.aidl \
441 location/java/android/location/IGpsGeofenceHardware.aidl \
442 location/java/android/location/INetInitiatedListener.aidl \
443 location/java/com/android/internal/location/ILocationProvider.aidl \
444 media/java/android/media/IAudioService.aidl \
445 media/java/android/media/IAudioFocusDispatcher.aidl \
446 media/java/android/media/IAudioRoutesObserver.aidl \
447 media/java/android/media/IMediaHTTPConnection.aidl \
448 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900449 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000450 media/java/android/media/IMediaRouterClient.aidl \
451 media/java/android/media/IMediaRouterService.aidl \
452 media/java/android/media/IMediaScannerListener.aidl \
453 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800454 media/java/android/media/IPlaybackConfigDispatcher.aidl \
455 media/java/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800456 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000457 media/java/android/media/IRemoteDisplayCallback.aidl \
458 media/java/android/media/IRemoteDisplayProvider.aidl \
459 media/java/android/media/IRemoteVolumeController.aidl \
460 media/java/android/media/IRemoteVolumeObserver.aidl \
461 media/java/android/media/IRingtonePlayer.aidl \
462 media/java/android/media/IVolumeController.aidl \
463 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700464 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000465 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700466 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000467 media/java/android/media/midi/IMidiDeviceServer.aidl \
468 media/java/android/media/midi/IMidiManager.aidl \
469 media/java/android/media/projection/IMediaProjection.aidl \
470 media/java/android/media/projection/IMediaProjectionCallback.aidl \
471 media/java/android/media/projection/IMediaProjectionManager.aidl \
472 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
473 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900474 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800475 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900476 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000477 media/java/android/media/session/ISession.aidl \
478 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900479 media/java/android/media/session/ISessionController.aidl \
480 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000481 media/java/android/media/session/ISessionManager.aidl \
482 media/java/android/media/tv/ITvInputClient.aidl \
483 media/java/android/media/tv/ITvInputHardware.aidl \
484 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
485 media/java/android/media/tv/ITvInputManager.aidl \
486 media/java/android/media/tv/ITvInputManagerCallback.aidl \
487 media/java/android/media/tv/ITvInputService.aidl \
488 media/java/android/media/tv/ITvInputServiceCallback.aidl \
489 media/java/android/media/tv/ITvInputSession.aidl \
490 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800491 media/java/android/media/tv/ITvRemoteProvider.aidl \
492 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000493 media/java/android/service/media/IMediaBrowserService.aidl \
494 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800495 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
496 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000497 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
498 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
499 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
500 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
501 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
502 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
503 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
504 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu1a5b1302017-09-01 17:59:15 -0700505 telephony/java/android/telephony/mbms/IMbmsDownloadSessionCallback.aidl \
Hall Liua96478a2017-08-28 14:10:46 -0700506 telephony/java/android/telephony/mbms/IMbmsStreamingSessionCallback.aidl \
Hall Liu99035582017-08-04 18:41:56 -0700507 telephony/java/android/telephony/mbms/IDownloadStateCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700508 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800509 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
510 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000511 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
512 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
513 telephony/java/com/android/ims/internal/IImsConfig.aidl \
514 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
515 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
516 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800517 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800518 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800519 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000520 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800521 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
522 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000523 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
524 telephony/java/com/android/ims/internal/IImsUt.aidl \
525 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
526 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
527 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700528 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
529 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
530 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
531 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
532 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
533 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000534 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liue1ef5102017-05-23 13:07:07 -0700535 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000536 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
537 telephony/java/com/android/internal/telephony/IMms.aidl \
538 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
539 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
540 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
541 telephony/java/com/android/internal/telephony/ISms.aidl \
542 telephony/java/com/android/internal/telephony/ISub.aidl \
543 telephony/java/com/android/internal/telephony/ITelephony.aidl \
544 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
545 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800546 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000547 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700548 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
549 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
550 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000551 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
552 wifi/java/android/net/wifi/IWifiScanner.aidl \
553 wifi/java/android/net/wifi/IRttManager.aidl \
554 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
555 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
556 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500557 core/java/android/service/quicksettings/IQSService.aidl \
558 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000559
Tao Baobdc77362016-01-19 15:52:28 -0800560# The following are native binders that need to go with the native component
561# at system/update_engine/binder_bindings/. Use relative path to refer to them.
562LOCAL_SRC_FILES += \
563 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
564 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
565
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700566LOCAL_SRC_FILES += \
Erik Kline4e37b702016-07-05 11:34:21 +0900567 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700568 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900569
Tao Baobdc77362016-01-19 15:52:28 -0800570LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
571
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800572LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
573LOCAL_SRC_FILES += \
574 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
575 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
576 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
577 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
578 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
579 lowpan/java/android/net/lowpan/ILowpanManager.aidl
580
Bart Searsa8cc0582015-05-07 03:23:20 +0000581# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800582LOCAL_AIDL_INCLUDES += \
583 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
584 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000585
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800586LOCAL_AIDL_INCLUDES += \
587 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800588 frameworks/av/drm/libmediadrm/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100589 frameworks/native/aidl/gui \
590 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800591
Bart Searsa8cc0582015-05-07 03:23:20 +0000592LOCAL_INTERMEDIATE_SOURCES := \
593 $(framework_res_source_path)/android/R.java \
594 $(framework_res_source_path)/android/Manifest.java \
595 $(framework_res_source_path)/com/android/internal/R.java
596
Colin Crossc558dd92016-08-31 18:01:06 -0700597# Make sure that R.java and Manifest.java are built before we build
598# the source for this library.
599framework_res_R_stamp := \
600 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
601LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
602
Bart Searsa8cc0582015-05-07 03:23:20 +0000603LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000604LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700605
606LOCAL_STATIC_JAVA_LIBRARIES := \
607 framework-protos \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700608 android.hardware.health-V1.0-java-constants \
609 android.hardware.thermal-V1.0-java-constants \
610 android.hardware.tv.input-V1.0-java-constants \
611 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700612 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700613 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100614 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700615 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000616
Chong Zhang2659c2f2017-04-27 13:18:20 -0700617include hardware/interfaces/cas/1.0/CasHal.mk
618
Colin Cross9d937df2017-03-21 10:59:07 -0700619# Loaded with System.loadLibrary by android.view.textclassifier
620LOCAL_REQUIRED_MODULES += libtextclassifier
621
Joe Onorato1754d742016-11-21 17:51:35 -0800622LOCAL_PROTOC_OPTIMIZE_TYPE := stream
623LOCAL_PROTOC_FLAGS := \
624 -Iexternal/protobuf/src
625
Bart Searsa8cc0582015-05-07 03:23:20 +0000626LOCAL_MODULE := framework
627
Colin Crossbe2d3302016-12-21 16:48:32 -0800628LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000629LOCAL_JACK_FLAGS := --multi-dex native
630
631LOCAL_RMTYPEDEFS := true
632
Allen Hair0e4f0142016-06-27 17:01:50 -0700633ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
634LOCAL_EMMA_INSTRUMENT := true
635endif
636
Bart Searsa8cc0582015-05-07 03:23:20 +0000637include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700638
Bart Searsa8cc0582015-05-07 03:23:20 +0000639framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000640$(framework_module): | $(dir $(framework_module))framework-res.apk
641
642framework_built := $(call java-lib-deps,framework)
643
644# Copy AIDL files to be preprocessed and included in the SDK,
645# specified relative to the root of the build tree.
646# ============================================================
647include $(CLEAR_VARS)
648
649aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800650 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800651 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
652 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
653 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800654 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000655 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
656 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
657 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
658 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
659 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
660 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700661 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800662 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
663 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700664 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000665 frameworks/base/location/java/android/location/Location.aidl \
666 frameworks/base/location/java/android/location/Address.aidl \
667 frameworks/base/location/java/android/location/Criteria.aidl \
668 frameworks/base/media/java/android/media/MediaMetadata.aidl \
669 frameworks/base/media/java/android/media/MediaDescription.aidl \
670 frameworks/base/media/java/android/media/Rating.aidl \
671 frameworks/base/media/java/android/media/AudioAttributes.aidl \
672 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
673 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
674 frameworks/base/media/java/android/media/session/MediaSession.aidl \
675 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
676 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
677 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
678 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700679 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
680 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
681 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000682 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
683 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
684 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
685 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
686 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
687 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
688 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
689 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
690 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800691 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000692 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
693 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
694 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
695 frameworks/base/graphics/java/android/graphics/Region.aidl \
696 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
697 frameworks/base/graphics/java/android/graphics/Point.aidl \
698 frameworks/base/graphics/java/android/graphics/PointF.aidl \
699 frameworks/base/graphics/java/android/graphics/RectF.aidl \
700 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800701 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000702 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
703 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100704 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
705 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
706 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100707 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100708 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000709 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
710 frameworks/base/core/java/android/print/PageRange.aidl \
711 frameworks/base/core/java/android/print/PrintAttributes.aidl \
712 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
713 frameworks/base/core/java/android/print/PrinterId.aidl \
714 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
715 frameworks/base/core/java/android/print/PrinterInfo.aidl \
716 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700717 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk8cfb0e82017-07-12 13:59:20 -0700718 frameworks/base/core/java/android/hardware/radio/ProgramSelector.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700719 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Tomasz Wasilczykc9a1ac72017-05-17 21:29:28 -0700720 frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000721 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
722 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
723 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
724 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
725 frameworks/base/core/java/android/os/Messenger.aidl \
726 frameworks/base/core/java/android/os/PatternMatcher.aidl \
727 frameworks/base/core/java/android/os/Message.aidl \
728 frameworks/base/core/java/android/os/UserHandle.aidl \
729 frameworks/base/core/java/android/os/ParcelUuid.aidl \
730 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
731 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000732 frameworks/base/core/java/android/os/WorkSource.aidl \
733 frameworks/base/core/java/android/os/DropBoxManager.aidl \
734 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700735 frameworks/base/core/java/android/os/Debug.aidl \
John Reckdea6a022017-05-25 17:09:33 -0700736 frameworks/base/core/java/android/os/SharedMemory.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700737 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000738 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
739 frameworks/base/core/java/android/net/Network.aidl \
740 frameworks/base/core/java/android/net/RouteInfo.aidl \
741 frameworks/base/core/java/android/net/NetworkInfo.aidl \
742 frameworks/base/core/java/android/net/IpPrefix.aidl \
743 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
744 frameworks/base/core/java/android/net/DhcpInfo.aidl \
745 frameworks/base/core/java/android/net/ProxyInfo.aidl \
746 frameworks/base/core/java/android/net/LinkProperties.aidl \
747 frameworks/base/core/java/android/net/Uri.aidl \
748 frameworks/base/core/java/android/net/NetworkRequest.aidl \
749 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700750 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700751 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000752 frameworks/base/core/java/android/view/InputDevice.aidl \
753 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800754 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700755 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000756 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
757 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
758 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
759 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
760 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
761 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
762 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
763 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
764 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
765 frameworks/base/core/java/android/view/DragEvent.aidl \
766 frameworks/base/core/java/android/view/KeyEvent.aidl \
767 frameworks/base/core/java/android/view/WindowManager.aidl \
768 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
769 frameworks/base/core/java/android/view/MotionEvent.aidl \
770 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
771 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
772 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
773 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
774 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
775 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
776 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
777 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
778 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
779 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
780 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700781 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800782 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700783 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500784 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
785 frameworks/base/core/java/android/service/notification/Condition.aidl \
786 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000787 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
788 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700789 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000790 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800791 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700792 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700793 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000794 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000795 frameworks/base/core/java/android/app/Notification.aidl \
796 frameworks/base/core/java/android/app/NotificationManager.aidl \
797 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
798 frameworks/base/core/java/android/app/AppOpsManager.aidl \
799 frameworks/base/core/java/android/app/ActivityManager.aidl \
800 frameworks/base/core/java/android/app/PendingIntent.aidl \
801 frameworks/base/core/java/android/app/AlarmManager.aidl \
802 frameworks/base/core/java/android/app/SearchableInfo.aidl \
803 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700804 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
805 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000806 frameworks/base/core/java/android/app/job/JobParameters.aidl \
807 frameworks/base/core/java/android/app/job/JobInfo.aidl \
808 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
809 frameworks/base/core/java/android/content/ClipDescription.aidl \
810 frameworks/base/core/java/android/content/IntentFilter.aidl \
811 frameworks/base/core/java/android/content/Intent.aidl \
812 frameworks/base/core/java/android/content/res/Configuration.aidl \
813 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
814 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
815 frameworks/base/core/java/android/content/ClipData.aidl \
816 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
817 frameworks/base/core/java/android/content/SyncRequest.aidl \
818 frameworks/base/core/java/android/content/PeriodicSync.aidl \
819 frameworks/base/core/java/android/content/SyncResult.aidl \
820 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
821 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
822 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
823 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
824 frameworks/base/core/java/android/content/pm/Signature.aidl \
825 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
826 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
827 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700828 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000829 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
830 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
831 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
832 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
833 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800834 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000835 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
836 frameworks/base/core/java/android/content/ComponentName.aidl \
837 frameworks/base/core/java/android/content/SyncStats.aidl \
838 frameworks/base/core/java/android/content/ContentValues.aidl \
839 frameworks/base/core/java/android/content/SyncInfo.aidl \
840 frameworks/base/core/java/android/content/IntentSender.aidl \
841 frameworks/base/core/java/android/widget/RemoteViews.aidl \
842 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
843 frameworks/base/core/java/android/nfc/Tag.aidl \
844 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
845 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
846 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
847 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
848 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
849 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
850 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
851 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
852 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
853 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500854 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800855 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100856 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700857 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000858
859gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
860$(gen): PRIVATE_SRC_FILES := $(aidl_files)
861ALL_SDK_FILES += $(gen)
862$(gen): $(aidl_files) | $(AIDL)
863 @echo Aidl Preprocess: $@
864 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
865
866# the documentation
867# ============================================================
868
869# TODO: deal with com/google/android/googleapps
870packages_to_document := \
871 android \
872 javax/microedition/khronos \
873 org/apache/http/conn \
874 org/apache/http/params
875
876
877# Search through the base framework dirs for these packages.
878# The result will be relative to frameworks/base.
879fwbase_dirs_to_document := \
Paul Duffin23951792016-11-30 13:29:39 +0000880 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000881 $(patsubst $(LOCAL_PATH)/%,%, \
882 $(wildcard \
883 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
884 $(addprefix $(dir)/, $(packages_to_document)) \
885 ) \
886 ) \
887 )
888
889# include definition of libcore_to_document
890include libcore/Docs.mk
891
Bart Searsa8cc0582015-05-07 03:23:20 +0000892non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000893 ../opt/telephony/src/java/android/telephony \
894 ../opt/telephony/src/java/android/telephony/gsm \
895 ../opt/net/voip/src/java/android/net/rtp \
896 ../opt/net/voip/src/java/android/net/sip
897
Paul Duffinc08090f2017-06-29 14:58:43 +0100898framework_base_android_test_mock_src_files := \
899 $(call all-java-files-under, test-runner/src/android/test/mock)
900
901framework_base_android_test_runner_excluding_mock_src_files := \
902 $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src))
903
Bart Searsa8cc0582015-05-07 03:23:20 +0000904# These are relative to frameworks/base
905dirs_to_check_apis := \
906 $(fwbase_dirs_to_document) \
907 $(non_base_dirs)
908
George Mountf6be9932015-12-03 07:39:55 -0800909###########################################################
910## Return all directories that have a 'NO_DOCS' file in
911## them, appending a '%' to them to form a pattern to
912## filter out files under those directories.
913## $(1): A list of base directories to look at.
914###########################################################
915define find-no-docs-pattern
916$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
917endef
918
Bart Searsa8cc0582015-05-07 03:23:20 +0000919# These are relative to frameworks/base
920# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
921dirs_to_document := \
922 $(dirs_to_check_apis) \
Paul Duffinc08090f2017-06-29 14:58:43 +0100923 test-runner/src \
Alan Viverette9ca513e2017-04-05 10:21:58 -0400924 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS))
Bart Searsa8cc0582015-05-07 03:23:20 +0000925
George Mountf6be9932015-12-03 07:39:55 -0800926patterns_to_not_document := \
927 $(call find-no-docs-pattern, $(dirs_to_document))
928
Bart Searsa8cc0582015-05-07 03:23:20 +0000929# These are relative to frameworks/base
930html_dirs := \
931 $(FRAMEWORKS_BASE_SUBDIRS) \
932 $(non_base_dirs)
933
934# Common sources for doc check and api check
935common_src_files := \
936 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000937 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000938
939# These are relative to frameworks/base
940framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800941 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000942 $(common_src_files)
943
944# These are relative to frameworks/base
945framework_docs_LOCAL_API_CHECK_SRC_FILES := \
Paul Duffinc08090f2017-06-29 14:58:43 +0100946 $(framework_base_android_test_mock_src_files) \
947 $(framework_base_android_test_runner_excluding_mock_src_files) \
948 $(call all-java-files-under, $(dirs_to_check_apis)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000949 $(common_src_files)
950
951# This is used by ide.mk as the list of source files that are
952# always included.
953INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
954
955framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
956 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
957
958framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
959 $(framework_res_source_path)/android/R.java \
960 $(framework_res_source_path)/android/Manifest.java \
961 $(framework_res_source_path)/com/android/internal/R.java
962
963framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000964 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000965 core-libart \
966 conscrypt \
967 bouncycastle \
968 okhttp \
969 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100970 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000971 framework \
Paul Duffinc08090f2017-06-29 14:58:43 +0100972 voip-common \
973 android.test.mock \
Bart Searsa8cc0582015-05-07 03:23:20 +0000974
Alan Viverette9ca513e2017-04-05 10:21:58 -0400975# Platform docs can refer to Support Library APIs, but we don't actually build
976# them as part of the docs target, so we need to include them on the classpath.
Bart Searsa8cc0582015-05-07 03:23:20 +0000977framework_docs_LOCAL_JAVA_LIBRARIES := \
978 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
979 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
980
981framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
982framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
983# The since flag (-since N.xml API_LEVEL) is used to add API Level information
984# to the reference documentation. Must be in order of oldest to newest.
985#
986# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
987# not be referenced in the documentation.
988framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600989 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +0000990 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100991 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -0600992 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +0000993 -hidePackage com.android.org.conscrypt \
994 -since $(SRC_API_DIR)/1.xml 1 \
995 -since $(SRC_API_DIR)/2.xml 2 \
996 -since $(SRC_API_DIR)/3.xml 3 \
997 -since $(SRC_API_DIR)/4.xml 4 \
998 -since $(SRC_API_DIR)/5.xml 5 \
999 -since $(SRC_API_DIR)/6.xml 6 \
1000 -since $(SRC_API_DIR)/7.xml 7 \
1001 -since $(SRC_API_DIR)/8.xml 8 \
1002 -since $(SRC_API_DIR)/9.xml 9 \
1003 -since $(SRC_API_DIR)/10.xml 10 \
1004 -since $(SRC_API_DIR)/11.xml 11 \
1005 -since $(SRC_API_DIR)/12.xml 12 \
1006 -since $(SRC_API_DIR)/13.xml 13 \
1007 -since $(SRC_API_DIR)/14.txt 14 \
1008 -since $(SRC_API_DIR)/15.txt 15 \
1009 -since $(SRC_API_DIR)/16.txt 16 \
1010 -since $(SRC_API_DIR)/17.txt 17 \
1011 -since $(SRC_API_DIR)/18.txt 18 \
1012 -since $(SRC_API_DIR)/19.txt 19 \
1013 -since $(SRC_API_DIR)/20.txt 20 \
1014 -since $(SRC_API_DIR)/21.txt 21 \
1015 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001016 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001017 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001018 -since $(SRC_API_DIR)/25.txt 25 \
Dirk Doughertyfdad0ba2017-06-09 14:43:32 -07001019 -since $(SRC_API_DIR)/26.txt 26 \
Jeff Sharkey67f9d502017-08-05 13:49:13 -06001020 -werror -lerror -hide 111 -hide 113 -hide 121 -hide 125 -hide 126 -hide 127 -hide 128 \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001021 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001022
1023framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1024 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1025
1026framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
Alan Viverette9ca513e2017-04-05 10:21:58 -04001027 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001028
1029framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001030 frameworks/base/docs/knowntags.txt \
1031 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +00001032
1033samples_dir := development/samples/browseable
1034
1035# Whitelist of valid groups, used for default TOC grouping. Each sample must
1036# belong to one (and only one) group. Assign samples to groups by setting
1037# a sample.group var to one of these groups in the sample's _index.jd.
1038sample_groups := -samplegroup Admin \
1039 -samplegroup Background \
1040 -samplegroup Connectivity \
1041 -samplegroup Content \
1042 -samplegroup Input \
1043 -samplegroup Media \
1044 -samplegroup Notification \
1045 -samplegroup RenderScript \
1046 -samplegroup Security \
1047 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001048 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001049 -samplegroup Testing \
1050 -samplegroup UI \
1051 -samplegroup Views \
1052 -samplegroup Wearable
1053
1054## SDK version identifiers used in the published docs
1055 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001056framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001057 # release version (ie "Release x") (full releases only)
1058framework_docs_SDK_REL_ID:=1
1059
1060framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001061 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001062 -hdf sdk.codename O \
1063 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001064 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1065 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001066 -hdf sdk.preview 0 \
1067 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1068 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001069
Alan Viverette9ca513e2017-04-05 10:21:58 -04001070# Federate Support Library references against local API file.
1071framework_docs_LOCAL_DROIDDOC_OPTIONS += \
1072 -federate SupportLib https://developer.android.com \
1073 -federationapi SupportLib prebuilts/sdk/current/support-api.txt
1074
Bart Searsa8cc0582015-05-07 03:23:20 +00001075# ==== the api stubs and current.xml ===========================
1076include $(CLEAR_VARS)
1077
1078LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1079LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1080LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1081LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1082LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1083LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1084LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1085LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1086
1087LOCAL_MODULE := api-stubs
1088
Ying Wang0f92a2e2015-07-16 14:20:22 -07001089LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1090
Bart Searsa8cc0582015-05-07 03:23:20 +00001091LOCAL_DROIDDOC_OPTIONS:=\
1092 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001093 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001094 -api $(INTERNAL_PLATFORM_API_FILE) \
1095 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1096 -nodocs
1097
Scott Main15b85172017-02-21 14:30:58 -08001098LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001099
1100LOCAL_UNINSTALLABLE_MODULE := true
1101
1102include $(BUILD_DROIDDOC)
1103
1104# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1105$(full_target): $(framework_built) $(gen)
1106$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1107$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1108
1109# ==== the system api stubs ===================================
1110include $(CLEAR_VARS)
1111
1112LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1113LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1114LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1115LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1116LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1117LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1118LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1119LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1120
1121LOCAL_MODULE := system-api-stubs
1122
Ying Wang0f92a2e2015-07-16 14:20:22 -07001123LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1124
Bart Searsa8cc0582015-05-07 03:23:20 +00001125LOCAL_DROIDDOC_OPTIONS:=\
1126 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001127 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001128 -showAnnotation android.annotation.SystemApi \
1129 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1130 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001131 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001132 -nodocs
1133
Scott Main15b85172017-02-21 14:30:58 -08001134LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001135
1136LOCAL_UNINSTALLABLE_MODULE := true
1137
1138include $(BUILD_DROIDDOC)
1139
1140# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1141$(full_target): $(framework_built) $(gen)
1142$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1143$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1144
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001145# ==== the test api stubs ===================================
1146include $(CLEAR_VARS)
1147
1148LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1149LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1150LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1151LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1152LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1153LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1154LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1155LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1156
1157LOCAL_MODULE := test-api-stubs
1158
1159LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1160
1161LOCAL_DROIDDOC_OPTIONS:=\
1162 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001163 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001164 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1165 -showAnnotation android.annotation.TestApi \
1166 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1167 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001168 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001169 -nodocs
1170
Scott Main15b85172017-02-21 14:30:58 -08001171LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001172
1173LOCAL_UNINSTALLABLE_MODULE := true
1174
1175include $(BUILD_DROIDDOC)
1176
1177# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1178$(full_target): $(framework_built) $(gen)
1179$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1180$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1181
Bart Searsa8cc0582015-05-07 03:23:20 +00001182# ==== check javadoc comments but don't generate docs ========
1183include $(CLEAR_VARS)
1184
1185LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1186LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1187LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1188LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1189LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1190LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1191LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1192LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1193
1194LOCAL_MODULE := doc-comment-check
1195
1196LOCAL_DROIDDOC_OPTIONS:=\
1197 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001198 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001199 -parsecomments
1200
Scott Main15b85172017-02-21 14:30:58 -08001201LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001202
1203LOCAL_UNINSTALLABLE_MODULE := true
1204
1205include $(BUILD_DROIDDOC)
1206
1207# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1208$(full_target): $(framework_built) $(gen)
1209
1210# Run this for checkbuild
1211checkbuild: doc-comment-check-docs
1212# Check comment when you are updating the API
1213update-api: doc-comment-check-docs
1214
1215# ==== static html in the sdk ==================================
1216include $(CLEAR_VARS)
1217
1218LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1219LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1220LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1221LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1222LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1223LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1224LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1225LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1226
1227LOCAL_MODULE := offline-sdk
1228
1229LOCAL_DROIDDOC_OPTIONS:=\
1230 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1231 -offlinemode \
1232 -title "Android SDK" \
1233 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001234 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001235 -hdf android.whichdoc offline
1236
Scott Main15b85172017-02-21 14:30:58 -08001237LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001238
1239include $(BUILD_DROIDDOC)
1240
1241static_doc_index_redirect := $(out_dir)/index.html
1242$(static_doc_index_redirect): \
1243 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1244 $(hide) mkdir -p $(dir $@)
1245 $(hide) $(ACP) $< $@
1246
1247$(full_target): $(static_doc_index_redirect)
1248$(full_target): $(framework_built)
1249
1250
1251# ==== static html in the sdk ==================================
1252include $(CLEAR_VARS)
1253
1254LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1255LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1256LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1257LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1258LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1259LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1260LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1261LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1262
1263LOCAL_MODULE := offline-sdk-referenceonly
1264
1265LOCAL_DROIDDOC_OPTIONS:=\
1266 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1267 -offlinemode \
1268 -title "Android SDK" \
1269 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1270 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001271 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001272 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001273
Scott Main15b85172017-02-21 14:30:58 -08001274LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001275
1276include $(BUILD_DROIDDOC)
1277
1278static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001279$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001280 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001281
smain@google.com2f2365d2016-09-21 14:05:50 -07001282static_doc_properties := $(out_dir)/source.properties
1283$(static_doc_properties): \
1284 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1285 $(hide) mkdir -p $(dir $@)
1286 $(hide) $(ACP) $< $@
1287
smain@google.com00de8c52016-03-07 18:38:08 -08001288$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001289$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001290$(full_target): $(framework_built)
1291
smain@google.com7aca8be2016-03-10 14:13:30 -08001292
Bart Searsa8cc0582015-05-07 03:23:20 +00001293# ==== docs for the web (on the androiddevdocs app engine server) =======================
1294include $(CLEAR_VARS)
1295
1296LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1297LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1298LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1299LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1300LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1301LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1302LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1303LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1304LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1305LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1306
1307LOCAL_MODULE := online-sdk
1308
1309LOCAL_DROIDDOC_OPTIONS:= \
1310 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1311 -toroot / \
1312 -hdf android.whichdoc online \
1313 $(sample_groups) \
1314 -hdf android.hasSamples true \
1315 -samplesdir $(samples_dir)
1316
Scott Main15b85172017-02-21 14:30:58 -08001317LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001318
1319include $(BUILD_DROIDDOC)
1320
1321# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001322include $(CLEAR_VARS)
1323
1324LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1325LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1326LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1327LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1328LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1329LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1330LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1331LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1332LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1333LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1334
1335LOCAL_MODULE := online-system-api-sdk
1336
1337LOCAL_DROIDDOC_OPTIONS:= \
1338 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001339 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001340 -showAnnotation android.annotation.SystemApi \
1341 -title "Android SDK - Including system APIs." \
1342 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001343 -hide 101 \
1344 -hide 104 \
1345 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001346 -hdf android.whichdoc online \
1347 $(sample_groups) \
1348 -hdf android.hasSamples true \
1349 -samplesdir $(samples_dir)
1350
Scott Main15b85172017-02-21 14:30:58 -08001351LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001352
Bart Searsa8cc0582015-05-07 03:23:20 +00001353LOCAL_UNINSTALLABLE_MODULE := true
1354
1355include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001356
1357# ==== docs for the web (on the devsite app engine server) =======================
1358include $(CLEAR_VARS)
1359LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1360LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1361LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1362LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1363LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1364LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1365LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1366LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1367LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1368# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001369LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001370
1371LOCAL_MODULE := ds
1372
1373LOCAL_DROIDDOC_OPTIONS:= \
1374 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001375 -toroot / \
1376 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001377 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001378 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001379 -hdf android.hasSamples true \
1380 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001381
Scott Main15b85172017-02-21 14:30:58 -08001382LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001383
1384include $(BUILD_DROIDDOC)
1385
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001386# ==== docs for the web (on the devsite app engine server) =======================
1387include $(CLEAR_VARS)
1388LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1389LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1390LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1391LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1392LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1393LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1394LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1395LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1396LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1397# specify a second html input dir and an output path relative to OUT_DIR)
1398LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1399
1400LOCAL_MODULE := ds-static
1401
1402LOCAL_DROIDDOC_OPTIONS:= \
1403 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1404 -hdf android.whichdoc online \
1405 -staticonly \
1406 -toroot / \
1407 -devsite \
1408 -ignoreJdLinks
1409
Scott Main15b85172017-02-21 14:30:58 -08001410LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001411
1412include $(BUILD_DROIDDOC)
1413
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001414# ==== generates full navtree for resolving @links in ds postprocessing ====
1415include $(CLEAR_VARS)
1416
1417LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1418LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1419LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1420LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1421LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1422LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1423LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1424LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1425
1426LOCAL_MODULE := ds-ref-navtree
1427
1428LOCAL_DROIDDOC_OPTIONS:= \
1429 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1430 -hdf android.whichdoc online \
1431 -toroot / \
1432 -atLinksNavtree \
1433 -navtreeonly
1434
Scott Main15b85172017-02-21 14:30:58 -08001435LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001436
1437include $(BUILD_DROIDDOC)
1438
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001439# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001440include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001441
Bart Searsa8cc0582015-05-07 03:23:20 +00001442LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1443LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1444LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1445LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1446LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1447LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001448LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001449LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1450LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001451LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001452
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001453LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001454
1455LOCAL_DROIDDOC_OPTIONS:= \
1456 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1457 -toroot / \
1458 -hdf android.whichdoc online \
1459 $(sample_groups) \
1460 -hdf android.hasSamples true \
1461 -samplesdir $(samples_dir)
1462
Scott Main15b85172017-02-21 14:30:58 -08001463LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001464
1465include $(BUILD_DROIDDOC)
1466
Bart Searsa8cc0582015-05-07 03:23:20 +00001467# ==== docs that have all of the stuff that's @hidden =======================
1468include $(CLEAR_VARS)
1469
1470LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1471LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1472LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1473LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1474LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1475LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1476LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1477LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1478
1479LOCAL_MODULE := hidden
1480LOCAL_DROIDDOC_OPTIONS:=\
1481 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001482 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001483 -title "Android SDK - Including hidden APIs."
1484# -hidden
1485
Scott Main15b85172017-02-21 14:30:58 -08001486LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001487
1488include $(BUILD_DROIDDOC)
1489
1490# Build ext.jar
1491# ============================================================
1492
1493ext_dirs := \
1494 ../../external/nist-sip/java \
1495 ../../external/tagsoup/src \
1496
1497ext_src_files := $(call all-java-files-under,$(ext_dirs))
1498
1499# ==== the library =========================================
1500include $(CLEAR_VARS)
1501
1502LOCAL_SRC_FILES := $(ext_src_files)
1503
1504LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001505LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001506LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1507LOCAL_MODULE_TAGS := optional
1508LOCAL_MODULE := ext
1509
Colin Crossbe2d3302016-12-21 16:48:32 -08001510LOCAL_DX_FLAGS := --core-library
1511
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001512ifneq ($(INCREMENTAL_BUILDS),)
1513 LOCAL_PROGUARD_ENABLED := disabled
1514 LOCAL_JACK_ENABLED := incremental
1515endif
1516
Bart Searsa8cc0582015-05-07 03:23:20 +00001517include $(BUILD_JAVA_LIBRARY)
1518
Joe Onorato1754d742016-11-21 17:51:35 -08001519# ==== java proto host library ==============================
1520include $(CLEAR_VARS)
1521LOCAL_MODULE := platformprotos
1522LOCAL_PROTOC_OPTIMIZE_TYPE := full
1523LOCAL_PROTOC_FLAGS := \
1524 -Iexternal/protobuf/src
1525LOCAL_SOURCE_FILES_ALL_GENERATED := true
1526LOCAL_SRC_FILES := \
1527 $(call all-proto-files-under, core/proto) \
1528 $(call all-proto-files-under, libs/incident/proto)
1529include $(BUILD_HOST_JAVA_LIBRARY)
1530
Bart Searsa8cc0582015-05-07 03:23:20 +00001531
1532# Include subdirectory makefiles
1533# ============================================================
1534
1535# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1536# team really wants is to build the stuff defined by this makefile.
1537ifeq (,$(ONE_SHOT_MAKEFILE))
1538include $(call first-makefiles-under,$(LOCAL_PATH))
1539endif
1540
1541endif # ANDROID_BUILD_EMBEDDED