blob: 2d8739b5384fde4357d9dd022778b3e3c63ec428 [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 \
74 core/java/android/app/IActivityContainer.aidl \
75 core/java/android/app/IActivityContainerCallback.aidl \
76 core/java/android/app/IActivityController.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -070077 core/java/android/app/IActivityManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000078 core/java/android/app/IActivityPendingResult.aidl \
Christopher Tate14a7bb02015-10-01 10:24:31 -070079 core/java/android/app/IAlarmCompleteListener.aidl \
80 core/java/android/app/IAlarmListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000081 core/java/android/app/IAlarmManager.aidl \
82 core/java/android/app/IAppTask.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -070083 core/java/android/app/IApplicationThread.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000084 core/java/android/app/ITaskStackListener.aidl \
85 core/java/android/app/IBackupAgent.aidl \
Todd Kennedy31b95e02016-08-04 14:27:15 -070086 core/java/android/app/IEphemeralResolver.aidl \
Todd Kennedy1fb34042017-03-01 13:56:58 -080087 core/java/android/app/IInstantAppResolver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000088 core/java/android/app/IInstrumentationWatcher.aidl \
89 core/java/android/app/INotificationManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +000090 core/java/android/app/IProcessObserver.aidl \
91 core/java/android/app/ISearchManager.aidl \
92 core/java/android/app/ISearchManagerCallback.aidl \
93 core/java/android/app/IServiceConnection.aidl \
94 core/java/android/app/IStopUserCallback.aidl \
95 core/java/android/app/job/IJobCallback.aidl \
96 core/java/android/app/job/IJobScheduler.aidl \
97 core/java/android/app/job/IJobService.aidl \
98 core/java/android/app/ITransientNotification.aidl \
Dianne Hackbornd23e0d62015-05-15 16:36:12 -070099 core/java/android/app/IUidObserver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000100 core/java/android/app/IUiAutomationConnection.aidl \
101 core/java/android/app/IUiModeManager.aidl \
102 core/java/android/app/IUserSwitchObserver.aidl \
103 core/java/android/app/IWallpaperManager.aidl \
104 core/java/android/app/IWallpaperManagerCallback.aidl \
Makoto Onukifc73d792017-03-22 14:22:35 -0700105 core/java/android/app/admin/IDeviceAdminService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000106 core/java/android/app/admin/IDevicePolicyManager.aidl \
Adrian Roosb5e47222015-08-14 15:53:06 -0700107 core/java/android/app/trust/IStrongAuthTracker.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000108 core/java/android/app/trust/ITrustManager.aidl \
109 core/java/android/app/trust/ITrustListener.aidl \
110 core/java/android/app/backup/IBackupManager.aidl \
Sergey Poromovfe06bf62015-12-15 16:26:23 +0100111 core/java/android/app/backup/IBackupObserver.aidl \
Stefanotb1f573d2017-01-27 12:03:53 +0000112 core/java/android/app/backup/IBackupManagerMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000113 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
114 core/java/android/app/backup/IRestoreObserver.aidl \
115 core/java/android/app/backup/IRestoreSession.aidl \
Shreyas Basarge865303f2017-01-13 14:48:56 +0000116 core/java/android/app/backup/ISelectBackupTransportCallback.aidl \
Neil Fullerfe6ec562017-03-16 18:29:36 +0000117 core/java/android/app/timezone/ICallback.aidl \
118 core/java/android/app/timezone/IRulesManager.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800119 core/java/android/app/usage/ICacheQuotaService.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700120 core/java/android/app/usage/IStorageStatsManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000121 core/java/android/app/usage/IUsageStatsManager.aidl \
122 core/java/android/bluetooth/IBluetooth.aidl \
123 core/java/android/bluetooth/IBluetoothA2dp.aidl \
124 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
125 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
126 core/java/android/bluetooth/IBluetoothCallback.aidl \
127 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
128 core/java/android/bluetooth/IBluetoothHeadset.aidl \
129 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
130 core/java/android/bluetooth/IBluetoothHealth.aidl \
131 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
132 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
133 core/java/android/bluetooth/IBluetoothPan.aidl \
134 core/java/android/bluetooth/IBluetoothManager.aidl \
135 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
Joseph Pirozzo631768d2016-09-01 14:19:28 -0700136 core/java/android/bluetooth/IBluetoothMap.aidl \
137 core/java/android/bluetooth/IBluetoothMapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000138 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800139 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000140 core/java/android/bluetooth/IBluetoothSap.aidl \
141 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
142 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
Ivan Podogov0afe1902016-12-23 11:52:21 +0000143 core/java/android/bluetooth/IBluetoothInputHost.aidl \
Hemant Guptae88fd4b2014-04-18 11:22:45 +0530144 core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000145 core/java/android/bluetooth/IBluetoothGatt.aidl \
Jakub Pawlowskid7116be2017-03-27 12:14:40 -0700146 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
147 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
Jakub Pawlowski5324a142017-01-10 06:15:54 -0800148 core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl \
Jakub Pawlowskia48e0372017-01-16 07:21:01 -0800149 core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
Jakub Pawlowski1b49e6e2016-10-26 13:05:30 -0700150 core/java/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000151 core/java/android/content/IClipboard.aidl \
152 core/java/android/content/IContentService.aidl \
153 core/java/android/content/IIntentReceiver.aidl \
154 core/java/android/content/IIntentSender.aidl \
155 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
156 core/java/android/content/IRestrictionsManager.aidl \
157 core/java/android/content/ISyncAdapter.aidl \
158 core/java/android/content/ISyncContext.aidl \
159 core/java/android/content/ISyncServiceAdapter.aidl \
160 core/java/android/content/ISyncStatusObserver.aidl \
MÃ¥rten Kongstadeabc9e92015-12-15 16:40:23 +0100161 core/java/android/content/om/IOverlayManager.aidl \
Calin Juravle3d2af7f2017-04-19 19:56:21 -0700162 core/java/android/content/pm/IDexModuleRegisterCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000163 core/java/android/content/pm/ILauncherApps.aidl \
164 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800165 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800166 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000167 core/java/android/content/pm/IPackageDataObserver.aidl \
168 core/java/android/content/pm/IPackageDeleteObserver.aidl \
169 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
170 core/java/android/content/pm/IPackageInstallObserver.aidl \
171 core/java/android/content/pm/IPackageInstallObserver2.aidl \
172 core/java/android/content/pm/IPackageInstaller.aidl \
173 core/java/android/content/pm/IPackageInstallerCallback.aidl \
174 core/java/android/content/pm/IPackageInstallerSession.aidl \
175 core/java/android/content/pm/IPackageManager.aidl \
176 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 \
Martijn Coenend55def82016-04-14 15:19:31 +0200250 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000251 core/java/android/os/IBatteryPropertiesListener.aidl \
252 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
253 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700254 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000255 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100256 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800257 core/java/android/os/IIncidentManager.aidl \
258 core/java/android/os/IIncidentReportCompletedListener.aidl \
259 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800260 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000261 core/java/android/os/IMessenger.aidl \
262 core/java/android/os/INetworkActivityListener.aidl \
263 core/java/android/os/INetworkManagementService.aidl \
264 core/java/android/os/IPermissionController.aidl \
265 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600266 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000267 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800268 core/java/android/os/IRecoverySystem.aidl \
269 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000270 core/java/android/os/IRemoteCallback.aidl \
271 core/java/android/os/ISchedulingPolicyService.aidl \
272 core/java/android/os/IUpdateLock.aidl \
273 core/java/android/os/IUserManager.aidl \
274 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800275 core/java/android/os/storage/IStorageManager.aidl \
276 core/java/android/os/storage/IStorageEventListener.aidl \
277 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700278 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000279 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700280 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700281 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800282 core/java/android/service/autofill/IFillCallback.aidl \
283 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700284 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000285 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
286 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700287 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800288 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700289 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800290 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700291 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800292 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
293 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700294 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700295 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson7b69a862017-06-16 15:20:34 -0700296 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700297 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
298 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000299 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
300 core/java/android/service/notification/INotificationListener.aidl \
301 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
302 core/java/android/service/notification/IConditionListener.aidl \
303 core/java/android/service/notification/IConditionProvider.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700304 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800305 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700306 core/java/android/service/vr/IVrManager.aidl \
307 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000308 core/java/android/print/ILayoutResultCallback.aidl \
309 core/java/android/print/IPrinterDiscoveryObserver.aidl \
310 core/java/android/print/IPrintDocumentAdapter.aidl \
311 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
312 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800313 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700314 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000315 core/java/android/print/IPrintManager.aidl \
316 core/java/android/print/IPrintSpooler.aidl \
317 core/java/android/print/IPrintSpoolerCallbacks.aidl \
318 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700319 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
320 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000321 core/java/android/print/IWriteResultCallback.aidl \
322 core/java/android/printservice/IPrintService.aidl \
323 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800324 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800325 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
326 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
327 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000328 core/java/android/service/dreams/IDreamManager.aidl \
329 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000330 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000331 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
332 core/java/android/service/trust/ITrustAgentService.aidl \
333 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
334 core/java/android/service/voice/IVoiceInteractionService.aidl \
335 core/java/android/service/voice/IVoiceInteractionSession.aidl \
336 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
337 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
338 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
339 core/java/android/service/wallpaper/IWallpaperService.aidl \
340 core/java/android/service/chooser/IChooserTargetService.aidl \
341 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700342 core/java/android/service/resolver/IResolverRankerService.aidl \
343 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000344 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
345 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
346 core/java/android/view/accessibility/IAccessibilityManager.aidl \
347 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000348 core/java/android/view/autofill/IAutoFillManager.aidl \
349 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700350 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000351 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100352 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100353 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000354 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800355 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000356 core/java/android/view/IInputFilter.aidl \
357 core/java/android/view/IInputFilterHost.aidl \
358 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700359 core/java/android/view/IPinnedStackController.aidl \
360 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000361 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupine1571702017-05-24 14:14:44 -0700362 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000363 core/java/android/view/IWindow.aidl \
364 core/java/android/view/IWindowFocusObserver.aidl \
365 core/java/android/view/IWindowId.aidl \
366 core/java/android/view/IWindowManager.aidl \
367 core/java/android/view/IWindowSession.aidl \
368 core/java/android/view/IWindowSessionCallback.aidl \
369 core/java/android/webkit/IWebViewUpdateService.aidl \
370 core/java/android/speech/IRecognitionListener.aidl \
371 core/java/android/speech/IRecognitionService.aidl \
372 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
373 core/java/android/speech/tts/ITextToSpeechService.aidl \
374 core/java/com/android/internal/app/IAppOpsCallback.aidl \
375 core/java/com/android/internal/app/IAppOpsService.aidl \
376 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
377 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800378 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000379 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700380 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000381 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
382 core/java/com/android/internal/app/IVoiceInteractor.aidl \
383 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
384 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
385 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700386 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000387 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
388 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
389 core/java/com/android/internal/backup/IBackupTransport.aidl \
390 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700391 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700392 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700393 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700394 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000395 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
396 core/java/com/android/internal/policy/IKeyguardService.aidl \
397 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800398 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000399 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
400 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
401 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700402 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000403 core/java/com/android/internal/statusbar/IStatusBar.aidl \
404 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
405 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800406 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000407 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
408 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
409 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
410 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700411 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000412 core/java/com/android/internal/view/IInputContext.aidl \
413 core/java/com/android/internal/view/IInputContextCallback.aidl \
414 core/java/com/android/internal/view/IInputMethod.aidl \
415 core/java/com/android/internal/view/IInputMethodClient.aidl \
416 core/java/com/android/internal/view/IInputMethodManager.aidl \
417 core/java/com/android/internal/view/IInputMethodSession.aidl \
418 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700419 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000420 core/java/com/android/internal/widget/ILockSettings.aidl \
421 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
422 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
423 keystore/java/android/security/IKeyChainAliasCallback.aidl \
424 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800425 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000426 location/java/android/location/ICountryDetector.aidl \
427 location/java/android/location/ICountryListener.aidl \
428 location/java/android/location/IFusedProvider.aidl \
429 location/java/android/location/IGeocodeProvider.aidl \
430 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800431 location/java/android/location/IGnssStatusListener.aidl \
432 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800433 location/java/android/location/IGnssMeasurementsListener.aidl \
434 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000435 location/java/android/location/ILocationListener.aidl \
436 location/java/android/location/ILocationManager.aidl \
437 location/java/android/location/IFusedGeofenceHardware.aidl \
438 location/java/android/location/IGpsGeofenceHardware.aidl \
439 location/java/android/location/INetInitiatedListener.aidl \
440 location/java/com/android/internal/location/ILocationProvider.aidl \
441 media/java/android/media/IAudioService.aidl \
442 media/java/android/media/IAudioFocusDispatcher.aidl \
443 media/java/android/media/IAudioRoutesObserver.aidl \
444 media/java/android/media/IMediaHTTPConnection.aidl \
445 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900446 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000447 media/java/android/media/IMediaRouterClient.aidl \
448 media/java/android/media/IMediaRouterService.aidl \
449 media/java/android/media/IMediaScannerListener.aidl \
450 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800451 media/java/android/media/IPlaybackConfigDispatcher.aidl \
452 media/java/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800453 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000454 media/java/android/media/IRemoteDisplayCallback.aidl \
455 media/java/android/media/IRemoteDisplayProvider.aidl \
456 media/java/android/media/IRemoteVolumeController.aidl \
457 media/java/android/media/IRemoteVolumeObserver.aidl \
458 media/java/android/media/IRingtonePlayer.aidl \
459 media/java/android/media/IVolumeController.aidl \
460 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700461 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000462 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700463 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000464 media/java/android/media/midi/IMidiDeviceServer.aidl \
465 media/java/android/media/midi/IMidiManager.aidl \
466 media/java/android/media/projection/IMediaProjection.aidl \
467 media/java/android/media/projection/IMediaProjectionCallback.aidl \
468 media/java/android/media/projection/IMediaProjectionManager.aidl \
469 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
470 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900471 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800472 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900473 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000474 media/java/android/media/session/ISession.aidl \
475 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900476 media/java/android/media/session/ISessionController.aidl \
477 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000478 media/java/android/media/session/ISessionManager.aidl \
479 media/java/android/media/tv/ITvInputClient.aidl \
480 media/java/android/media/tv/ITvInputHardware.aidl \
481 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
482 media/java/android/media/tv/ITvInputManager.aidl \
483 media/java/android/media/tv/ITvInputManagerCallback.aidl \
484 media/java/android/media/tv/ITvInputService.aidl \
485 media/java/android/media/tv/ITvInputServiceCallback.aidl \
486 media/java/android/media/tv/ITvInputSession.aidl \
487 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800488 media/java/android/media/tv/ITvRemoteProvider.aidl \
489 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000490 media/java/android/service/media/IMediaBrowserService.aidl \
491 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800492 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
493 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000494 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
495 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
496 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
497 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
498 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
499 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
500 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
501 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700502 telephony/java/android/telephony/mbms/IMbmsDownloadManagerCallback.aidl \
503 telephony/java/android/telephony/mbms/IMbmsStreamingManagerCallback.aidl \
504 telephony/java/android/telephony/mbms/IDownloadCallback.aidl \
505 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800506 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
507 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000508 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
509 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
510 telephony/java/com/android/ims/internal/IImsConfig.aidl \
511 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
512 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
513 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800514 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800515 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800516 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000517 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800518 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
519 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000520 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
521 telephony/java/com/android/ims/internal/IImsUt.aidl \
522 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
523 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
524 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700525 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
526 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
527 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
528 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
529 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
530 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000531 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liue1ef5102017-05-23 13:07:07 -0700532 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000533 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
534 telephony/java/com/android/internal/telephony/IMms.aidl \
535 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
536 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
537 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
538 telephony/java/com/android/internal/telephony/ISms.aidl \
539 telephony/java/com/android/internal/telephony/ISub.aidl \
540 telephony/java/com/android/internal/telephony/ITelephony.aidl \
541 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
542 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800543 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000544 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700545 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
546 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
547 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000548 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
549 wifi/java/android/net/wifi/IWifiScanner.aidl \
550 wifi/java/android/net/wifi/IRttManager.aidl \
551 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
552 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
553 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500554 core/java/android/service/quicksettings/IQSService.aidl \
555 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000556
Tao Baobdc77362016-01-19 15:52:28 -0800557# The following are native binders that need to go with the native component
558# at system/update_engine/binder_bindings/. Use relative path to refer to them.
559LOCAL_SRC_FILES += \
560 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
561 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
562
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700563LOCAL_SRC_FILES += \
Erik Kline4e37b702016-07-05 11:34:21 +0900564 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700565 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900566
Tao Baobdc77362016-01-19 15:52:28 -0800567LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
568
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800569LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
570LOCAL_SRC_FILES += \
571 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
572 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
573 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
574 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
575 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
576 lowpan/java/android/net/lowpan/ILowpanManager.aidl
577
Bart Searsa8cc0582015-05-07 03:23:20 +0000578# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800579LOCAL_AIDL_INCLUDES += \
580 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
581 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000582
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800583LOCAL_AIDL_INCLUDES += \
584 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800585 frameworks/av/drm/libmediadrm/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100586 frameworks/native/aidl/gui \
587 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800588
Bart Searsa8cc0582015-05-07 03:23:20 +0000589LOCAL_INTERMEDIATE_SOURCES := \
590 $(framework_res_source_path)/android/R.java \
591 $(framework_res_source_path)/android/Manifest.java \
592 $(framework_res_source_path)/com/android/internal/R.java
593
Colin Crossc558dd92016-08-31 18:01:06 -0700594# Make sure that R.java and Manifest.java are built before we build
595# the source for this library.
596framework_res_R_stamp := \
597 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
598LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
599
Bart Searsa8cc0582015-05-07 03:23:20 +0000600LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000601LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700602
603LOCAL_STATIC_JAVA_LIBRARIES := \
604 framework-protos \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700605 android.hardware.health-V1.0-java-constants \
606 android.hardware.thermal-V1.0-java-constants \
607 android.hardware.tv.input-V1.0-java-constants \
608 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700609 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700610 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100611 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700612 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000613
Chong Zhang2659c2f2017-04-27 13:18:20 -0700614include hardware/interfaces/cas/1.0/CasHal.mk
615
Colin Cross9d937df2017-03-21 10:59:07 -0700616# Loaded with System.loadLibrary by android.view.textclassifier
617LOCAL_REQUIRED_MODULES += libtextclassifier
618
Joe Onorato1754d742016-11-21 17:51:35 -0800619LOCAL_PROTOC_OPTIMIZE_TYPE := stream
620LOCAL_PROTOC_FLAGS := \
621 -Iexternal/protobuf/src
622
Bart Searsa8cc0582015-05-07 03:23:20 +0000623LOCAL_MODULE := framework
624
Colin Crossbe2d3302016-12-21 16:48:32 -0800625LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000626LOCAL_JACK_FLAGS := --multi-dex native
627
628LOCAL_RMTYPEDEFS := true
629
Allen Hair0e4f0142016-06-27 17:01:50 -0700630ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
631LOCAL_EMMA_INSTRUMENT := true
632endif
633
Bart Searsa8cc0582015-05-07 03:23:20 +0000634include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700635
Bart Searsa8cc0582015-05-07 03:23:20 +0000636framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000637$(framework_module): | $(dir $(framework_module))framework-res.apk
638
639framework_built := $(call java-lib-deps,framework)
640
641# Copy AIDL files to be preprocessed and included in the SDK,
642# specified relative to the root of the build tree.
643# ============================================================
644include $(CLEAR_VARS)
645
646aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800647 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800648 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
649 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
650 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800651 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000652 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
653 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
654 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
655 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
656 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
657 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700658 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800659 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
660 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700661 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000662 frameworks/base/location/java/android/location/Location.aidl \
663 frameworks/base/location/java/android/location/Address.aidl \
664 frameworks/base/location/java/android/location/Criteria.aidl \
665 frameworks/base/media/java/android/media/MediaMetadata.aidl \
666 frameworks/base/media/java/android/media/MediaDescription.aidl \
667 frameworks/base/media/java/android/media/Rating.aidl \
668 frameworks/base/media/java/android/media/AudioAttributes.aidl \
669 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
670 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
671 frameworks/base/media/java/android/media/session/MediaSession.aidl \
672 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
673 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
674 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
675 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700676 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
677 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
678 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000679 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
680 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
681 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
682 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
683 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
684 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
685 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
686 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
687 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800688 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000689 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
690 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
691 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
692 frameworks/base/graphics/java/android/graphics/Region.aidl \
693 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
694 frameworks/base/graphics/java/android/graphics/Point.aidl \
695 frameworks/base/graphics/java/android/graphics/PointF.aidl \
696 frameworks/base/graphics/java/android/graphics/RectF.aidl \
697 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800698 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000699 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
700 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100701 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
702 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
703 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100704 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100705 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000706 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
707 frameworks/base/core/java/android/print/PageRange.aidl \
708 frameworks/base/core/java/android/print/PrintAttributes.aidl \
709 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
710 frameworks/base/core/java/android/print/PrinterId.aidl \
711 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
712 frameworks/base/core/java/android/print/PrinterInfo.aidl \
713 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700714 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700715 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Tomasz Wasilczykc9a1ac72017-05-17 21:29:28 -0700716 frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000717 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
718 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
719 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
720 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
721 frameworks/base/core/java/android/os/Messenger.aidl \
722 frameworks/base/core/java/android/os/PatternMatcher.aidl \
723 frameworks/base/core/java/android/os/Message.aidl \
724 frameworks/base/core/java/android/os/UserHandle.aidl \
725 frameworks/base/core/java/android/os/ParcelUuid.aidl \
726 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
727 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000728 frameworks/base/core/java/android/os/WorkSource.aidl \
729 frameworks/base/core/java/android/os/DropBoxManager.aidl \
730 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700731 frameworks/base/core/java/android/os/Debug.aidl \
John Reckdea6a022017-05-25 17:09:33 -0700732 frameworks/base/core/java/android/os/SharedMemory.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700733 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000734 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
735 frameworks/base/core/java/android/net/Network.aidl \
736 frameworks/base/core/java/android/net/RouteInfo.aidl \
737 frameworks/base/core/java/android/net/NetworkInfo.aidl \
738 frameworks/base/core/java/android/net/IpPrefix.aidl \
739 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
740 frameworks/base/core/java/android/net/DhcpInfo.aidl \
741 frameworks/base/core/java/android/net/ProxyInfo.aidl \
742 frameworks/base/core/java/android/net/LinkProperties.aidl \
743 frameworks/base/core/java/android/net/Uri.aidl \
744 frameworks/base/core/java/android/net/NetworkRequest.aidl \
745 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700746 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700747 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000748 frameworks/base/core/java/android/view/InputDevice.aidl \
749 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800750 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700751 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000752 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
753 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
754 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
755 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
756 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
757 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
758 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
759 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
760 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
761 frameworks/base/core/java/android/view/DragEvent.aidl \
762 frameworks/base/core/java/android/view/KeyEvent.aidl \
763 frameworks/base/core/java/android/view/WindowManager.aidl \
764 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
765 frameworks/base/core/java/android/view/MotionEvent.aidl \
766 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
767 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
768 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
769 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
770 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
771 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
772 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
773 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
774 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
775 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
776 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700777 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800778 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700779 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500780 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
781 frameworks/base/core/java/android/service/notification/Condition.aidl \
782 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000783 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
784 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700785 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000786 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800787 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700788 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700789 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000790 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000791 frameworks/base/core/java/android/app/Notification.aidl \
792 frameworks/base/core/java/android/app/NotificationManager.aidl \
793 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
794 frameworks/base/core/java/android/app/AppOpsManager.aidl \
795 frameworks/base/core/java/android/app/ActivityManager.aidl \
796 frameworks/base/core/java/android/app/PendingIntent.aidl \
797 frameworks/base/core/java/android/app/AlarmManager.aidl \
798 frameworks/base/core/java/android/app/SearchableInfo.aidl \
799 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700800 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
801 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000802 frameworks/base/core/java/android/app/job/JobParameters.aidl \
803 frameworks/base/core/java/android/app/job/JobInfo.aidl \
804 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
805 frameworks/base/core/java/android/content/ClipDescription.aidl \
806 frameworks/base/core/java/android/content/IntentFilter.aidl \
807 frameworks/base/core/java/android/content/Intent.aidl \
808 frameworks/base/core/java/android/content/res/Configuration.aidl \
809 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
810 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
811 frameworks/base/core/java/android/content/ClipData.aidl \
812 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
813 frameworks/base/core/java/android/content/SyncRequest.aidl \
814 frameworks/base/core/java/android/content/PeriodicSync.aidl \
815 frameworks/base/core/java/android/content/SyncResult.aidl \
816 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
817 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
818 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
819 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
820 frameworks/base/core/java/android/content/pm/Signature.aidl \
821 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
822 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
823 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700824 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000825 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
826 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
827 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
828 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
829 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800830 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000831 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
832 frameworks/base/core/java/android/content/ComponentName.aidl \
833 frameworks/base/core/java/android/content/SyncStats.aidl \
834 frameworks/base/core/java/android/content/ContentValues.aidl \
835 frameworks/base/core/java/android/content/SyncInfo.aidl \
836 frameworks/base/core/java/android/content/IntentSender.aidl \
837 frameworks/base/core/java/android/widget/RemoteViews.aidl \
838 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
839 frameworks/base/core/java/android/nfc/Tag.aidl \
840 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
841 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
842 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
843 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
844 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
845 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
846 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
847 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
848 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
849 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500850 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800851 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100852 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700853 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000854
855gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
856$(gen): PRIVATE_SRC_FILES := $(aidl_files)
857ALL_SDK_FILES += $(gen)
858$(gen): $(aidl_files) | $(AIDL)
859 @echo Aidl Preprocess: $@
860 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
861
862# the documentation
863# ============================================================
864
865# TODO: deal with com/google/android/googleapps
866packages_to_document := \
867 android \
868 javax/microedition/khronos \
869 org/apache/http/conn \
870 org/apache/http/params
871
872
873# Search through the base framework dirs for these packages.
874# The result will be relative to frameworks/base.
875fwbase_dirs_to_document := \
Paul Duffin23951792016-11-30 13:29:39 +0000876 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000877 $(patsubst $(LOCAL_PATH)/%,%, \
878 $(wildcard \
879 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
880 $(addprefix $(dir)/, $(packages_to_document)) \
881 ) \
882 ) \
883 )
884
885# include definition of libcore_to_document
886include libcore/Docs.mk
887
Bart Searsa8cc0582015-05-07 03:23:20 +0000888non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000889 ../opt/telephony/src/java/android/telephony \
890 ../opt/telephony/src/java/android/telephony/gsm \
891 ../opt/net/voip/src/java/android/net/rtp \
892 ../opt/net/voip/src/java/android/net/sip
893
Paul Duffinc08090f2017-06-29 14:58:43 +0100894framework_base_android_test_mock_src_files := \
895 $(call all-java-files-under, test-runner/src/android/test/mock)
896
897framework_base_android_test_runner_excluding_mock_src_files := \
898 $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src))
899
Bart Searsa8cc0582015-05-07 03:23:20 +0000900# These are relative to frameworks/base
901dirs_to_check_apis := \
902 $(fwbase_dirs_to_document) \
903 $(non_base_dirs)
904
George Mountf6be9932015-12-03 07:39:55 -0800905###########################################################
906## Return all directories that have a 'NO_DOCS' file in
907## them, appending a '%' to them to form a pattern to
908## filter out files under those directories.
909## $(1): A list of base directories to look at.
910###########################################################
911define find-no-docs-pattern
912$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
913endef
914
Bart Searsa8cc0582015-05-07 03:23:20 +0000915# These are relative to frameworks/base
916# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
917dirs_to_document := \
918 $(dirs_to_check_apis) \
Paul Duffinc08090f2017-06-29 14:58:43 +0100919 test-runner/src \
Alan Viverette9ca513e2017-04-05 10:21:58 -0400920 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS))
Bart Searsa8cc0582015-05-07 03:23:20 +0000921
George Mountf6be9932015-12-03 07:39:55 -0800922patterns_to_not_document := \
923 $(call find-no-docs-pattern, $(dirs_to_document))
924
Bart Searsa8cc0582015-05-07 03:23:20 +0000925# These are relative to frameworks/base
926html_dirs := \
927 $(FRAMEWORKS_BASE_SUBDIRS) \
928 $(non_base_dirs)
929
930# Common sources for doc check and api check
931common_src_files := \
932 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000933 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000934
935# These are relative to frameworks/base
936framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800937 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000938 $(common_src_files)
939
940# These are relative to frameworks/base
941framework_docs_LOCAL_API_CHECK_SRC_FILES := \
Paul Duffinc08090f2017-06-29 14:58:43 +0100942 $(framework_base_android_test_mock_src_files) \
943 $(framework_base_android_test_runner_excluding_mock_src_files) \
944 $(call all-java-files-under, $(dirs_to_check_apis)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000945 $(common_src_files)
946
947# This is used by ide.mk as the list of source files that are
948# always included.
949INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
950
951framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
952 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
953
954framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
955 $(framework_res_source_path)/android/R.java \
956 $(framework_res_source_path)/android/Manifest.java \
957 $(framework_res_source_path)/com/android/internal/R.java
958
959framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000960 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000961 core-libart \
962 conscrypt \
963 bouncycastle \
964 okhttp \
965 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100966 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000967 framework \
Paul Duffinc08090f2017-06-29 14:58:43 +0100968 voip-common \
969 android.test.mock \
Bart Searsa8cc0582015-05-07 03:23:20 +0000970
Alan Viverette9ca513e2017-04-05 10:21:58 -0400971# Platform docs can refer to Support Library APIs, but we don't actually build
972# them as part of the docs target, so we need to include them on the classpath.
Bart Searsa8cc0582015-05-07 03:23:20 +0000973framework_docs_LOCAL_JAVA_LIBRARIES := \
974 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
975 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
976
977framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
978framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
979# The since flag (-since N.xml API_LEVEL) is used to add API Level information
980# to the reference documentation. Must be in order of oldest to newest.
981#
982# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
983# not be referenced in the documentation.
984framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600985 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +0000986 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100987 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -0600988 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +0000989 -hidePackage com.android.org.conscrypt \
990 -since $(SRC_API_DIR)/1.xml 1 \
991 -since $(SRC_API_DIR)/2.xml 2 \
992 -since $(SRC_API_DIR)/3.xml 3 \
993 -since $(SRC_API_DIR)/4.xml 4 \
994 -since $(SRC_API_DIR)/5.xml 5 \
995 -since $(SRC_API_DIR)/6.xml 6 \
996 -since $(SRC_API_DIR)/7.xml 7 \
997 -since $(SRC_API_DIR)/8.xml 8 \
998 -since $(SRC_API_DIR)/9.xml 9 \
999 -since $(SRC_API_DIR)/10.xml 10 \
1000 -since $(SRC_API_DIR)/11.xml 11 \
1001 -since $(SRC_API_DIR)/12.xml 12 \
1002 -since $(SRC_API_DIR)/13.xml 13 \
1003 -since $(SRC_API_DIR)/14.txt 14 \
1004 -since $(SRC_API_DIR)/15.txt 15 \
1005 -since $(SRC_API_DIR)/16.txt 16 \
1006 -since $(SRC_API_DIR)/17.txt 17 \
1007 -since $(SRC_API_DIR)/18.txt 18 \
1008 -since $(SRC_API_DIR)/19.txt 19 \
1009 -since $(SRC_API_DIR)/20.txt 20 \
1010 -since $(SRC_API_DIR)/21.txt 21 \
1011 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001012 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001013 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001014 -since $(SRC_API_DIR)/25.txt 25 \
Scott Main05b99262017-02-23 14:51:06 -08001015 -since ./frameworks/base/api/current.txt O \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001016 -werror -hide 111 -hide 113 -hide 121 \
1017 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001018
1019framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1020 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1021
1022framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
Alan Viverette9ca513e2017-04-05 10:21:58 -04001023 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001024
1025framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001026 frameworks/base/docs/knowntags.txt \
1027 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +00001028
1029samples_dir := development/samples/browseable
1030
1031# Whitelist of valid groups, used for default TOC grouping. Each sample must
1032# belong to one (and only one) group. Assign samples to groups by setting
1033# a sample.group var to one of these groups in the sample's _index.jd.
1034sample_groups := -samplegroup Admin \
1035 -samplegroup Background \
1036 -samplegroup Connectivity \
1037 -samplegroup Content \
1038 -samplegroup Input \
1039 -samplegroup Media \
1040 -samplegroup Notification \
1041 -samplegroup RenderScript \
1042 -samplegroup Security \
1043 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001044 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001045 -samplegroup Testing \
1046 -samplegroup UI \
1047 -samplegroup Views \
1048 -samplegroup Wearable
1049
1050## SDK version identifiers used in the published docs
1051 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001052framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001053 # release version (ie "Release x") (full releases only)
1054framework_docs_SDK_REL_ID:=1
1055
1056framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001057 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001058 -hdf sdk.codename O \
1059 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001060 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1061 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001062 -hdf sdk.preview 0 \
1063 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1064 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001065
Alan Viverette9ca513e2017-04-05 10:21:58 -04001066# Federate Support Library references against local API file.
1067framework_docs_LOCAL_DROIDDOC_OPTIONS += \
1068 -federate SupportLib https://developer.android.com \
1069 -federationapi SupportLib prebuilts/sdk/current/support-api.txt
1070
Bart Searsa8cc0582015-05-07 03:23:20 +00001071# ==== the api stubs and current.xml ===========================
1072include $(CLEAR_VARS)
1073
1074LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1075LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1076LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1077LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1078LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1079LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1080LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1081LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1082
1083LOCAL_MODULE := api-stubs
1084
Ying Wang0f92a2e2015-07-16 14:20:22 -07001085LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1086
Bart Searsa8cc0582015-05-07 03:23:20 +00001087LOCAL_DROIDDOC_OPTIONS:=\
1088 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001089 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001090 -api $(INTERNAL_PLATFORM_API_FILE) \
1091 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1092 -nodocs
1093
Scott Main15b85172017-02-21 14:30:58 -08001094LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001095
1096LOCAL_UNINSTALLABLE_MODULE := true
1097
1098include $(BUILD_DROIDDOC)
1099
1100# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1101$(full_target): $(framework_built) $(gen)
1102$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1103$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1104
1105# ==== the system api stubs ===================================
1106include $(CLEAR_VARS)
1107
1108LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1109LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1110LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1111LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1112LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1113LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1114LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1115LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1116
1117LOCAL_MODULE := system-api-stubs
1118
Ying Wang0f92a2e2015-07-16 14:20:22 -07001119LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1120
Bart Searsa8cc0582015-05-07 03:23:20 +00001121LOCAL_DROIDDOC_OPTIONS:=\
1122 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001123 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001124 -showAnnotation android.annotation.SystemApi \
1125 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1126 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001127 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001128 -nodocs
1129
Scott Main15b85172017-02-21 14:30:58 -08001130LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001131
1132LOCAL_UNINSTALLABLE_MODULE := true
1133
1134include $(BUILD_DROIDDOC)
1135
1136# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1137$(full_target): $(framework_built) $(gen)
1138$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1139$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1140
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001141# ==== the test api stubs ===================================
1142include $(CLEAR_VARS)
1143
1144LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1145LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1146LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1147LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1148LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1149LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1150LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1151LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1152
1153LOCAL_MODULE := test-api-stubs
1154
1155LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1156
1157LOCAL_DROIDDOC_OPTIONS:=\
1158 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001159 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001160 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1161 -showAnnotation android.annotation.TestApi \
1162 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1163 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001164 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001165 -nodocs
1166
Scott Main15b85172017-02-21 14:30:58 -08001167LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001168
1169LOCAL_UNINSTALLABLE_MODULE := true
1170
1171include $(BUILD_DROIDDOC)
1172
1173# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1174$(full_target): $(framework_built) $(gen)
1175$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1176$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1177
Bart Searsa8cc0582015-05-07 03:23:20 +00001178# ==== check javadoc comments but don't generate docs ========
1179include $(CLEAR_VARS)
1180
1181LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1182LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1183LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1184LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1185LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1186LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1187LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1188LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1189
1190LOCAL_MODULE := doc-comment-check
1191
1192LOCAL_DROIDDOC_OPTIONS:=\
1193 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001194 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001195 -parsecomments
1196
Scott Main15b85172017-02-21 14:30:58 -08001197LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001198
1199LOCAL_UNINSTALLABLE_MODULE := true
1200
1201include $(BUILD_DROIDDOC)
1202
1203# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1204$(full_target): $(framework_built) $(gen)
1205
1206# Run this for checkbuild
1207checkbuild: doc-comment-check-docs
1208# Check comment when you are updating the API
1209update-api: doc-comment-check-docs
1210
1211# ==== static html in the sdk ==================================
1212include $(CLEAR_VARS)
1213
1214LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1215LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1216LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1217LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1218LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1219LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1220LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1221LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1222
1223LOCAL_MODULE := offline-sdk
1224
1225LOCAL_DROIDDOC_OPTIONS:=\
1226 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1227 -offlinemode \
1228 -title "Android SDK" \
1229 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001230 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001231 -hdf android.whichdoc offline
1232
Scott Main15b85172017-02-21 14:30:58 -08001233LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001234
1235include $(BUILD_DROIDDOC)
1236
1237static_doc_index_redirect := $(out_dir)/index.html
1238$(static_doc_index_redirect): \
1239 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1240 $(hide) mkdir -p $(dir $@)
1241 $(hide) $(ACP) $< $@
1242
1243$(full_target): $(static_doc_index_redirect)
1244$(full_target): $(framework_built)
1245
1246
1247# ==== static html in the sdk ==================================
1248include $(CLEAR_VARS)
1249
1250LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1251LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1252LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1253LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1254LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1255LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1256LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1257LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1258
1259LOCAL_MODULE := offline-sdk-referenceonly
1260
1261LOCAL_DROIDDOC_OPTIONS:=\
1262 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1263 -offlinemode \
1264 -title "Android SDK" \
1265 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1266 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001267 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001268 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001269
Scott Main15b85172017-02-21 14:30:58 -08001270LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001271
1272include $(BUILD_DROIDDOC)
1273
1274static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001275$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001276 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001277
smain@google.com2f2365d2016-09-21 14:05:50 -07001278static_doc_properties := $(out_dir)/source.properties
1279$(static_doc_properties): \
1280 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1281 $(hide) mkdir -p $(dir $@)
1282 $(hide) $(ACP) $< $@
1283
smain@google.com00de8c52016-03-07 18:38:08 -08001284$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001285$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001286$(full_target): $(framework_built)
1287
smain@google.com7aca8be2016-03-10 14:13:30 -08001288
Bart Searsa8cc0582015-05-07 03:23:20 +00001289# ==== docs for the web (on the androiddevdocs app engine server) =======================
1290include $(CLEAR_VARS)
1291
1292LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1293LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1294LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1295LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1296LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1297LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1298LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1299LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1300LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1301LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1302
1303LOCAL_MODULE := online-sdk
1304
1305LOCAL_DROIDDOC_OPTIONS:= \
1306 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1307 -toroot / \
1308 -hdf android.whichdoc online \
1309 $(sample_groups) \
1310 -hdf android.hasSamples true \
1311 -samplesdir $(samples_dir)
1312
Scott Main15b85172017-02-21 14:30:58 -08001313LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001314
1315include $(BUILD_DROIDDOC)
1316
1317# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001318include $(CLEAR_VARS)
1319
1320LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1321LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1322LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1323LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1324LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1325LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1326LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1327LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1328LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1329LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1330
1331LOCAL_MODULE := online-system-api-sdk
1332
1333LOCAL_DROIDDOC_OPTIONS:= \
1334 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001335 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001336 -showAnnotation android.annotation.SystemApi \
1337 -title "Android SDK - Including system APIs." \
1338 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001339 -hide 101 \
1340 -hide 104 \
1341 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001342 -hdf android.whichdoc online \
1343 $(sample_groups) \
1344 -hdf android.hasSamples true \
1345 -samplesdir $(samples_dir)
1346
Scott Main15b85172017-02-21 14:30:58 -08001347LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001348
Bart Searsa8cc0582015-05-07 03:23:20 +00001349LOCAL_UNINSTALLABLE_MODULE := true
1350
1351include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001352
1353# ==== docs for the web (on the devsite app engine server) =======================
1354include $(CLEAR_VARS)
1355LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1356LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1357LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1358LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1359LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1360LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1361LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1362LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1363LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1364# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001365LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001366
1367LOCAL_MODULE := ds
1368
1369LOCAL_DROIDDOC_OPTIONS:= \
1370 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001371 -toroot / \
1372 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001373 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001374 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001375 -hdf android.hasSamples true \
1376 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001377
Scott Main15b85172017-02-21 14:30:58 -08001378LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001379
1380include $(BUILD_DROIDDOC)
1381
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001382# ==== docs for the web (on the devsite app engine server) =======================
1383include $(CLEAR_VARS)
1384LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1385LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1386LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1387LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1388LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1389LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1390LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1391LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1392LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1393# specify a second html input dir and an output path relative to OUT_DIR)
1394LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1395
1396LOCAL_MODULE := ds-static
1397
1398LOCAL_DROIDDOC_OPTIONS:= \
1399 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1400 -hdf android.whichdoc online \
1401 -staticonly \
1402 -toroot / \
1403 -devsite \
1404 -ignoreJdLinks
1405
Scott Main15b85172017-02-21 14:30:58 -08001406LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001407
1408include $(BUILD_DROIDDOC)
1409
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001410# ==== generates full navtree for resolving @links in ds postprocessing ====
1411include $(CLEAR_VARS)
1412
1413LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1414LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1415LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1416LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1417LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1418LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1419LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1420LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1421
1422LOCAL_MODULE := ds-ref-navtree
1423
1424LOCAL_DROIDDOC_OPTIONS:= \
1425 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1426 -hdf android.whichdoc online \
1427 -toroot / \
1428 -atLinksNavtree \
1429 -navtreeonly
1430
Scott Main15b85172017-02-21 14:30:58 -08001431LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001432
1433include $(BUILD_DROIDDOC)
1434
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001435# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001436include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001437
Bart Searsa8cc0582015-05-07 03:23:20 +00001438LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1439LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1440LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1441LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1442LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1443LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001444LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001445LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1446LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001447LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001448
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001449LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001450
1451LOCAL_DROIDDOC_OPTIONS:= \
1452 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1453 -toroot / \
1454 -hdf android.whichdoc online \
1455 $(sample_groups) \
1456 -hdf android.hasSamples true \
1457 -samplesdir $(samples_dir)
1458
Scott Main15b85172017-02-21 14:30:58 -08001459LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001460
1461include $(BUILD_DROIDDOC)
1462
Bart Searsa8cc0582015-05-07 03:23:20 +00001463# ==== docs that have all of the stuff that's @hidden =======================
1464include $(CLEAR_VARS)
1465
1466LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1467LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1468LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1469LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1470LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1471LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1472LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1473LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1474
1475LOCAL_MODULE := hidden
1476LOCAL_DROIDDOC_OPTIONS:=\
1477 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001478 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001479 -title "Android SDK - Including hidden APIs."
1480# -hidden
1481
Scott Main15b85172017-02-21 14:30:58 -08001482LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001483
1484include $(BUILD_DROIDDOC)
1485
1486# Build ext.jar
1487# ============================================================
1488
1489ext_dirs := \
1490 ../../external/nist-sip/java \
1491 ../../external/tagsoup/src \
1492
1493ext_src_files := $(call all-java-files-under,$(ext_dirs))
1494
1495# ==== the library =========================================
1496include $(CLEAR_VARS)
1497
1498LOCAL_SRC_FILES := $(ext_src_files)
1499
1500LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001501LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001502LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1503LOCAL_MODULE_TAGS := optional
1504LOCAL_MODULE := ext
1505
Colin Crossbe2d3302016-12-21 16:48:32 -08001506LOCAL_DX_FLAGS := --core-library
1507
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001508ifneq ($(INCREMENTAL_BUILDS),)
1509 LOCAL_PROGUARD_ENABLED := disabled
1510 LOCAL_JACK_ENABLED := incremental
1511endif
1512
Bart Searsa8cc0582015-05-07 03:23:20 +00001513include $(BUILD_JAVA_LIBRARY)
1514
Joe Onorato1754d742016-11-21 17:51:35 -08001515# ==== java proto host library ==============================
1516include $(CLEAR_VARS)
1517LOCAL_MODULE := platformprotos
1518LOCAL_PROTOC_OPTIMIZE_TYPE := full
1519LOCAL_PROTOC_FLAGS := \
1520 -Iexternal/protobuf/src
1521LOCAL_SOURCE_FILES_ALL_GENERATED := true
1522LOCAL_SRC_FILES := \
1523 $(call all-proto-files-under, core/proto) \
1524 $(call all-proto-files-under, libs/incident/proto)
1525include $(BUILD_HOST_JAVA_LIBRARY)
1526
Bart Searsa8cc0582015-05-07 03:23:20 +00001527
1528# Include subdirectory makefiles
1529# ============================================================
1530
1531# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1532# team really wants is to build the stuff defined by this makefile.
1533ifeq (,$(ONE_SHOT_MAKEFILE))
1534include $(call first-makefiles-under,$(LOCAL_PATH))
1535endif
1536
1537endif # ANDROID_BUILD_EMBEDDED