blob: 34547206e5f6a9129c1266fa0e6ca84d98d079f8 [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 \
Love Khanna755a8fa2017-05-17 15:52:16 +0530250 core/java/android/nfc/INfcDta.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200251 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000252 core/java/android/os/IBatteryPropertiesListener.aidl \
253 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
254 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700255 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000256 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100257 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800258 core/java/android/os/IIncidentManager.aidl \
259 core/java/android/os/IIncidentReportCompletedListener.aidl \
260 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800261 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000262 core/java/android/os/IMessenger.aidl \
263 core/java/android/os/INetworkActivityListener.aidl \
264 core/java/android/os/INetworkManagementService.aidl \
265 core/java/android/os/IPermissionController.aidl \
266 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600267 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000268 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800269 core/java/android/os/IRecoverySystem.aidl \
270 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000271 core/java/android/os/IRemoteCallback.aidl \
272 core/java/android/os/ISchedulingPolicyService.aidl \
273 core/java/android/os/IUpdateLock.aidl \
274 core/java/android/os/IUserManager.aidl \
275 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800276 core/java/android/os/storage/IStorageManager.aidl \
277 core/java/android/os/storage/IStorageEventListener.aidl \
278 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700279 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000280 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700281 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700282 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800283 core/java/android/service/autofill/IFillCallback.aidl \
284 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700285 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000286 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
287 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700288 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800289 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700290 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800291 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700292 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800293 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
294 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700295 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700296 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson7b69a862017-06-16 15:20:34 -0700297 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700298 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
299 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000300 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
301 core/java/android/service/notification/INotificationListener.aidl \
302 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
303 core/java/android/service/notification/IConditionListener.aidl \
304 core/java/android/service/notification/IConditionProvider.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700305 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800306 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700307 core/java/android/service/vr/IVrManager.aidl \
308 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000309 core/java/android/print/ILayoutResultCallback.aidl \
310 core/java/android/print/IPrinterDiscoveryObserver.aidl \
311 core/java/android/print/IPrintDocumentAdapter.aidl \
312 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
313 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800314 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700315 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000316 core/java/android/print/IPrintManager.aidl \
317 core/java/android/print/IPrintSpooler.aidl \
318 core/java/android/print/IPrintSpoolerCallbacks.aidl \
319 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700320 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
321 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000322 core/java/android/print/IWriteResultCallback.aidl \
323 core/java/android/printservice/IPrintService.aidl \
324 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800325 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800326 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
327 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
328 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000329 core/java/android/service/dreams/IDreamManager.aidl \
330 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000331 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000332 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
333 core/java/android/service/trust/ITrustAgentService.aidl \
334 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
335 core/java/android/service/voice/IVoiceInteractionService.aidl \
336 core/java/android/service/voice/IVoiceInteractionSession.aidl \
337 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
338 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
339 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
340 core/java/android/service/wallpaper/IWallpaperService.aidl \
341 core/java/android/service/chooser/IChooserTargetService.aidl \
342 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700343 core/java/android/service/resolver/IResolverRankerService.aidl \
344 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000345 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
346 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
347 core/java/android/view/accessibility/IAccessibilityManager.aidl \
348 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000349 core/java/android/view/autofill/IAutoFillManager.aidl \
350 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700351 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000352 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100353 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100354 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000355 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800356 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000357 core/java/android/view/IInputFilter.aidl \
358 core/java/android/view/IInputFilterHost.aidl \
359 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700360 core/java/android/view/IPinnedStackController.aidl \
361 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000362 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupin1ead7fc2017-05-24 14:14:44 -0700363 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000364 core/java/android/view/IWindow.aidl \
365 core/java/android/view/IWindowFocusObserver.aidl \
366 core/java/android/view/IWindowId.aidl \
367 core/java/android/view/IWindowManager.aidl \
368 core/java/android/view/IWindowSession.aidl \
369 core/java/android/view/IWindowSessionCallback.aidl \
370 core/java/android/webkit/IWebViewUpdateService.aidl \
371 core/java/android/speech/IRecognitionListener.aidl \
372 core/java/android/speech/IRecognitionService.aidl \
373 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
374 core/java/android/speech/tts/ITextToSpeechService.aidl \
375 core/java/com/android/internal/app/IAppOpsCallback.aidl \
376 core/java/com/android/internal/app/IAppOpsService.aidl \
377 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
378 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800379 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000380 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700381 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000382 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
383 core/java/com/android/internal/app/IVoiceInteractor.aidl \
384 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
385 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
386 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700387 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000388 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
389 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
390 core/java/com/android/internal/backup/IBackupTransport.aidl \
391 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700392 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700393 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700394 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700395 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000396 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
397 core/java/com/android/internal/policy/IKeyguardService.aidl \
398 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800399 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000400 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
401 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
402 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700403 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000404 core/java/com/android/internal/statusbar/IStatusBar.aidl \
405 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
406 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800407 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000408 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
409 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
410 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
411 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700412 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000413 core/java/com/android/internal/view/IInputContext.aidl \
414 core/java/com/android/internal/view/IInputContextCallback.aidl \
415 core/java/com/android/internal/view/IInputMethod.aidl \
416 core/java/com/android/internal/view/IInputMethodClient.aidl \
417 core/java/com/android/internal/view/IInputMethodManager.aidl \
418 core/java/com/android/internal/view/IInputMethodSession.aidl \
419 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700420 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000421 core/java/com/android/internal/widget/ILockSettings.aidl \
422 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
423 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
424 keystore/java/android/security/IKeyChainAliasCallback.aidl \
425 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800426 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000427 location/java/android/location/ICountryDetector.aidl \
428 location/java/android/location/ICountryListener.aidl \
429 location/java/android/location/IFusedProvider.aidl \
430 location/java/android/location/IGeocodeProvider.aidl \
431 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800432 location/java/android/location/IGnssStatusListener.aidl \
433 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800434 location/java/android/location/IGnssMeasurementsListener.aidl \
435 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000436 location/java/android/location/ILocationListener.aidl \
437 location/java/android/location/ILocationManager.aidl \
438 location/java/android/location/IFusedGeofenceHardware.aidl \
439 location/java/android/location/IGpsGeofenceHardware.aidl \
440 location/java/android/location/INetInitiatedListener.aidl \
441 location/java/com/android/internal/location/ILocationProvider.aidl \
442 media/java/android/media/IAudioService.aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800443 ../av/drm/libmediadrm/aidl/android/media/ICas.aidl \
444 ../av/drm/libmediadrm/aidl/android/media/ICasListener.aidl \
445 ../av/drm/libmediadrm/aidl/android/media/IDescrambler.aidl \
446 ../av/drm/libmediadrm/aidl/android/media/IMediaCasService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000447 media/java/android/media/IAudioFocusDispatcher.aidl \
448 media/java/android/media/IAudioRoutesObserver.aidl \
449 media/java/android/media/IMediaHTTPConnection.aidl \
450 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900451 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000452 media/java/android/media/IMediaRouterClient.aidl \
453 media/java/android/media/IMediaRouterService.aidl \
454 media/java/android/media/IMediaScannerListener.aidl \
455 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800456 media/java/android/media/IPlaybackConfigDispatcher.aidl \
457 media/java/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800458 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000459 media/java/android/media/IRemoteDisplayCallback.aidl \
460 media/java/android/media/IRemoteDisplayProvider.aidl \
461 media/java/android/media/IRemoteVolumeController.aidl \
462 media/java/android/media/IRemoteVolumeObserver.aidl \
463 media/java/android/media/IRingtonePlayer.aidl \
464 media/java/android/media/IVolumeController.aidl \
465 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700466 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000467 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700468 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000469 media/java/android/media/midi/IMidiDeviceServer.aidl \
470 media/java/android/media/midi/IMidiManager.aidl \
471 media/java/android/media/projection/IMediaProjection.aidl \
472 media/java/android/media/projection/IMediaProjectionCallback.aidl \
473 media/java/android/media/projection/IMediaProjectionManager.aidl \
474 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
475 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900476 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800477 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900478 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000479 media/java/android/media/session/ISession.aidl \
480 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900481 media/java/android/media/session/ISessionController.aidl \
482 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000483 media/java/android/media/session/ISessionManager.aidl \
484 media/java/android/media/tv/ITvInputClient.aidl \
485 media/java/android/media/tv/ITvInputHardware.aidl \
486 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
487 media/java/android/media/tv/ITvInputManager.aidl \
488 media/java/android/media/tv/ITvInputManagerCallback.aidl \
489 media/java/android/media/tv/ITvInputService.aidl \
490 media/java/android/media/tv/ITvInputServiceCallback.aidl \
491 media/java/android/media/tv/ITvInputSession.aidl \
492 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800493 media/java/android/media/tv/ITvRemoteProvider.aidl \
494 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000495 media/java/android/service/media/IMediaBrowserService.aidl \
496 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800497 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
498 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000499 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
500 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
501 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
502 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
503 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
504 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
505 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
506 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700507 telephony/java/android/telephony/mbms/IMbmsDownloadManagerCallback.aidl \
508 telephony/java/android/telephony/mbms/IMbmsStreamingManagerCallback.aidl \
Robert Greenwalt0ebff462017-06-16 17:37:20 -0700509 telephony/java/android/telephony/mbms/IDownloadProgressListener.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700510 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800511 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
512 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000513 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
514 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
515 telephony/java/com/android/ims/internal/IImsConfig.aidl \
516 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
517 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
518 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800519 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800520 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800521 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000522 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800523 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
524 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000525 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
526 telephony/java/com/android/ims/internal/IImsUt.aidl \
527 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
528 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
529 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700530 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
531 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
532 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
533 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
534 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
535 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000536 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liu6d783e32017-05-23 13:07:07 -0700537 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000538 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
539 telephony/java/com/android/internal/telephony/IMms.aidl \
540 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
541 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
542 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
543 telephony/java/com/android/internal/telephony/ISms.aidl \
544 telephony/java/com/android/internal/telephony/ISub.aidl \
545 telephony/java/com/android/internal/telephony/ITelephony.aidl \
546 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
547 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800548 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000549 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700550 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
551 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
552 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000553 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
554 wifi/java/android/net/wifi/IWifiScanner.aidl \
555 wifi/java/android/net/wifi/IRttManager.aidl \
556 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
557 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
558 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500559 core/java/android/service/quicksettings/IQSService.aidl \
560 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000561
Tao Baobdc77362016-01-19 15:52:28 -0800562# The following are native binders that need to go with the native component
563# at system/update_engine/binder_bindings/. Use relative path to refer to them.
564LOCAL_SRC_FILES += \
565 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
566 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
567
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700568LOCAL_SRC_FILES += \
Erik Kline4e37b702016-07-05 11:34:21 +0900569 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700570 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900571
Tao Baobdc77362016-01-19 15:52:28 -0800572LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
573
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800574LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
575LOCAL_SRC_FILES += \
576 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
577 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
578 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
579 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
580 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
581 lowpan/java/android/net/lowpan/ILowpanManager.aidl
582
Bart Searsa8cc0582015-05-07 03:23:20 +0000583# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800584LOCAL_AIDL_INCLUDES += \
585 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
586 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000587
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800588LOCAL_AIDL_INCLUDES += \
589 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800590 frameworks/av/drm/libmediadrm/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100591 frameworks/native/aidl/gui \
592 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800593
Bart Searsa8cc0582015-05-07 03:23:20 +0000594LOCAL_INTERMEDIATE_SOURCES := \
595 $(framework_res_source_path)/android/R.java \
596 $(framework_res_source_path)/android/Manifest.java \
597 $(framework_res_source_path)/com/android/internal/R.java
598
Colin Crossc558dd92016-08-31 18:01:06 -0700599# Make sure that R.java and Manifest.java are built before we build
600# the source for this library.
601framework_res_R_stamp := \
602 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
603LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
604
Bart Searsa8cc0582015-05-07 03:23:20 +0000605LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000606LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700607
608LOCAL_STATIC_JAVA_LIBRARIES := \
609 framework-protos \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700610 android.hardware.health-V1.0-java-constants \
611 android.hardware.thermal-V1.0-java-constants \
612 android.hardware.tv.input-V1.0-java-constants \
613 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700614 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700615 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100616 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700617 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000618
Colin Cross9d937df2017-03-21 10:59:07 -0700619# Loaded with System.loadLibrary by android.view.textclassifier
620LOCAL_REQUIRED_MODULES += libtextclassifier
621
Joe Onorato1754d742016-11-21 17:51:35 -0800622LOCAL_PROTOC_OPTIMIZE_TYPE := stream
623LOCAL_PROTOC_FLAGS := \
624 -Iexternal/protobuf/src
625
Bart Searsa8cc0582015-05-07 03:23:20 +0000626LOCAL_MODULE := framework
627
Colin Crossbe2d3302016-12-21 16:48:32 -0800628LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000629LOCAL_JACK_FLAGS := --multi-dex native
630
631LOCAL_RMTYPEDEFS := true
632
Allen Hair0e4f0142016-06-27 17:01:50 -0700633ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
634LOCAL_EMMA_INSTRUMENT := true
635endif
636
Bart Searsa8cc0582015-05-07 03:23:20 +0000637include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700638
Bart Searsa8cc0582015-05-07 03:23:20 +0000639framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000640$(framework_module): | $(dir $(framework_module))framework-res.apk
641
642framework_built := $(call java-lib-deps,framework)
643
644# Copy AIDL files to be preprocessed and included in the SDK,
645# specified relative to the root of the build tree.
646# ============================================================
647include $(CLEAR_VARS)
648
649aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800650 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800651 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
652 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
653 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800654 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000655 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
656 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
657 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
658 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
659 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
660 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700661 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800662 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
663 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700664 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000665 frameworks/base/location/java/android/location/Location.aidl \
666 frameworks/base/location/java/android/location/Address.aidl \
667 frameworks/base/location/java/android/location/Criteria.aidl \
668 frameworks/base/media/java/android/media/MediaMetadata.aidl \
669 frameworks/base/media/java/android/media/MediaDescription.aidl \
670 frameworks/base/media/java/android/media/Rating.aidl \
671 frameworks/base/media/java/android/media/AudioAttributes.aidl \
672 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
673 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
674 frameworks/base/media/java/android/media/session/MediaSession.aidl \
675 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
676 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
677 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
678 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700679 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
680 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
681 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000682 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
683 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
684 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
685 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
686 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
687 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
688 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
689 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
690 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800691 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000692 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
693 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
694 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
695 frameworks/base/graphics/java/android/graphics/Region.aidl \
696 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
697 frameworks/base/graphics/java/android/graphics/Point.aidl \
698 frameworks/base/graphics/java/android/graphics/PointF.aidl \
699 frameworks/base/graphics/java/android/graphics/RectF.aidl \
700 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800701 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000702 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
703 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100704 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
705 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
706 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100707 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100708 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000709 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
710 frameworks/base/core/java/android/print/PageRange.aidl \
711 frameworks/base/core/java/android/print/PrintAttributes.aidl \
712 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
713 frameworks/base/core/java/android/print/PrinterId.aidl \
714 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
715 frameworks/base/core/java/android/print/PrinterInfo.aidl \
716 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700717 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700718 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000719 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
720 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
721 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
722 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
723 frameworks/base/core/java/android/os/Messenger.aidl \
724 frameworks/base/core/java/android/os/PatternMatcher.aidl \
725 frameworks/base/core/java/android/os/Message.aidl \
726 frameworks/base/core/java/android/os/UserHandle.aidl \
727 frameworks/base/core/java/android/os/ParcelUuid.aidl \
728 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
729 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000730 frameworks/base/core/java/android/os/WorkSource.aidl \
731 frameworks/base/core/java/android/os/DropBoxManager.aidl \
732 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700733 frameworks/base/core/java/android/os/Debug.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700734 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000735 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
736 frameworks/base/core/java/android/net/Network.aidl \
737 frameworks/base/core/java/android/net/RouteInfo.aidl \
738 frameworks/base/core/java/android/net/NetworkInfo.aidl \
739 frameworks/base/core/java/android/net/IpPrefix.aidl \
740 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
741 frameworks/base/core/java/android/net/DhcpInfo.aidl \
742 frameworks/base/core/java/android/net/ProxyInfo.aidl \
743 frameworks/base/core/java/android/net/LinkProperties.aidl \
744 frameworks/base/core/java/android/net/Uri.aidl \
745 frameworks/base/core/java/android/net/NetworkRequest.aidl \
746 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700747 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700748 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000749 frameworks/base/core/java/android/view/InputDevice.aidl \
750 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800751 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700752 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000753 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
754 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
755 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
756 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
757 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
758 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
759 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
760 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
761 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
762 frameworks/base/core/java/android/view/DragEvent.aidl \
763 frameworks/base/core/java/android/view/KeyEvent.aidl \
764 frameworks/base/core/java/android/view/WindowManager.aidl \
765 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
766 frameworks/base/core/java/android/view/MotionEvent.aidl \
767 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
768 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
769 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
770 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
771 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
772 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
773 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
774 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
775 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
776 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
777 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700778 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800779 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700780 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500781 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
782 frameworks/base/core/java/android/service/notification/Condition.aidl \
783 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000784 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
785 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700786 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000787 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800788 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700789 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700790 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000791 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000792 frameworks/base/core/java/android/app/Notification.aidl \
793 frameworks/base/core/java/android/app/NotificationManager.aidl \
794 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
795 frameworks/base/core/java/android/app/AppOpsManager.aidl \
796 frameworks/base/core/java/android/app/ActivityManager.aidl \
797 frameworks/base/core/java/android/app/PendingIntent.aidl \
798 frameworks/base/core/java/android/app/AlarmManager.aidl \
799 frameworks/base/core/java/android/app/SearchableInfo.aidl \
800 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700801 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
802 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000803 frameworks/base/core/java/android/app/job/JobParameters.aidl \
804 frameworks/base/core/java/android/app/job/JobInfo.aidl \
805 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
806 frameworks/base/core/java/android/content/ClipDescription.aidl \
807 frameworks/base/core/java/android/content/IntentFilter.aidl \
808 frameworks/base/core/java/android/content/Intent.aidl \
809 frameworks/base/core/java/android/content/res/Configuration.aidl \
810 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
811 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
812 frameworks/base/core/java/android/content/ClipData.aidl \
813 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
814 frameworks/base/core/java/android/content/SyncRequest.aidl \
815 frameworks/base/core/java/android/content/PeriodicSync.aidl \
816 frameworks/base/core/java/android/content/SyncResult.aidl \
817 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
818 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
819 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
820 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
821 frameworks/base/core/java/android/content/pm/Signature.aidl \
822 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
823 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
824 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700825 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000826 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
827 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
828 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
829 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
830 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800831 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000832 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
833 frameworks/base/core/java/android/content/ComponentName.aidl \
834 frameworks/base/core/java/android/content/SyncStats.aidl \
835 frameworks/base/core/java/android/content/ContentValues.aidl \
836 frameworks/base/core/java/android/content/SyncInfo.aidl \
837 frameworks/base/core/java/android/content/IntentSender.aidl \
838 frameworks/base/core/java/android/widget/RemoteViews.aidl \
839 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
840 frameworks/base/core/java/android/nfc/Tag.aidl \
841 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
842 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
843 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
844 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
845 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
846 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
847 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
848 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
849 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
850 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500851 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800852 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100853 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700854 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000855
856gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
857$(gen): PRIVATE_SRC_FILES := $(aidl_files)
858ALL_SDK_FILES += $(gen)
859$(gen): $(aidl_files) | $(AIDL)
860 @echo Aidl Preprocess: $@
861 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
862
863# the documentation
864# ============================================================
865
866# TODO: deal with com/google/android/googleapps
867packages_to_document := \
868 android \
869 javax/microedition/khronos \
870 org/apache/http/conn \
871 org/apache/http/params
872
873
874# Search through the base framework dirs for these packages.
875# The result will be relative to frameworks/base.
876fwbase_dirs_to_document := \
Paul Duffin23951792016-11-30 13:29:39 +0000877 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000878 test-runner/src \
879 $(patsubst $(LOCAL_PATH)/%,%, \
880 $(wildcard \
881 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
882 $(addprefix $(dir)/, $(packages_to_document)) \
883 ) \
884 ) \
885 )
886
887# include definition of libcore_to_document
888include libcore/Docs.mk
889
Bart Searsa8cc0582015-05-07 03:23:20 +0000890non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000891 ../opt/telephony/src/java/android/telephony \
892 ../opt/telephony/src/java/android/telephony/gsm \
893 ../opt/net/voip/src/java/android/net/rtp \
894 ../opt/net/voip/src/java/android/net/sip
895
896# These are relative to frameworks/base
897dirs_to_check_apis := \
898 $(fwbase_dirs_to_document) \
899 $(non_base_dirs)
900
George Mountf6be9932015-12-03 07:39:55 -0800901###########################################################
902## Return all directories that have a 'NO_DOCS' file in
903## them, appending a '%' to them to form a pattern to
904## filter out files under those directories.
905## $(1): A list of base directories to look at.
906###########################################################
907define find-no-docs-pattern
908$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
909endef
910
Bart Searsa8cc0582015-05-07 03:23:20 +0000911# These are relative to frameworks/base
912# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
913dirs_to_document := \
914 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700915 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
916 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000917
George Mountf6be9932015-12-03 07:39:55 -0800918patterns_to_not_document := \
919 $(call find-no-docs-pattern, $(dirs_to_document))
920
Bart Searsa8cc0582015-05-07 03:23:20 +0000921# These are relative to frameworks/base
922html_dirs := \
923 $(FRAMEWORKS_BASE_SUBDIRS) \
924 $(non_base_dirs)
925
926# Common sources for doc check and api check
927common_src_files := \
928 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000929 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000930
931# These are relative to frameworks/base
932framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800933 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000934 $(common_src_files)
935
936# These are relative to frameworks/base
937framework_docs_LOCAL_API_CHECK_SRC_FILES := \
938 $(call find-other-java-files, $(dirs_to_check_apis)) \
939 $(common_src_files)
940
941# This is used by ide.mk as the list of source files that are
942# always included.
943INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
944
945framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
946 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
947
948framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
949 $(framework_res_source_path)/android/R.java \
950 $(framework_res_source_path)/android/Manifest.java \
951 $(framework_res_source_path)/com/android/internal/R.java
952
953framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000954 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000955 core-libart \
956 conscrypt \
957 bouncycastle \
958 okhttp \
959 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100960 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000961 framework \
Bart Searsa8cc0582015-05-07 03:23:20 +0000962 voip-common
963
964framework_docs_LOCAL_JAVA_LIBRARIES := \
965 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
966 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
967
968framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
969framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
970# The since flag (-since N.xml API_LEVEL) is used to add API Level information
971# to the reference documentation. Must be in order of oldest to newest.
972#
973# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
974# not be referenced in the documentation.
975framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600976 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +0000977 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100978 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -0600979 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +0000980 -hidePackage com.android.org.conscrypt \
981 -since $(SRC_API_DIR)/1.xml 1 \
982 -since $(SRC_API_DIR)/2.xml 2 \
983 -since $(SRC_API_DIR)/3.xml 3 \
984 -since $(SRC_API_DIR)/4.xml 4 \
985 -since $(SRC_API_DIR)/5.xml 5 \
986 -since $(SRC_API_DIR)/6.xml 6 \
987 -since $(SRC_API_DIR)/7.xml 7 \
988 -since $(SRC_API_DIR)/8.xml 8 \
989 -since $(SRC_API_DIR)/9.xml 9 \
990 -since $(SRC_API_DIR)/10.xml 10 \
991 -since $(SRC_API_DIR)/11.xml 11 \
992 -since $(SRC_API_DIR)/12.xml 12 \
993 -since $(SRC_API_DIR)/13.xml 13 \
994 -since $(SRC_API_DIR)/14.txt 14 \
995 -since $(SRC_API_DIR)/15.txt 15 \
996 -since $(SRC_API_DIR)/16.txt 16 \
997 -since $(SRC_API_DIR)/17.txt 17 \
998 -since $(SRC_API_DIR)/18.txt 18 \
999 -since $(SRC_API_DIR)/19.txt 19 \
1000 -since $(SRC_API_DIR)/20.txt 20 \
1001 -since $(SRC_API_DIR)/21.txt 21 \
1002 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001003 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001004 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001005 -since $(SRC_API_DIR)/25.txt 25 \
Scott Main05b99262017-02-23 14:51:06 -08001006 -since ./frameworks/base/api/current.txt O \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001007 -werror -hide 111 -hide 113 -hide 121 \
1008 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001009
Alan Viveretteba6a9162017-03-10 15:09:33 -05001010# Allow the support library to add its own droiddoc options.
1011include $(LOCAL_PATH)/../support/droiddoc.mk
Alan Viverette38b50532017-02-24 10:29:48 -05001012
Bart Searsa8cc0582015-05-07 03:23:20 +00001013framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1014 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1015
1016framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
1017 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
1018 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
1019 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
1020
1021framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001022 frameworks/base/docs/knowntags.txt \
1023 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +00001024
1025samples_dir := development/samples/browseable
1026
1027# Whitelist of valid groups, used for default TOC grouping. Each sample must
1028# belong to one (and only one) group. Assign samples to groups by setting
1029# a sample.group var to one of these groups in the sample's _index.jd.
1030sample_groups := -samplegroup Admin \
1031 -samplegroup Background \
1032 -samplegroup Connectivity \
1033 -samplegroup Content \
1034 -samplegroup Input \
1035 -samplegroup Media \
1036 -samplegroup Notification \
1037 -samplegroup RenderScript \
1038 -samplegroup Security \
1039 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001040 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001041 -samplegroup Testing \
1042 -samplegroup UI \
1043 -samplegroup Views \
1044 -samplegroup Wearable
1045
1046## SDK version identifiers used in the published docs
1047 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001048framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001049 # release version (ie "Release x") (full releases only)
1050framework_docs_SDK_REL_ID:=1
1051
1052framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001053 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001054 -hdf sdk.codename O \
1055 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001056 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1057 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001058 -hdf sdk.preview 0 \
1059 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1060 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001061
1062# ==== the api stubs and current.xml ===========================
1063include $(CLEAR_VARS)
1064
1065LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1066LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1067LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1068LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1069LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1070LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1071LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1072LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1073
1074LOCAL_MODULE := api-stubs
1075
Ying Wang0f92a2e2015-07-16 14:20:22 -07001076LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1077
Bart Searsa8cc0582015-05-07 03:23:20 +00001078LOCAL_DROIDDOC_OPTIONS:=\
1079 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001080 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001081 -api $(INTERNAL_PLATFORM_API_FILE) \
1082 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1083 -nodocs
1084
Scott Main15b85172017-02-21 14:30:58 -08001085LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001086
1087LOCAL_UNINSTALLABLE_MODULE := true
1088
1089include $(BUILD_DROIDDOC)
1090
1091# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1092$(full_target): $(framework_built) $(gen)
1093$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1094$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1095
1096# ==== the system api stubs ===================================
1097include $(CLEAR_VARS)
1098
1099LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1100LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1101LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1102LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1103LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1104LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1105LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1106LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1107
1108LOCAL_MODULE := system-api-stubs
1109
Ying Wang0f92a2e2015-07-16 14:20:22 -07001110LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1111
Bart Searsa8cc0582015-05-07 03:23:20 +00001112LOCAL_DROIDDOC_OPTIONS:=\
1113 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001114 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001115 -showAnnotation android.annotation.SystemApi \
1116 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1117 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001118 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001119 -nodocs
1120
Scott Main15b85172017-02-21 14:30:58 -08001121LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001122
1123LOCAL_UNINSTALLABLE_MODULE := true
1124
1125include $(BUILD_DROIDDOC)
1126
1127# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1128$(full_target): $(framework_built) $(gen)
1129$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1130$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1131
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001132# ==== the test api stubs ===================================
1133include $(CLEAR_VARS)
1134
1135LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1136LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1137LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1138LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1139LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1140LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1141LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1142LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1143
1144LOCAL_MODULE := test-api-stubs
1145
1146LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1147
1148LOCAL_DROIDDOC_OPTIONS:=\
1149 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001150 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001151 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1152 -showAnnotation android.annotation.TestApi \
1153 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1154 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001155 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001156 -nodocs
1157
Scott Main15b85172017-02-21 14:30:58 -08001158LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001159
1160LOCAL_UNINSTALLABLE_MODULE := true
1161
1162include $(BUILD_DROIDDOC)
1163
1164# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1165$(full_target): $(framework_built) $(gen)
1166$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1167$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1168
Bart Searsa8cc0582015-05-07 03:23:20 +00001169# ==== check javadoc comments but don't generate docs ========
1170include $(CLEAR_VARS)
1171
1172LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1173LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1174LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1175LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1176LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1177LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1178LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1179LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1180
1181LOCAL_MODULE := doc-comment-check
1182
1183LOCAL_DROIDDOC_OPTIONS:=\
1184 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001185 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001186 -parsecomments
1187
Scott Main15b85172017-02-21 14:30:58 -08001188LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001189
1190LOCAL_UNINSTALLABLE_MODULE := true
1191
1192include $(BUILD_DROIDDOC)
1193
1194# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1195$(full_target): $(framework_built) $(gen)
1196
1197# Run this for checkbuild
1198checkbuild: doc-comment-check-docs
1199# Check comment when you are updating the API
1200update-api: doc-comment-check-docs
1201
1202# ==== static html in the sdk ==================================
1203include $(CLEAR_VARS)
1204
1205LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1206LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1207LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1208LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1209LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1210LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1211LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1212LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1213
1214LOCAL_MODULE := offline-sdk
1215
1216LOCAL_DROIDDOC_OPTIONS:=\
1217 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1218 -offlinemode \
1219 -title "Android SDK" \
1220 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001221 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001222 -hdf android.whichdoc offline
1223
Scott Main15b85172017-02-21 14:30:58 -08001224LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001225
1226include $(BUILD_DROIDDOC)
1227
1228static_doc_index_redirect := $(out_dir)/index.html
1229$(static_doc_index_redirect): \
1230 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1231 $(hide) mkdir -p $(dir $@)
1232 $(hide) $(ACP) $< $@
1233
1234$(full_target): $(static_doc_index_redirect)
1235$(full_target): $(framework_built)
1236
1237
1238# ==== static html in the sdk ==================================
1239include $(CLEAR_VARS)
1240
1241LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1242LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1243LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1244LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1245LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1246LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1247LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1248LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1249
1250LOCAL_MODULE := offline-sdk-referenceonly
1251
1252LOCAL_DROIDDOC_OPTIONS:=\
1253 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1254 -offlinemode \
1255 -title "Android SDK" \
1256 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1257 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001258 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001259 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001260
Scott Main15b85172017-02-21 14:30:58 -08001261LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001262
1263include $(BUILD_DROIDDOC)
1264
1265static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001266$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001267 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001268
smain@google.com2f2365d2016-09-21 14:05:50 -07001269static_doc_properties := $(out_dir)/source.properties
1270$(static_doc_properties): \
1271 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1272 $(hide) mkdir -p $(dir $@)
1273 $(hide) $(ACP) $< $@
1274
smain@google.com00de8c52016-03-07 18:38:08 -08001275$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001276$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001277$(full_target): $(framework_built)
1278
smain@google.com7aca8be2016-03-10 14:13:30 -08001279
Bart Searsa8cc0582015-05-07 03:23:20 +00001280# ==== docs for the web (on the androiddevdocs app engine server) =======================
1281include $(CLEAR_VARS)
1282
1283LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1284LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1285LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1286LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1287LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1288LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1289LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1290LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1291LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1292LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1293
1294LOCAL_MODULE := online-sdk
1295
1296LOCAL_DROIDDOC_OPTIONS:= \
1297 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1298 -toroot / \
1299 -hdf android.whichdoc online \
1300 $(sample_groups) \
1301 -hdf android.hasSamples true \
1302 -samplesdir $(samples_dir)
1303
Scott Main15b85172017-02-21 14:30:58 -08001304LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001305
1306include $(BUILD_DROIDDOC)
1307
1308# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001309include $(CLEAR_VARS)
1310
1311LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1312LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1313LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1314LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1315LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1316LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1317LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1318LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1319LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1320LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1321
1322LOCAL_MODULE := online-system-api-sdk
1323
1324LOCAL_DROIDDOC_OPTIONS:= \
1325 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001326 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001327 -showAnnotation android.annotation.SystemApi \
1328 -title "Android SDK - Including system APIs." \
1329 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001330 -hide 101 \
1331 -hide 104 \
1332 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001333 -hdf android.whichdoc online \
1334 $(sample_groups) \
1335 -hdf android.hasSamples true \
1336 -samplesdir $(samples_dir)
1337
Scott Main15b85172017-02-21 14:30:58 -08001338LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001339
Bart Searsa8cc0582015-05-07 03:23:20 +00001340LOCAL_UNINSTALLABLE_MODULE := true
1341
1342include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001343
1344# ==== docs for the web (on the devsite app engine server) =======================
1345include $(CLEAR_VARS)
1346LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1347LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1348LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1349LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1350LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1351LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1352LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1353LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1354LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1355# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001356LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001357
1358LOCAL_MODULE := ds
1359
1360LOCAL_DROIDDOC_OPTIONS:= \
1361 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001362 -toroot / \
1363 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001364 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001365 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001366 -hdf android.hasSamples true \
1367 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001368
Scott Main15b85172017-02-21 14:30:58 -08001369LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001370
1371include $(BUILD_DROIDDOC)
1372
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001373# ==== docs for the web (on the devsite app engine server) =======================
1374include $(CLEAR_VARS)
1375LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1376LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1377LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1378LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1379LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1380LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1381LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1382LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1383LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1384# specify a second html input dir and an output path relative to OUT_DIR)
1385LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1386
1387LOCAL_MODULE := ds-static
1388
1389LOCAL_DROIDDOC_OPTIONS:= \
1390 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1391 -hdf android.whichdoc online \
1392 -staticonly \
1393 -toroot / \
1394 -devsite \
1395 -ignoreJdLinks
1396
Scott Main15b85172017-02-21 14:30:58 -08001397LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001398
1399include $(BUILD_DROIDDOC)
1400
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001401# ==== generates full navtree for resolving @links in ds postprocessing ====
1402include $(CLEAR_VARS)
1403
1404LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1405LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1406LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1407LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1408LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1409LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1410LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1411LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1412
1413LOCAL_MODULE := ds-ref-navtree
1414
1415LOCAL_DROIDDOC_OPTIONS:= \
1416 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1417 -hdf android.whichdoc online \
1418 -toroot / \
1419 -atLinksNavtree \
1420 -navtreeonly
1421
Scott Main15b85172017-02-21 14:30:58 -08001422LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001423
1424include $(BUILD_DROIDDOC)
1425
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001426# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001427include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001428
Bart Searsa8cc0582015-05-07 03:23:20 +00001429LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1430LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1431LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1432LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1433LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1434LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001435LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001436LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1437LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001438LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001439
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001440LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001441
1442LOCAL_DROIDDOC_OPTIONS:= \
1443 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1444 -toroot / \
1445 -hdf android.whichdoc online \
1446 $(sample_groups) \
1447 -hdf android.hasSamples true \
1448 -samplesdir $(samples_dir)
1449
Scott Main15b85172017-02-21 14:30:58 -08001450LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001451
1452include $(BUILD_DROIDDOC)
1453
Bart Searsa8cc0582015-05-07 03:23:20 +00001454# ==== docs that have all of the stuff that's @hidden =======================
1455include $(CLEAR_VARS)
1456
1457LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1458LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1459LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1460LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1461LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1462LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1463LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1464LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1465
1466LOCAL_MODULE := hidden
1467LOCAL_DROIDDOC_OPTIONS:=\
1468 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001469 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001470 -title "Android SDK - Including hidden APIs."
1471# -hidden
1472
Scott Main15b85172017-02-21 14:30:58 -08001473LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001474
1475include $(BUILD_DROIDDOC)
1476
1477# Build ext.jar
1478# ============================================================
1479
1480ext_dirs := \
1481 ../../external/nist-sip/java \
1482 ../../external/tagsoup/src \
1483
1484ext_src_files := $(call all-java-files-under,$(ext_dirs))
1485
1486# ==== the library =========================================
1487include $(CLEAR_VARS)
1488
1489LOCAL_SRC_FILES := $(ext_src_files)
1490
1491LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001492LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001493LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1494LOCAL_MODULE_TAGS := optional
1495LOCAL_MODULE := ext
1496
Colin Crossbe2d3302016-12-21 16:48:32 -08001497LOCAL_DX_FLAGS := --core-library
1498
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001499ifneq ($(INCREMENTAL_BUILDS),)
1500 LOCAL_PROGUARD_ENABLED := disabled
1501 LOCAL_JACK_ENABLED := incremental
1502endif
1503
Bart Searsa8cc0582015-05-07 03:23:20 +00001504include $(BUILD_JAVA_LIBRARY)
1505
Joe Onorato1754d742016-11-21 17:51:35 -08001506# ==== java proto host library ==============================
1507include $(CLEAR_VARS)
1508LOCAL_MODULE := platformprotos
1509LOCAL_PROTOC_OPTIMIZE_TYPE := full
1510LOCAL_PROTOC_FLAGS := \
1511 -Iexternal/protobuf/src
1512LOCAL_SOURCE_FILES_ALL_GENERATED := true
1513LOCAL_SRC_FILES := \
1514 $(call all-proto-files-under, core/proto) \
1515 $(call all-proto-files-under, libs/incident/proto)
1516include $(BUILD_HOST_JAVA_LIBRARY)
1517
Bart Searsa8cc0582015-05-07 03:23:20 +00001518
1519# Include subdirectory makefiles
1520# ============================================================
1521
1522# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1523# team really wants is to build the stuff defined by this makefile.
1524ifeq (,$(ONE_SHOT_MAKEFILE))
1525include $(call first-makefiles-under,$(LOCAL_PATH))
1526endif
1527
1528endif # ANDROID_BUILD_EMBEDDED