blob: b8ec9797b724dc05dc7e5a561f3493155cd4af0c [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 \
241 core/java/android/net/nsd/INsdManager.aidl \
242 core/java/android/nfc/IAppCallback.aidl \
243 core/java/android/nfc/INfcAdapter.aidl \
244 core/java/android/nfc/INfcAdapterExtras.aidl \
245 core/java/android/nfc/INfcTag.aidl \
246 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900247 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000248 core/java/android/nfc/INfcUnlockHandler.aidl \
Martijn Coenend55def82016-04-14 15:19:31 +0200249 core/java/android/nfc/ITagRemovedCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000250 core/java/android/os/IBatteryPropertiesListener.aidl \
251 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
252 core/java/android/os/ICancellationSignal.aidl \
Svet Ganov37e43272016-09-09 16:01:32 -0700253 core/java/android/os/IDeviceIdentifiersPolicyService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000254 core/java/android/os/IDeviceIdleController.aidl \
Polina Bondarenkof8754ac2016-02-12 20:38:23 +0100255 core/java/android/os/IHardwarePropertiesManager.aidl \
Joe Onorato1754d742016-11-21 17:51:35 -0800256 core/java/android/os/IIncidentManager.aidl \
257 core/java/android/os/IIncidentReportCompletedListener.aidl \
258 core/java/android/os/IIncidentReportStatusListener.aidl \
Yao Chenca5edbb2016-01-13 14:44:36 -0800259 core/java/android/os/IMaintenanceActivityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000260 core/java/android/os/IMessenger.aidl \
261 core/java/android/os/INetworkActivityListener.aidl \
262 core/java/android/os/INetworkManagementService.aidl \
263 core/java/android/os/IPermissionController.aidl \
264 core/java/android/os/IProcessInfoService.aidl \
Jeff Sharkeybd91e2f2016-03-22 15:32:31 -0600265 core/java/android/os/IProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000266 core/java/android/os/IPowerManager.aidl \
Tao Baoe8a403d2015-12-31 07:44:55 -0800267 core/java/android/os/IRecoverySystem.aidl \
268 core/java/android/os/IRecoverySystemProgressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000269 core/java/android/os/IRemoteCallback.aidl \
270 core/java/android/os/ISchedulingPolicyService.aidl \
271 core/java/android/os/IUpdateLock.aidl \
272 core/java/android/os/IUserManager.aidl \
273 core/java/android/os/IVibratorService.aidl \
Sudheer Shanka2250d562016-11-07 15:41:02 -0800274 core/java/android/os/storage/IStorageManager.aidl \
275 core/java/android/os/storage/IStorageEventListener.aidl \
276 core/java/android/os/storage/IStorageShutdownObserver.aidl \
Sudheer Shankaf7341142016-10-18 17:15:18 -0700277 core/java/android/os/storage/IObbActionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000278 core/java/android/security/IKeystoreService.aidl \
Janis Danisevskis8ff1e192016-06-03 11:31:55 -0700279 core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl \
Felipe Leme5381aa42016-10-13 09:02:32 -0700280 core/java/android/service/autofill/IAutoFillService.aidl \
Svet Ganov0f4928f2017-02-02 20:02:51 -0800281 core/java/android/service/autofill/IFillCallback.aidl \
282 core/java/android/service/autofill/ISaveCallback.aidl \
Zach Johnson42ecc9e2015-05-22 15:56:09 -0700283 core/java/android/service/carrier/ICarrierService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000284 core/java/android/service/carrier/ICarrierMessagingCallback.aidl \
285 core/java/android/service/carrier/ICarrierMessagingService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700286 core/java/android/service/euicc/IDeleteSubscriptionCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800287 core/java/android/service/euicc/IDownloadSubscriptionCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700288 core/java/android/service/euicc/IEraseSubscriptionsCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800289 core/java/android/service/euicc/IEuiccService.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700290 core/java/android/service/euicc/IGetDefaultDownloadableSubscriptionListCallback.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800291 core/java/android/service/euicc/IGetDownloadableSubscriptionMetadataCallback.aidl \
292 core/java/android/service/euicc/IGetEidCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700293 core/java/android/service/euicc/IGetEuiccInfoCallback.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700294 core/java/android/service/euicc/IGetEuiccProfileInfoListCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700295 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
296 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000297 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
298 core/java/android/service/notification/INotificationListener.aidl \
299 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
300 core/java/android/service/notification/IConditionListener.aidl \
301 core/java/android/service/notification/IConditionProvider.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700302 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800303 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700304 core/java/android/service/vr/IVrManager.aidl \
305 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000306 core/java/android/print/ILayoutResultCallback.aidl \
307 core/java/android/print/IPrinterDiscoveryObserver.aidl \
308 core/java/android/print/IPrintDocumentAdapter.aidl \
309 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
310 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800311 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700312 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000313 core/java/android/print/IPrintManager.aidl \
314 core/java/android/print/IPrintSpooler.aidl \
315 core/java/android/print/IPrintSpoolerCallbacks.aidl \
316 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700317 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
318 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000319 core/java/android/print/IWriteResultCallback.aidl \
320 core/java/android/printservice/IPrintService.aidl \
321 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800322 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800323 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
324 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
325 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000326 core/java/android/service/dreams/IDreamManager.aidl \
327 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000328 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000329 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
330 core/java/android/service/trust/ITrustAgentService.aidl \
331 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
332 core/java/android/service/voice/IVoiceInteractionService.aidl \
333 core/java/android/service/voice/IVoiceInteractionSession.aidl \
334 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
335 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
336 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
337 core/java/android/service/wallpaper/IWallpaperService.aidl \
338 core/java/android/service/chooser/IChooserTargetService.aidl \
339 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700340 core/java/android/service/resolver/IResolverRankerService.aidl \
341 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000342 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
343 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
344 core/java/android/view/accessibility/IAccessibilityManager.aidl \
345 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000346 core/java/android/view/autofill/IAutoFillManager.aidl \
347 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700348 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000349 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100350 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100351 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000352 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800353 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000354 core/java/android/view/IInputFilter.aidl \
355 core/java/android/view/IInputFilterHost.aidl \
356 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700357 core/java/android/view/IPinnedStackController.aidl \
358 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000359 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupine1571702017-05-24 14:14:44 -0700360 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000361 core/java/android/view/IWindow.aidl \
362 core/java/android/view/IWindowFocusObserver.aidl \
363 core/java/android/view/IWindowId.aidl \
364 core/java/android/view/IWindowManager.aidl \
365 core/java/android/view/IWindowSession.aidl \
366 core/java/android/view/IWindowSessionCallback.aidl \
367 core/java/android/webkit/IWebViewUpdateService.aidl \
368 core/java/android/speech/IRecognitionListener.aidl \
369 core/java/android/speech/IRecognitionService.aidl \
370 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
371 core/java/android/speech/tts/ITextToSpeechService.aidl \
372 core/java/com/android/internal/app/IAppOpsCallback.aidl \
373 core/java/com/android/internal/app/IAppOpsService.aidl \
374 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
375 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800376 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000377 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700378 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000379 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
380 core/java/com/android/internal/app/IVoiceInteractor.aidl \
381 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
382 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
383 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700384 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000385 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
386 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
387 core/java/com/android/internal/backup/IBackupTransport.aidl \
388 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700389 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700390 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700391 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700392 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000393 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
394 core/java/com/android/internal/policy/IKeyguardService.aidl \
395 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800396 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000397 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
398 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
399 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700400 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000401 core/java/com/android/internal/statusbar/IStatusBar.aidl \
402 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
403 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800404 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000405 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
406 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
407 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
408 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700409 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000410 core/java/com/android/internal/view/IInputContext.aidl \
411 core/java/com/android/internal/view/IInputContextCallback.aidl \
412 core/java/com/android/internal/view/IInputMethod.aidl \
413 core/java/com/android/internal/view/IInputMethodClient.aidl \
414 core/java/com/android/internal/view/IInputMethodManager.aidl \
415 core/java/com/android/internal/view/IInputMethodSession.aidl \
416 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700417 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000418 core/java/com/android/internal/widget/ILockSettings.aidl \
419 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
420 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
421 keystore/java/android/security/IKeyChainAliasCallback.aidl \
422 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800423 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000424 location/java/android/location/ICountryDetector.aidl \
425 location/java/android/location/ICountryListener.aidl \
426 location/java/android/location/IFusedProvider.aidl \
427 location/java/android/location/IGeocodeProvider.aidl \
428 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800429 location/java/android/location/IGnssStatusListener.aidl \
430 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800431 location/java/android/location/IGnssMeasurementsListener.aidl \
432 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000433 location/java/android/location/ILocationListener.aidl \
434 location/java/android/location/ILocationManager.aidl \
435 location/java/android/location/IFusedGeofenceHardware.aidl \
436 location/java/android/location/IGpsGeofenceHardware.aidl \
437 location/java/android/location/INetInitiatedListener.aidl \
438 location/java/com/android/internal/location/ILocationProvider.aidl \
439 media/java/android/media/IAudioService.aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800440 ../av/drm/libmediadrm/aidl/android/media/ICas.aidl \
441 ../av/drm/libmediadrm/aidl/android/media/ICasListener.aidl \
442 ../av/drm/libmediadrm/aidl/android/media/IDescrambler.aidl \
443 ../av/drm/libmediadrm/aidl/android/media/IMediaCasService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000444 media/java/android/media/IAudioFocusDispatcher.aidl \
445 media/java/android/media/IAudioRoutesObserver.aidl \
446 media/java/android/media/IMediaHTTPConnection.aidl \
447 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900448 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000449 media/java/android/media/IMediaRouterClient.aidl \
450 media/java/android/media/IMediaRouterService.aidl \
451 media/java/android/media/IMediaScannerListener.aidl \
452 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800453 media/java/android/media/IPlaybackConfigDispatcher.aidl \
454 media/java/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800455 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000456 media/java/android/media/IRemoteDisplayCallback.aidl \
457 media/java/android/media/IRemoteDisplayProvider.aidl \
458 media/java/android/media/IRemoteVolumeController.aidl \
459 media/java/android/media/IRemoteVolumeObserver.aidl \
460 media/java/android/media/IRingtonePlayer.aidl \
461 media/java/android/media/IVolumeController.aidl \
462 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700463 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000464 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700465 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000466 media/java/android/media/midi/IMidiDeviceServer.aidl \
467 media/java/android/media/midi/IMidiManager.aidl \
468 media/java/android/media/projection/IMediaProjection.aidl \
469 media/java/android/media/projection/IMediaProjectionCallback.aidl \
470 media/java/android/media/projection/IMediaProjectionManager.aidl \
471 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
472 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900473 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800474 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900475 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000476 media/java/android/media/session/ISession.aidl \
477 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900478 media/java/android/media/session/ISessionController.aidl \
479 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000480 media/java/android/media/session/ISessionManager.aidl \
481 media/java/android/media/tv/ITvInputClient.aidl \
482 media/java/android/media/tv/ITvInputHardware.aidl \
483 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
484 media/java/android/media/tv/ITvInputManager.aidl \
485 media/java/android/media/tv/ITvInputManagerCallback.aidl \
486 media/java/android/media/tv/ITvInputService.aidl \
487 media/java/android/media/tv/ITvInputServiceCallback.aidl \
488 media/java/android/media/tv/ITvInputSession.aidl \
489 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800490 media/java/android/media/tv/ITvRemoteProvider.aidl \
491 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000492 media/java/android/service/media/IMediaBrowserService.aidl \
493 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800494 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
495 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000496 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
497 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
498 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
499 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
500 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
501 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
502 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
503 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700504 telephony/java/android/telephony/mbms/IMbmsDownloadManagerCallback.aidl \
505 telephony/java/android/telephony/mbms/IMbmsStreamingManagerCallback.aidl \
506 telephony/java/android/telephony/mbms/IDownloadCallback.aidl \
507 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800508 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
509 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000510 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
511 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
512 telephony/java/com/android/ims/internal/IImsConfig.aidl \
513 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
514 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
515 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800516 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800517 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800518 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000519 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800520 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
521 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000522 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
523 telephony/java/com/android/ims/internal/IImsUt.aidl \
524 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
525 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
526 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700527 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
528 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
529 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
530 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
531 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
532 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000533 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liue1ef5102017-05-23 13:07:07 -0700534 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000535 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
536 telephony/java/com/android/internal/telephony/IMms.aidl \
537 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
538 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
539 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
540 telephony/java/com/android/internal/telephony/ISms.aidl \
541 telephony/java/com/android/internal/telephony/ISub.aidl \
542 telephony/java/com/android/internal/telephony/ITelephony.aidl \
543 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
544 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800545 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000546 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700547 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
548 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
549 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000550 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
551 wifi/java/android/net/wifi/IWifiScanner.aidl \
552 wifi/java/android/net/wifi/IRttManager.aidl \
553 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
554 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
555 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500556 core/java/android/service/quicksettings/IQSService.aidl \
557 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000558
Tao Baobdc77362016-01-19 15:52:28 -0800559# The following are native binders that need to go with the native component
560# at system/update_engine/binder_bindings/. Use relative path to refer to them.
561LOCAL_SRC_FILES += \
562 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
563 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
564
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700565LOCAL_SRC_FILES += \
Erik Kline4e37b702016-07-05 11:34:21 +0900566 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700567 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900568
Tao Baobdc77362016-01-19 15:52:28 -0800569LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
570
Robert Quattlebaum4e0c2192017-02-08 12:13:19 -0800571LOCAL_AIDL_INCLUDES += frameworks/base/lowpan/java
572LOCAL_SRC_FILES += \
573 lowpan/java/android/net/lowpan/ILowpanEnergyScanCallback.aidl \
574 lowpan/java/android/net/lowpan/ILowpanNetScanCallback.aidl \
575 lowpan/java/android/net/lowpan/ILowpanInterfaceListener.aidl \
576 lowpan/java/android/net/lowpan/ILowpanInterface.aidl \
577 lowpan/java/android/net/lowpan/ILowpanManagerListener.aidl \
578 lowpan/java/android/net/lowpan/ILowpanManager.aidl
579
Bart Searsa8cc0582015-05-07 03:23:20 +0000580# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800581LOCAL_AIDL_INCLUDES += \
582 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
583 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000584
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800585LOCAL_AIDL_INCLUDES += \
586 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800587 frameworks/av/drm/libmediadrm/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100588 frameworks/native/aidl/gui \
589 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800590
Bart Searsa8cc0582015-05-07 03:23:20 +0000591LOCAL_INTERMEDIATE_SOURCES := \
592 $(framework_res_source_path)/android/R.java \
593 $(framework_res_source_path)/android/Manifest.java \
594 $(framework_res_source_path)/com/android/internal/R.java
595
Colin Crossc558dd92016-08-31 18:01:06 -0700596# Make sure that R.java and Manifest.java are built before we build
597# the source for this library.
598framework_res_R_stamp := \
599 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
600LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
601
Bart Searsa8cc0582015-05-07 03:23:20 +0000602LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000603LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700604
605LOCAL_STATIC_JAVA_LIBRARIES := \
606 framework-protos \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700607 android.hardware.health-V1.0-java-constants \
608 android.hardware.thermal-V1.0-java-constants \
609 android.hardware.tv.input-V1.0-java-constants \
610 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700611 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700612 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100613 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700614 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000615
Colin Cross9d937df2017-03-21 10:59:07 -0700616# Loaded with System.loadLibrary by android.view.textclassifier
617LOCAL_REQUIRED_MODULES += libtextclassifier
618
Joe Onorato1754d742016-11-21 17:51:35 -0800619LOCAL_PROTOC_OPTIMIZE_TYPE := stream
620LOCAL_PROTOC_FLAGS := \
621 -Iexternal/protobuf/src
622
Bart Searsa8cc0582015-05-07 03:23:20 +0000623LOCAL_MODULE := framework
624
Colin Crossbe2d3302016-12-21 16:48:32 -0800625LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000626LOCAL_JACK_FLAGS := --multi-dex native
627
628LOCAL_RMTYPEDEFS := true
629
Allen Hair0e4f0142016-06-27 17:01:50 -0700630ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
631LOCAL_EMMA_INSTRUMENT := true
632endif
633
Bart Searsa8cc0582015-05-07 03:23:20 +0000634include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700635
Bart Searsa8cc0582015-05-07 03:23:20 +0000636framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000637$(framework_module): | $(dir $(framework_module))framework-res.apk
638
639framework_built := $(call java-lib-deps,framework)
640
641# Copy AIDL files to be preprocessed and included in the SDK,
642# specified relative to the root of the build tree.
643# ============================================================
644include $(CLEAR_VARS)
645
646aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800647 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
648 frameworks/base/telephony/java/android/telephony/mbms/DownloadStatus.aidl \
649 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
650 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
651 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800652 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000653 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
654 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
655 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
656 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
657 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
658 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700659 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800660 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
661 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700662 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000663 frameworks/base/location/java/android/location/Location.aidl \
664 frameworks/base/location/java/android/location/Address.aidl \
665 frameworks/base/location/java/android/location/Criteria.aidl \
666 frameworks/base/media/java/android/media/MediaMetadata.aidl \
667 frameworks/base/media/java/android/media/MediaDescription.aidl \
668 frameworks/base/media/java/android/media/Rating.aidl \
669 frameworks/base/media/java/android/media/AudioAttributes.aidl \
670 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
671 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
672 frameworks/base/media/java/android/media/session/MediaSession.aidl \
673 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
674 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
675 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
676 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700677 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
678 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
679 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000680 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
681 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
682 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
683 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
684 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
685 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
686 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
687 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
688 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800689 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000690 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
691 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
692 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
693 frameworks/base/graphics/java/android/graphics/Region.aidl \
694 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
695 frameworks/base/graphics/java/android/graphics/Point.aidl \
696 frameworks/base/graphics/java/android/graphics/PointF.aidl \
697 frameworks/base/graphics/java/android/graphics/RectF.aidl \
698 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800699 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000700 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
701 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100702 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
703 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
704 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100705 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100706 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000707 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
708 frameworks/base/core/java/android/print/PageRange.aidl \
709 frameworks/base/core/java/android/print/PrintAttributes.aidl \
710 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
711 frameworks/base/core/java/android/print/PrinterId.aidl \
712 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
713 frameworks/base/core/java/android/print/PrinterInfo.aidl \
714 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700715 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700716 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Tomasz Wasilczykc9a1ac72017-05-17 21:29:28 -0700717 frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000718 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
719 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
720 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
721 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
722 frameworks/base/core/java/android/os/Messenger.aidl \
723 frameworks/base/core/java/android/os/PatternMatcher.aidl \
724 frameworks/base/core/java/android/os/Message.aidl \
725 frameworks/base/core/java/android/os/UserHandle.aidl \
726 frameworks/base/core/java/android/os/ParcelUuid.aidl \
727 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
728 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000729 frameworks/base/core/java/android/os/WorkSource.aidl \
730 frameworks/base/core/java/android/os/DropBoxManager.aidl \
731 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700732 frameworks/base/core/java/android/os/Debug.aidl \
John Reckdea6a022017-05-25 17:09:33 -0700733 frameworks/base/core/java/android/os/SharedMemory.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) \
Alan Viverette9ca513e2017-04-05 10:21:58 -0400915 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS))
Bart Searsa8cc0582015-05-07 03:23:20 +0000916
George Mountf6be9932015-12-03 07:39:55 -0800917patterns_to_not_document := \
918 $(call find-no-docs-pattern, $(dirs_to_document))
919
Bart Searsa8cc0582015-05-07 03:23:20 +0000920# These are relative to frameworks/base
921html_dirs := \
922 $(FRAMEWORKS_BASE_SUBDIRS) \
923 $(non_base_dirs)
924
925# Common sources for doc check and api check
926common_src_files := \
927 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000928 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000929
930# These are relative to frameworks/base
931framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800932 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000933 $(common_src_files)
934
935# These are relative to frameworks/base
936framework_docs_LOCAL_API_CHECK_SRC_FILES := \
937 $(call find-other-java-files, $(dirs_to_check_apis)) \
938 $(common_src_files)
939
940# This is used by ide.mk as the list of source files that are
941# always included.
942INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
943
944framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
945 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
946
947framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
948 $(framework_res_source_path)/android/R.java \
949 $(framework_res_source_path)/android/Manifest.java \
950 $(framework_res_source_path)/com/android/internal/R.java
951
952framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000953 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000954 core-libart \
955 conscrypt \
956 bouncycastle \
957 okhttp \
958 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100959 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000960 framework \
Bart Searsa8cc0582015-05-07 03:23:20 +0000961 voip-common
962
Alan Viverette9ca513e2017-04-05 10:21:58 -0400963# Platform docs can refer to Support Library APIs, but we don't actually build
964# them as part of the docs target, so we need to include them on the classpath.
Bart Searsa8cc0582015-05-07 03:23:20 +0000965framework_docs_LOCAL_JAVA_LIBRARIES := \
966 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
967 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
968
969framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
970framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
971# The since flag (-since N.xml API_LEVEL) is used to add API Level information
972# to the reference documentation. Must be in order of oldest to newest.
973#
974# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
975# not be referenced in the documentation.
976framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600977 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +0000978 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100979 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -0600980 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +0000981 -hidePackage com.android.org.conscrypt \
982 -since $(SRC_API_DIR)/1.xml 1 \
983 -since $(SRC_API_DIR)/2.xml 2 \
984 -since $(SRC_API_DIR)/3.xml 3 \
985 -since $(SRC_API_DIR)/4.xml 4 \
986 -since $(SRC_API_DIR)/5.xml 5 \
987 -since $(SRC_API_DIR)/6.xml 6 \
988 -since $(SRC_API_DIR)/7.xml 7 \
989 -since $(SRC_API_DIR)/8.xml 8 \
990 -since $(SRC_API_DIR)/9.xml 9 \
991 -since $(SRC_API_DIR)/10.xml 10 \
992 -since $(SRC_API_DIR)/11.xml 11 \
993 -since $(SRC_API_DIR)/12.xml 12 \
994 -since $(SRC_API_DIR)/13.xml 13 \
995 -since $(SRC_API_DIR)/14.txt 14 \
996 -since $(SRC_API_DIR)/15.txt 15 \
997 -since $(SRC_API_DIR)/16.txt 16 \
998 -since $(SRC_API_DIR)/17.txt 17 \
999 -since $(SRC_API_DIR)/18.txt 18 \
1000 -since $(SRC_API_DIR)/19.txt 19 \
1001 -since $(SRC_API_DIR)/20.txt 20 \
1002 -since $(SRC_API_DIR)/21.txt 21 \
1003 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -07001004 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -07001005 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -07001006 -since $(SRC_API_DIR)/25.txt 25 \
Scott Main05b99262017-02-23 14:51:06 -08001007 -since ./frameworks/base/api/current.txt O \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -06001008 -werror -hide 111 -hide 113 -hide 121 \
1009 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +00001010
1011framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1012 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1013
1014framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
Alan Viverette9ca513e2017-04-05 10:21:58 -04001015 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001016
1017framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001018 frameworks/base/docs/knowntags.txt \
1019 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +00001020
1021samples_dir := development/samples/browseable
1022
1023# Whitelist of valid groups, used for default TOC grouping. Each sample must
1024# belong to one (and only one) group. Assign samples to groups by setting
1025# a sample.group var to one of these groups in the sample's _index.jd.
1026sample_groups := -samplegroup Admin \
1027 -samplegroup Background \
1028 -samplegroup Connectivity \
1029 -samplegroup Content \
1030 -samplegroup Input \
1031 -samplegroup Media \
1032 -samplegroup Notification \
1033 -samplegroup RenderScript \
1034 -samplegroup Security \
1035 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001036 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001037 -samplegroup Testing \
1038 -samplegroup UI \
1039 -samplegroup Views \
1040 -samplegroup Wearable
1041
1042## SDK version identifiers used in the published docs
1043 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001044framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001045 # release version (ie "Release x") (full releases only)
1046framework_docs_SDK_REL_ID:=1
1047
1048framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001049 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001050 -hdf sdk.codename O \
1051 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001052 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1053 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001054 -hdf sdk.preview 0 \
1055 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1056 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001057
Alan Viverette9ca513e2017-04-05 10:21:58 -04001058# Federate Support Library references against local API file.
1059framework_docs_LOCAL_DROIDDOC_OPTIONS += \
1060 -federate SupportLib https://developer.android.com \
1061 -federationapi SupportLib prebuilts/sdk/current/support-api.txt
1062
Bart Searsa8cc0582015-05-07 03:23:20 +00001063# ==== the api stubs and current.xml ===========================
1064include $(CLEAR_VARS)
1065
1066LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1067LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1068LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1069LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1070LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1071LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1072LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1073LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1074
1075LOCAL_MODULE := api-stubs
1076
Ying Wang0f92a2e2015-07-16 14:20:22 -07001077LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1078
Bart Searsa8cc0582015-05-07 03:23:20 +00001079LOCAL_DROIDDOC_OPTIONS:=\
1080 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001081 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001082 -api $(INTERNAL_PLATFORM_API_FILE) \
1083 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1084 -nodocs
1085
Scott Main15b85172017-02-21 14:30:58 -08001086LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001087
1088LOCAL_UNINSTALLABLE_MODULE := true
1089
1090include $(BUILD_DROIDDOC)
1091
1092# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1093$(full_target): $(framework_built) $(gen)
1094$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1095$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1096
1097# ==== the system api stubs ===================================
1098include $(CLEAR_VARS)
1099
1100LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1101LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1102LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1103LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1104LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1105LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1106LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1107LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1108
1109LOCAL_MODULE := system-api-stubs
1110
Ying Wang0f92a2e2015-07-16 14:20:22 -07001111LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1112
Bart Searsa8cc0582015-05-07 03:23:20 +00001113LOCAL_DROIDDOC_OPTIONS:=\
1114 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001115 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001116 -showAnnotation android.annotation.SystemApi \
1117 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1118 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001119 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001120 -nodocs
1121
Scott Main15b85172017-02-21 14:30:58 -08001122LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001123
1124LOCAL_UNINSTALLABLE_MODULE := true
1125
1126include $(BUILD_DROIDDOC)
1127
1128# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1129$(full_target): $(framework_built) $(gen)
1130$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1131$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1132
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001133# ==== the test api stubs ===================================
1134include $(CLEAR_VARS)
1135
1136LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1137LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1138LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1139LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1140LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1141LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1142LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1143LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1144
1145LOCAL_MODULE := test-api-stubs
1146
1147LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1148
1149LOCAL_DROIDDOC_OPTIONS:=\
1150 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001151 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001152 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1153 -showAnnotation android.annotation.TestApi \
1154 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1155 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001156 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001157 -nodocs
1158
Scott Main15b85172017-02-21 14:30:58 -08001159LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001160
1161LOCAL_UNINSTALLABLE_MODULE := true
1162
1163include $(BUILD_DROIDDOC)
1164
1165# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1166$(full_target): $(framework_built) $(gen)
1167$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1168$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1169
Bart Searsa8cc0582015-05-07 03:23:20 +00001170# ==== check javadoc comments but don't generate docs ========
1171include $(CLEAR_VARS)
1172
1173LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1174LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1175LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1176LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1177LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1178LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1179LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1180LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1181
1182LOCAL_MODULE := doc-comment-check
1183
1184LOCAL_DROIDDOC_OPTIONS:=\
1185 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001186 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001187 -parsecomments
1188
Scott Main15b85172017-02-21 14:30:58 -08001189LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001190
1191LOCAL_UNINSTALLABLE_MODULE := true
1192
1193include $(BUILD_DROIDDOC)
1194
1195# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1196$(full_target): $(framework_built) $(gen)
1197
1198# Run this for checkbuild
1199checkbuild: doc-comment-check-docs
1200# Check comment when you are updating the API
1201update-api: doc-comment-check-docs
1202
1203# ==== static html in the sdk ==================================
1204include $(CLEAR_VARS)
1205
1206LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1207LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1208LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1209LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1210LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1211LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1212LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1213LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1214
1215LOCAL_MODULE := offline-sdk
1216
1217LOCAL_DROIDDOC_OPTIONS:=\
1218 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1219 -offlinemode \
1220 -title "Android SDK" \
1221 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001222 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001223 -hdf android.whichdoc offline
1224
Scott Main15b85172017-02-21 14:30:58 -08001225LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001226
1227include $(BUILD_DROIDDOC)
1228
1229static_doc_index_redirect := $(out_dir)/index.html
1230$(static_doc_index_redirect): \
1231 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1232 $(hide) mkdir -p $(dir $@)
1233 $(hide) $(ACP) $< $@
1234
1235$(full_target): $(static_doc_index_redirect)
1236$(full_target): $(framework_built)
1237
1238
1239# ==== static html in the sdk ==================================
1240include $(CLEAR_VARS)
1241
1242LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1243LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1244LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1245LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1246LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1247LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1248LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1249LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1250
1251LOCAL_MODULE := offline-sdk-referenceonly
1252
1253LOCAL_DROIDDOC_OPTIONS:=\
1254 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1255 -offlinemode \
1256 -title "Android SDK" \
1257 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1258 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001259 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001260 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001261
Scott Main15b85172017-02-21 14:30:58 -08001262LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001263
1264include $(BUILD_DROIDDOC)
1265
1266static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001267$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001268 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001269
smain@google.com2f2365d2016-09-21 14:05:50 -07001270static_doc_properties := $(out_dir)/source.properties
1271$(static_doc_properties): \
1272 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1273 $(hide) mkdir -p $(dir $@)
1274 $(hide) $(ACP) $< $@
1275
smain@google.com00de8c52016-03-07 18:38:08 -08001276$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001277$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001278$(full_target): $(framework_built)
1279
smain@google.com7aca8be2016-03-10 14:13:30 -08001280
Bart Searsa8cc0582015-05-07 03:23:20 +00001281# ==== docs for the web (on the androiddevdocs app engine server) =======================
1282include $(CLEAR_VARS)
1283
1284LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1285LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1286LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1287LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1288LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1289LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1290LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1291LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1292LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1293LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1294
1295LOCAL_MODULE := online-sdk
1296
1297LOCAL_DROIDDOC_OPTIONS:= \
1298 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1299 -toroot / \
1300 -hdf android.whichdoc online \
1301 $(sample_groups) \
1302 -hdf android.hasSamples true \
1303 -samplesdir $(samples_dir)
1304
Scott Main15b85172017-02-21 14:30:58 -08001305LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001306
1307include $(BUILD_DROIDDOC)
1308
1309# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001310include $(CLEAR_VARS)
1311
1312LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1313LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1314LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1315LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1316LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1317LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1318LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1319LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1320LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1321LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1322
1323LOCAL_MODULE := online-system-api-sdk
1324
1325LOCAL_DROIDDOC_OPTIONS:= \
1326 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001327 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001328 -showAnnotation android.annotation.SystemApi \
1329 -title "Android SDK - Including system APIs." \
1330 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001331 -hide 101 \
1332 -hide 104 \
1333 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001334 -hdf android.whichdoc online \
1335 $(sample_groups) \
1336 -hdf android.hasSamples true \
1337 -samplesdir $(samples_dir)
1338
Scott Main15b85172017-02-21 14:30:58 -08001339LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001340
Bart Searsa8cc0582015-05-07 03:23:20 +00001341LOCAL_UNINSTALLABLE_MODULE := true
1342
1343include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001344
1345# ==== docs for the web (on the devsite app engine server) =======================
1346include $(CLEAR_VARS)
1347LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1348LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1349LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1350LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1351LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1352LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1353LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1354LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1355LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1356# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001357LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001358
1359LOCAL_MODULE := ds
1360
1361LOCAL_DROIDDOC_OPTIONS:= \
1362 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001363 -toroot / \
1364 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001365 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001366 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001367 -hdf android.hasSamples true \
1368 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001369
Scott Main15b85172017-02-21 14:30:58 -08001370LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001371
1372include $(BUILD_DROIDDOC)
1373
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001374# ==== docs for the web (on the devsite app engine server) =======================
1375include $(CLEAR_VARS)
1376LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1377LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1378LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1379LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1380LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1381LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1382LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1383LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1384LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1385# specify a second html input dir and an output path relative to OUT_DIR)
1386LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1387
1388LOCAL_MODULE := ds-static
1389
1390LOCAL_DROIDDOC_OPTIONS:= \
1391 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1392 -hdf android.whichdoc online \
1393 -staticonly \
1394 -toroot / \
1395 -devsite \
1396 -ignoreJdLinks
1397
Scott Main15b85172017-02-21 14:30:58 -08001398LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001399
1400include $(BUILD_DROIDDOC)
1401
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001402# ==== generates full navtree for resolving @links in ds postprocessing ====
1403include $(CLEAR_VARS)
1404
1405LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1406LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1407LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1408LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1409LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1410LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1411LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1412LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1413
1414LOCAL_MODULE := ds-ref-navtree
1415
1416LOCAL_DROIDDOC_OPTIONS:= \
1417 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1418 -hdf android.whichdoc online \
1419 -toroot / \
1420 -atLinksNavtree \
1421 -navtreeonly
1422
Scott Main15b85172017-02-21 14:30:58 -08001423LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001424
1425include $(BUILD_DROIDDOC)
1426
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001427# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001428include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001429
Bart Searsa8cc0582015-05-07 03:23:20 +00001430LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1431LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1432LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1433LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1434LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1435LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001436LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001437LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1438LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001439LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001440
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001441LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001442
1443LOCAL_DROIDDOC_OPTIONS:= \
1444 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1445 -toroot / \
1446 -hdf android.whichdoc online \
1447 $(sample_groups) \
1448 -hdf android.hasSamples true \
1449 -samplesdir $(samples_dir)
1450
Scott Main15b85172017-02-21 14:30:58 -08001451LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001452
1453include $(BUILD_DROIDDOC)
1454
Bart Searsa8cc0582015-05-07 03:23:20 +00001455# ==== docs that have all of the stuff that's @hidden =======================
1456include $(CLEAR_VARS)
1457
1458LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1459LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1460LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1461LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1462LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1463LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1464LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1465LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1466
1467LOCAL_MODULE := hidden
1468LOCAL_DROIDDOC_OPTIONS:=\
1469 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001470 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001471 -title "Android SDK - Including hidden APIs."
1472# -hidden
1473
Scott Main15b85172017-02-21 14:30:58 -08001474LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001475
1476include $(BUILD_DROIDDOC)
1477
1478# Build ext.jar
1479# ============================================================
1480
1481ext_dirs := \
1482 ../../external/nist-sip/java \
1483 ../../external/tagsoup/src \
1484
1485ext_src_files := $(call all-java-files-under,$(ext_dirs))
1486
1487# ==== the library =========================================
1488include $(CLEAR_VARS)
1489
1490LOCAL_SRC_FILES := $(ext_src_files)
1491
1492LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001493LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001494LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1495LOCAL_MODULE_TAGS := optional
1496LOCAL_MODULE := ext
1497
Colin Crossbe2d3302016-12-21 16:48:32 -08001498LOCAL_DX_FLAGS := --core-library
1499
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001500ifneq ($(INCREMENTAL_BUILDS),)
1501 LOCAL_PROGUARD_ENABLED := disabled
1502 LOCAL_JACK_ENABLED := incremental
1503endif
1504
Bart Searsa8cc0582015-05-07 03:23:20 +00001505include $(BUILD_JAVA_LIBRARY)
1506
Joe Onorato1754d742016-11-21 17:51:35 -08001507# ==== java proto host library ==============================
1508include $(CLEAR_VARS)
1509LOCAL_MODULE := platformprotos
1510LOCAL_PROTOC_OPTIMIZE_TYPE := full
1511LOCAL_PROTOC_FLAGS := \
1512 -Iexternal/protobuf/src
1513LOCAL_SOURCE_FILES_ALL_GENERATED := true
1514LOCAL_SRC_FILES := \
1515 $(call all-proto-files-under, core/proto) \
1516 $(call all-proto-files-under, libs/incident/proto)
1517include $(BUILD_HOST_JAVA_LIBRARY)
1518
Bart Searsa8cc0582015-05-07 03:23:20 +00001519
1520# Include subdirectory makefiles
1521# ============================================================
1522
1523# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1524# team really wants is to build the stuff defined by this makefile.
1525ifeq (,$(ONE_SHOT_MAKEFILE))
1526include $(call first-makefiles-under,$(LOCAL_PATH))
1527endif
1528
1529endif # ANDROID_BUILD_EMBEDDED