blob: 3fcfea94d666cab4702375f012004337a3f424fd [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 \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800117 core/java/android/app/usage/ICacheQuotaService.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700118 core/java/android/app/usage/IStorageStatsManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000119 core/java/android/app/usage/IUsageStatsManager.aidl \
120 core/java/android/bluetooth/IBluetooth.aidl \
121 core/java/android/bluetooth/IBluetoothA2dp.aidl \
122 core/java/android/bluetooth/IBluetoothA2dpSink.aidl \
123 core/java/android/bluetooth/IBluetoothAvrcpController.aidl \
124 core/java/android/bluetooth/IBluetoothCallback.aidl \
125 core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \
126 core/java/android/bluetooth/IBluetoothHeadset.aidl \
127 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
128 core/java/android/bluetooth/IBluetoothHealth.aidl \
129 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
130 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
131 core/java/android/bluetooth/IBluetoothPan.aidl \
132 core/java/android/bluetooth/IBluetoothManager.aidl \
133 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
Joseph Pirozzo631768d2016-09-01 14:19:28 -0700134 core/java/android/bluetooth/IBluetoothMap.aidl \
135 core/java/android/bluetooth/IBluetoothMapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000136 core/java/android/bluetooth/IBluetoothPbap.aidl \
Joseph Pirozzocfa8a642016-03-04 13:02:54 -0800137 core/java/android/bluetooth/IBluetoothPbapClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000138 core/java/android/bluetooth/IBluetoothSap.aidl \
139 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
140 core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \
Ivan Podogov0afe1902016-12-23 11:52:21 +0000141 core/java/android/bluetooth/IBluetoothInputHost.aidl \
Hemant Guptae88fd4b2014-04-18 11:22:45 +0530142 core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000143 core/java/android/bluetooth/IBluetoothGatt.aidl \
Jakub Pawlowskid7116be2017-03-27 12:14:40 -0700144 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
145 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
Jakub Pawlowski5324a142017-01-10 06:15:54 -0800146 core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl \
Jakub Pawlowskia48e0372017-01-16 07:21:01 -0800147 core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
Jakub Pawlowski1b49e6e2016-10-26 13:05:30 -0700148 core/java/android/bluetooth/le/IScannerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000149 core/java/android/content/IClipboard.aidl \
150 core/java/android/content/IContentService.aidl \
151 core/java/android/content/IIntentReceiver.aidl \
152 core/java/android/content/IIntentSender.aidl \
153 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
154 core/java/android/content/IRestrictionsManager.aidl \
155 core/java/android/content/ISyncAdapter.aidl \
156 core/java/android/content/ISyncContext.aidl \
157 core/java/android/content/ISyncServiceAdapter.aidl \
158 core/java/android/content/ISyncStatusObserver.aidl \
MÃ¥rten Kongstadeabc9e92015-12-15 16:40:23 +0100159 core/java/android/content/om/IOverlayManager.aidl \
Calin Juravle3d2af7f2017-04-19 19:56:21 -0700160 core/java/android/content/pm/IDexModuleRegisterCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000161 core/java/android/content/pm/ILauncherApps.aidl \
162 core/java/android/content/pm/IOnAppsChangedListener.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800163 core/java/android/content/pm/IOnPermissionsChangeListener.aidl \
Andreas Gampea8908752015-11-10 08:58:14 -0800164 core/java/android/content/pm/IOtaDexopt.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000165 core/java/android/content/pm/IPackageDataObserver.aidl \
166 core/java/android/content/pm/IPackageDeleteObserver.aidl \
167 core/java/android/content/pm/IPackageDeleteObserver2.aidl \
168 core/java/android/content/pm/IPackageInstallObserver.aidl \
169 core/java/android/content/pm/IPackageInstallObserver2.aidl \
170 core/java/android/content/pm/IPackageInstaller.aidl \
171 core/java/android/content/pm/IPackageInstallerCallback.aidl \
172 core/java/android/content/pm/IPackageInstallerSession.aidl \
173 core/java/android/content/pm/IPackageManager.aidl \
174 core/java/android/content/pm/IPackageMoveObserver.aidl \
175 core/java/android/content/pm/IPackageStatsObserver.aidl \
Makoto Onuki2d895c32016-12-02 15:48:40 -0800176 core/java/android/content/pm/IPinItemRequest.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800177 core/java/android/content/pm/IShortcutService.aidl \
Svet Ganovae0e03a2016-02-25 18:22:10 -0800178 core/java/android/content/pm/permission/IRuntimePermissionPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000179 core/java/android/database/IContentObserver.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800180 ../av/camera/aidl/android/hardware/ICameraService.aidl \
181 ../av/camera/aidl/android/hardware/ICameraServiceListener.aidl \
182 ../av/camera/aidl/android/hardware/ICameraServiceProxy.aidl \
183 ../av/camera/aidl/android/hardware/ICamera.aidl \
184 ../av/camera/aidl/android/hardware/ICameraClient.aidl \
185 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceUser.aidl \
186 ../av/camera/aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000187 core/java/android/hardware/IConsumerIrService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000188 core/java/android/hardware/ISerialManager.aidl \
189 core/java/android/hardware/display/IDisplayManager.aidl \
190 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
191 core/java/android/hardware/display/IVirtualDisplayCallback.aidl \
192 core/java/android/hardware/fingerprint/IFingerprintService.aidl \
Jorim Jaggi3a464782015-08-28 16:59:13 -0700193 core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
Phil Weaver27fcd9c2017-01-20 15:57:24 -0800194 core/java/android/hardware/fingerprint/IFingerprintClientActiveCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000195 core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
196 core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
197 core/java/android/hardware/hdmi/IHdmiControlService.aidl \
198 core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \
199 core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \
200 core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \
201 core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \
202 core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \
203 core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \
204 core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
205 core/java/android/hardware/input/IInputManager.aidl \
206 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
Michael Wright39e5e942015-08-19 22:52:47 +0100207 core/java/android/hardware/input/ITabletModeChangedListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000208 core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
destradaa6e2fe752015-06-23 17:25:53 -0700209 core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000210 core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
211 core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
212 core/java/android/hardware/location/IFusedLocationHardware.aidl \
213 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
214 core/java/android/hardware/location/IGeofenceHardware.aidl \
215 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
216 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
Ashutosh Joshi1d1ac542016-01-18 17:19:27 -0800217 core/java/android/hardware/location/IContextHubCallback.aidl \
218 core/java/android/hardware/location/IContextHubService.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700219 core/java/android/hardware/radio/IRadioService.aidl \
220 core/java/android/hardware/radio/ITuner.aidl \
Tomasz Wasilczyk21348172017-04-20 14:02:42 -0700221 core/java/android/hardware/radio/ITunerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000222 core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \
223 core/java/android/hardware/usb/IUsbManager.aidl \
Paul Jensen49e3edf2015-05-22 10:50:39 -0400224 core/java/android/net/ICaptivePortal.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000225 core/java/android/net/IConnectivityManager.aidl \
Hugo Benichieab511b2016-09-09 09:23:47 +0900226 core/java/android/net/IIpConnectivityMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000227 core/java/android/net/IEthernetManager.aidl \
228 core/java/android/net/IEthernetServiceListener.aidl \
Michal Karpinskidd9bb4f2016-10-12 14:59:26 +0100229 core/java/android/net/INetdEventCallback.aidl \
Nathan Harold28084d82017-03-01 18:55:06 -0800230 core/java/android/net/IIpSecService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000231 core/java/android/net/INetworkManagementEventObserver.aidl \
232 core/java/android/net/INetworkPolicyListener.aidl \
233 core/java/android/net/INetworkPolicyManager.aidl \
Jeremy Joslin13978372016-11-28 17:47:35 -0800234 core/java/android/net/INetworkRecommendationProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000235 core/java/android/net/INetworkScoreCache.aidl \
236 core/java/android/net/INetworkScoreService.aidl \
237 core/java/android/net/INetworkStatsService.aidl \
238 core/java/android/net/INetworkStatsSession.aidl \
Lorenzo Colittief7b2a12017-07-10 19:06:57 +0900239 core/java/android/net/ITetheringStatsProvider.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000240 core/java/android/net/nsd/INsdManager.aidl \
241 core/java/android/nfc/IAppCallback.aidl \
242 core/java/android/nfc/INfcAdapter.aidl \
243 core/java/android/nfc/INfcAdapterExtras.aidl \
244 core/java/android/nfc/INfcTag.aidl \
245 core/java/android/nfc/INfcCardEmulation.aidl \
Yoshinobu Itoc52adfe2016-01-22 18:14:18 +0900246 core/java/android/nfc/INfcFCardEmulation.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000247 core/java/android/nfc/INfcUnlockHandler.aidl \
Love Khanna755a8fa2017-05-17 15:52:16 +0530248 core/java/android/nfc/INfcDta.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 Davidson7b69a862017-06-16 15:20:34 -0700295 core/java/android/service/euicc/IRetainSubscriptionsForFactoryResetCallback.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700296 core/java/android/service/euicc/ISwitchToSubscriptionCallback.aidl \
297 core/java/android/service/euicc/IUpdateSubscriptionNicknameCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000298 core/java/android/service/gatekeeper/IGateKeeperService.aidl \
299 core/java/android/service/notification/INotificationListener.aidl \
300 core/java/android/service/notification/IStatusBarNotificationHolder.aidl \
301 core/java/android/service/notification/IConditionListener.aidl \
302 core/java/android/service/notification/IConditionProvider.aidl \
Steven Thomasb70845c2017-03-16 14:32:37 -0700303 core/java/android/service/vr/IPersistentVrStateCallbacks.aidl \
Ruben Brunke24b9a62016-02-16 21:38:24 -0800304 core/java/android/service/vr/IVrListener.aidl \
Ruben Brunkc7be3be2016-04-01 17:07:51 -0700305 core/java/android/service/vr/IVrManager.aidl \
306 core/java/android/service/vr/IVrStateCallbacks.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000307 core/java/android/print/ILayoutResultCallback.aidl \
308 core/java/android/print/IPrinterDiscoveryObserver.aidl \
309 core/java/android/print/IPrintDocumentAdapter.aidl \
310 core/java/android/print/IPrintDocumentAdapterObserver.aidl \
311 core/java/android/print/IPrintJobStateChangeListener.aidl \
Philip P. Moltmann66c96592016-02-24 11:32:43 -0800312 core/java/android/print/IPrintServicesChangeListener.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700313 core/java/android/printservice/recommendation/IRecommendationsChangeListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000314 core/java/android/print/IPrintManager.aidl \
315 core/java/android/print/IPrintSpooler.aidl \
316 core/java/android/print/IPrintSpoolerCallbacks.aidl \
317 core/java/android/print/IPrintSpoolerClient.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700318 core/java/android/printservice/recommendation/IRecommendationServiceCallbacks.aidl \
319 core/java/android/printservice/recommendation/IRecommendationService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000320 core/java/android/print/IWriteResultCallback.aidl \
321 core/java/android/printservice/IPrintService.aidl \
322 core/java/android/printservice/IPrintServiceClient.aidl \
Eugene Susla6ed45d82017-01-22 13:52:51 -0800323 core/java/android/companion/ICompanionDeviceManager.aidl \
Svet Ganovda0acdf2017-02-15 10:28:51 -0800324 core/java/android/companion/ICompanionDeviceDiscoveryService.aidl \
325 core/java/android/companion/ICompanionDeviceDiscoveryServiceCallback.aidl \
326 core/java/android/companion/IFindDeviceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000327 core/java/android/service/dreams/IDreamManager.aidl \
328 core/java/android/service/dreams/IDreamService.aidl \
Andrew Scull3b8b46f2017-02-13 18:12:15 +0000329 core/java/android/service/oemlock/IOemLockService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000330 core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \
331 core/java/android/service/trust/ITrustAgentService.aidl \
332 core/java/android/service/trust/ITrustAgentServiceCallback.aidl \
333 core/java/android/service/voice/IVoiceInteractionService.aidl \
334 core/java/android/service/voice/IVoiceInteractionSession.aidl \
335 core/java/android/service/voice/IVoiceInteractionSessionService.aidl \
336 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
337 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
338 core/java/android/service/wallpaper/IWallpaperService.aidl \
339 core/java/android/service/chooser/IChooserTargetService.aidl \
340 core/java/android/service/chooser/IChooserTargetResult.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700341 core/java/android/service/resolver/IResolverRankerService.aidl \
342 core/java/android/service/resolver/IResolverRankerResult.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000343 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
344 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
345 core/java/android/view/accessibility/IAccessibilityManager.aidl \
346 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
Svet Ganov782043c2017-02-11 00:52:02 +0000347 core/java/android/view/autofill/IAutoFillManager.aidl \
348 core/java/android/view/autofill/IAutoFillManagerClient.aidl \
Felipe Leme4753bb02017-03-22 20:24:00 -0700349 core/java/android/view/autofill/IAutofillWindowPresenter.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000350 core/java/android/view/IApplicationToken.aidl \
Jorim Jaggi2f7d2922015-10-29 13:08:29 +0100351 core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \
Jorim Jaggia6c934e2015-12-21 13:22:31 +0100352 core/java/android/view/IDockedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000353 core/java/android/view/IGraphicsStats.aidl \
John Reckdf1742e2017-01-19 15:56:21 -0800354 core/java/android/view/IGraphicsStatsCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000355 core/java/android/view/IInputFilter.aidl \
356 core/java/android/view/IInputFilterHost.aidl \
357 core/java/android/view/IOnKeyguardExitResult.aidl \
Winson Chung655332c2016-10-31 13:14:28 -0700358 core/java/android/view/IPinnedStackController.aidl \
359 core/java/android/view/IPinnedStackListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000360 core/java/android/view/IRotationWatcher.aidl \
Lucas Dupin1ead7fc2017-05-24 14:14:44 -0700361 core/java/android/view/IWallpaperVisibilityListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000362 core/java/android/view/IWindow.aidl \
363 core/java/android/view/IWindowFocusObserver.aidl \
364 core/java/android/view/IWindowId.aidl \
365 core/java/android/view/IWindowManager.aidl \
366 core/java/android/view/IWindowSession.aidl \
367 core/java/android/view/IWindowSessionCallback.aidl \
368 core/java/android/webkit/IWebViewUpdateService.aidl \
369 core/java/android/speech/IRecognitionListener.aidl \
370 core/java/android/speech/IRecognitionService.aidl \
371 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
372 core/java/android/speech/tts/ITextToSpeechService.aidl \
373 core/java/com/android/internal/app/IAppOpsCallback.aidl \
374 core/java/com/android/internal/app/IAppOpsService.aidl \
375 core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \
376 core/java/com/android/internal/app/IBatteryStats.aidl \
Arunesh Mishraa772e5f2016-01-25 10:33:11 -0800377 core/java/com/android/internal/app/ISoundTriggerService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000378 core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \
Annie Chinecb9f3e2016-06-27 16:01:52 -0700379 core/java/com/android/internal/app/IVoiceInteractionSessionListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000380 core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \
381 core/java/com/android/internal/app/IVoiceInteractor.aidl \
382 core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \
383 core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \
384 core/java/com/android/internal/app/IMediaContainerService.aidl \
Joe Onorato4eb64fd2016-03-21 15:30:09 -0700385 core/java/com/android/internal/app/procstats/IProcessStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000386 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
387 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
388 core/java/com/android/internal/backup/IBackupTransport.aidl \
389 core/java/com/android/internal/backup/IObbBackupService.aidl \
Keun-young Park067cf3e2017-06-05 12:20:41 -0700390 core/java/com/android/internal/car/ICarServiceHelper.aidl \
Yohei Yukawa25e08132016-06-22 16:31:41 -0700391 core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl \
Jorim Jaggi4cfdcf52015-07-09 12:13:59 -0700392 core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \
Jorim Jaggi241ae102016-11-02 21:57:33 -0700393 core/java/com/android/internal/policy/IKeyguardDismissCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000394 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
395 core/java/com/android/internal/policy/IKeyguardService.aidl \
396 core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \
Muyuan Li94ce94e2016-02-24 16:20:54 -0800397 core/java/com/android/internal/policy/IShortcutService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000398 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
399 core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \
400 core/java/com/android/internal/os/IResultReceiver.aidl \
Dianne Hackborn354736e2016-08-22 17:00:05 -0700401 core/java/com/android/internal/os/IShellCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000402 core/java/com/android/internal/statusbar/IStatusBar.aidl \
403 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
404 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
Yohei Yukawa7fa65ee2017-02-08 11:54:05 -0800405 core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000406 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
407 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
408 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
409 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
Vladislav Kaznacheev377c3282016-04-20 14:22:23 -0700410 core/java/com/android/internal/view/IDragAndDropPermissions.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000411 core/java/com/android/internal/view/IInputContext.aidl \
412 core/java/com/android/internal/view/IInputContextCallback.aidl \
413 core/java/com/android/internal/view/IInputMethod.aidl \
414 core/java/com/android/internal/view/IInputMethodClient.aidl \
415 core/java/com/android/internal/view/IInputMethodManager.aidl \
416 core/java/com/android/internal/view/IInputMethodSession.aidl \
417 core/java/com/android/internal/view/IInputSessionCallback.aidl \
Jorim Jaggie8fde5d2016-06-30 23:41:37 -0700418 core/java/com/android/internal/widget/ICheckCredentialProgressCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000419 core/java/com/android/internal/widget/ILockSettings.aidl \
420 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
421 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
422 keystore/java/android/security/IKeyChainAliasCallback.aidl \
423 keystore/java/android/security/IKeyChainService.aidl \
Wyatt Rileycf879db2017-01-12 13:57:38 -0800424 location/java/android/location/IBatchedLocationCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000425 location/java/android/location/ICountryDetector.aidl \
426 location/java/android/location/ICountryListener.aidl \
427 location/java/android/location/IFusedProvider.aidl \
428 location/java/android/location/IGeocodeProvider.aidl \
429 location/java/android/location/IGeofenceProvider.aidl \
Lifu Tang30f95a72016-01-07 23:20:38 -0800430 location/java/android/location/IGnssStatusListener.aidl \
431 location/java/android/location/IGnssStatusProvider.aidl \
Lifu Tang818aa2c2016-02-01 01:52:00 -0800432 location/java/android/location/IGnssMeasurementsListener.aidl \
433 location/java/android/location/IGnssNavigationMessageListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000434 location/java/android/location/ILocationListener.aidl \
435 location/java/android/location/ILocationManager.aidl \
436 location/java/android/location/IFusedGeofenceHardware.aidl \
437 location/java/android/location/IGpsGeofenceHardware.aidl \
438 location/java/android/location/INetInitiatedListener.aidl \
439 location/java/com/android/internal/location/ILocationProvider.aidl \
440 media/java/android/media/IAudioService.aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800441 ../av/drm/libmediadrm/aidl/android/media/ICas.aidl \
442 ../av/drm/libmediadrm/aidl/android/media/ICasListener.aidl \
443 ../av/drm/libmediadrm/aidl/android/media/IDescrambler.aidl \
444 ../av/drm/libmediadrm/aidl/android/media/IMediaCasService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000445 media/java/android/media/IAudioFocusDispatcher.aidl \
446 media/java/android/media/IAudioRoutesObserver.aidl \
447 media/java/android/media/IMediaHTTPConnection.aidl \
448 media/java/android/media/IMediaHTTPService.aidl \
Dongwon Kang2034a4c2015-12-14 21:57:34 +0900449 media/java/android/media/IMediaResourceMonitor.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000450 media/java/android/media/IMediaRouterClient.aidl \
451 media/java/android/media/IMediaRouterService.aidl \
452 media/java/android/media/IMediaScannerListener.aidl \
453 media/java/android/media/IMediaScannerService.aidl \
Jean-Michel Trivi292a6a42016-12-01 08:32:15 -0800454 media/java/android/media/IPlaybackConfigDispatcher.aidl \
455 media/java/android/media/IPlayer.aidl \
Jean-Michel Trivid3c71f02015-12-07 11:59:31 -0800456 media/java/android/media/IRecordingConfigDispatcher.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000457 media/java/android/media/IRemoteDisplayCallback.aidl \
458 media/java/android/media/IRemoteDisplayProvider.aidl \
459 media/java/android/media/IRemoteVolumeController.aidl \
460 media/java/android/media/IRemoteVolumeObserver.aidl \
461 media/java/android/media/IRingtonePlayer.aidl \
462 media/java/android/media/IVolumeController.aidl \
463 media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
Phil Burk7cd06c02015-09-03 14:37:03 -0700464 media/java/android/media/midi/IBluetoothMidiService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000465 media/java/android/media/midi/IMidiDeviceListener.aidl \
Mike Lockwoode0a6ca62015-06-04 13:43:56 -0700466 media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000467 media/java/android/media/midi/IMidiDeviceServer.aidl \
468 media/java/android/media/midi/IMidiManager.aidl \
469 media/java/android/media/projection/IMediaProjection.aidl \
470 media/java/android/media/projection/IMediaProjectionCallback.aidl \
471 media/java/android/media/projection/IMediaProjectionManager.aidl \
472 media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \
473 media/java/android/media/session/IActiveSessionsListener.aidl \
Jaewan Kimbd16f452017-02-03 16:21:38 +0900474 media/java/android/media/session/ICallback.aidl \
Jaewan Kim6e2b01c2017-01-19 16:33:14 -0800475 media/java/android/media/session/IOnMediaKeyListener.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900476 media/java/android/media/session/IOnVolumeKeyLongPressListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000477 media/java/android/media/session/ISession.aidl \
478 media/java/android/media/session/ISessionCallback.aidl \
Jaewan Kim50269362016-12-23 11:22:02 +0900479 media/java/android/media/session/ISessionController.aidl \
480 media/java/android/media/session/ISessionControllerCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000481 media/java/android/media/session/ISessionManager.aidl \
482 media/java/android/media/tv/ITvInputClient.aidl \
483 media/java/android/media/tv/ITvInputHardware.aidl \
484 media/java/android/media/tv/ITvInputHardwareCallback.aidl \
485 media/java/android/media/tv/ITvInputManager.aidl \
486 media/java/android/media/tv/ITvInputManagerCallback.aidl \
487 media/java/android/media/tv/ITvInputService.aidl \
488 media/java/android/media/tv/ITvInputServiceCallback.aidl \
489 media/java/android/media/tv/ITvInputSession.aidl \
490 media/java/android/media/tv/ITvInputSessionCallback.aidl \
Sujith Ramakrishnanb5b86c12016-01-28 16:53:16 -0800491 media/java/android/media/tv/ITvRemoteProvider.aidl \
492 media/java/android/media/tv/ITvRemoteServiceInput.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000493 media/java/android/service/media/IMediaBrowserService.aidl \
494 media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \
Sailesh Nepal1bef3392016-01-24 18:21:53 -0800495 telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \
496 telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000497 telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \
498 telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \
499 telecomm/java/com/android/internal/telecom/IConnectionService.aidl \
500 telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \
501 telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \
502 telecomm/java/com/android/internal/telecom/IInCallService.aidl \
503 telecomm/java/com/android/internal/telecom/ITelecomService.aidl \
504 telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \
Hall Liu563e150c2017-04-25 15:04:26 -0700505 telephony/java/android/telephony/mbms/IMbmsDownloadManagerCallback.aidl \
506 telephony/java/android/telephony/mbms/IMbmsStreamingManagerCallback.aidl \
507 telephony/java/android/telephony/mbms/IDownloadCallback.aidl \
508 telephony/java/android/telephony/mbms/IStreamingServiceCallback.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800509 telephony/java/android/telephony/mbms/vendor/IMbmsDownloadService.aidl \
510 telephony/java/android/telephony/mbms/vendor/IMbmsStreamingService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000511 telephony/java/com/android/ims/internal/IImsCallSession.aidl \
512 telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \
513 telephony/java/com/android/ims/internal/IImsConfig.aidl \
514 telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \
515 telephony/java/com/android/ims/internal/IImsEcbm.aidl \
516 telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800517 telephony/java/com/android/ims/internal/IImsExternalCallStateListener.aidl \
Brad Ebinger15708a32017-01-25 14:26:41 -0800518 telephony/java/com/android/ims/internal/IImsFeatureStatusCallback.aidl \
Anju Mathapatif604fc32016-03-10 12:57:21 -0800519 telephony/java/com/android/ims/internal/IImsMultiEndpoint.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000520 telephony/java/com/android/ims/internal/IImsService.aidl \
Brad Ebinger024aaf22017-01-23 15:17:50 -0800521 telephony/java/com/android/ims/internal/IImsServiceController.aidl \
522 telephony/java/com/android/ims/internal/IImsServiceFeatureListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000523 telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \
524 telephony/java/com/android/ims/internal/IImsUt.aidl \
525 telephony/java/com/android/ims/internal/IImsUtListener.aidl \
526 telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \
527 telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \
Pavel Zhamaitsiakcfedd202016-03-18 16:09:50 -0700528 telephony/java/com/android/ims/internal/uce/uceservice/IUceService.aidl \
529 telephony/java/com/android/ims/internal/uce/uceservice/IUceListener.aidl \
530 telephony/java/com/android/ims/internal/uce/options/IOptionsService.aidl \
531 telephony/java/com/android/ims/internal/uce/options/IOptionsListener.aidl \
532 telephony/java/com/android/ims/internal/uce/presence/IPresenceService.aidl \
533 telephony/java/com/android/ims/internal/uce/presence/IPresenceListener.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000534 telephony/java/com/android/ims/ImsConfigListener.aidl \
Jordan Liu6d783e32017-05-23 13:07:07 -0700535 telephony/java/com/android/internal/telephony/IApnSourceService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000536 telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \
537 telephony/java/com/android/internal/telephony/IMms.aidl \
538 telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \
539 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
540 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
541 telephony/java/com/android/internal/telephony/ISms.aidl \
542 telephony/java/com/android/internal/telephony/ISub.aidl \
543 telephony/java/com/android/internal/telephony/ITelephony.aidl \
544 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
545 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800546 telephony/java/com/android/internal/telephony/euicc/IEuiccController.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000547 wifi/java/android/net/wifi/IWifiManager.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700548 wifi/java/android/net/wifi/aware/IWifiAwareEventCallback.aidl \
549 wifi/java/android/net/wifi/aware/IWifiAwareManager.aidl \
550 wifi/java/android/net/wifi/aware/IWifiAwareDiscoverySessionCallback.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000551 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
552 wifi/java/android/net/wifi/IWifiScanner.aidl \
553 wifi/java/android/net/wifi/IRttManager.aidl \
554 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
555 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
556 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500557 core/java/android/service/quicksettings/IQSService.aidl \
558 core/java/android/service/quicksettings/IQSTileService.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000559
Tao Baobdc77362016-01-19 15:52:28 -0800560# The following are native binders that need to go with the native component
561# at system/update_engine/binder_bindings/. Use relative path to refer to them.
562LOCAL_SRC_FILES += \
563 ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \
564 ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \
565
Felipe Lemefa26a0e2016-10-28 09:32:03 -0700566LOCAL_SRC_FILES += \
Erik Kline4e37b702016-07-05 11:34:21 +0900567 ../../system/netd/server/binder/android/net/INetd.aidl \
Jeff Sharkey740f5232016-12-09 14:31:26 -0700568 ../native/cmds/installd/binder/android/os/IInstalld.aidl \
Erik Kline4e37b702016-07-05 11:34:21 +0900569
Tao Baobdc77362016-01-19 15:52:28 -0800570LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings
571
Bart Searsa8cc0582015-05-07 03:23:20 +0000572# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
Samuel Tan239951a2016-01-05 17:29:43 -0800573LOCAL_AIDL_INCLUDES += \
574 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \
575 frameworks/native/aidl/binder
Bart Searsa8cc0582015-05-07 03:23:20 +0000576
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800577LOCAL_AIDL_INCLUDES += \
578 frameworks/av/camera/aidl \
Chong Zhangc1e701d2017-02-27 16:06:46 -0800579 frameworks/av/drm/libmediadrm/aidl \
Robin Lee10606942016-03-30 18:52:40 +0100580 frameworks/native/aidl/gui \
581 system/netd/server/binder
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800582
Bart Searsa8cc0582015-05-07 03:23:20 +0000583LOCAL_INTERMEDIATE_SOURCES := \
584 $(framework_res_source_path)/android/R.java \
585 $(framework_res_source_path)/android/Manifest.java \
586 $(framework_res_source_path)/com/android/internal/R.java
587
Colin Crossc558dd92016-08-31 18:01:06 -0700588# Make sure that R.java and Manifest.java are built before we build
589# the source for this library.
590framework_res_R_stamp := \
591 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
592LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
593
Bart Searsa8cc0582015-05-07 03:23:20 +0000594LOCAL_NO_STANDARD_LIBRARIES := true
Paul Duffin23951792016-11-30 13:29:39 +0000595LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
Andreas Huberfb7accf2016-10-24 12:36:23 -0700596
597LOCAL_STATIC_JAVA_LIBRARIES := \
598 framework-protos \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700599 android.hardware.health-V1.0-java-constants \
600 android.hardware.thermal-V1.0-java-constants \
601 android.hardware.tv.input-V1.0-java-constants \
602 android.hardware.usb-V1.0-java-constants \
Badhri Jagan Sridharanef4b3032017-04-18 17:56:54 -0700603 android.hardware.usb-V1.1-java-constants \
Andreas Huber4baa03b2017-04-13 10:45:47 -0700604 android.hardware.vibrator-V1.0-java-constants \
Michael Wright57d94d92017-05-31 14:44:45 +0100605 android.hardware.vibrator-V1.1-java-constants \
Etan Cohen486a4112017-06-06 17:03:09 -0700606 android.hardware.wifi-V1.0-java-constants \
Bart Searsa8cc0582015-05-07 03:23:20 +0000607
Colin Cross9d937df2017-03-21 10:59:07 -0700608# Loaded with System.loadLibrary by android.view.textclassifier
609LOCAL_REQUIRED_MODULES += libtextclassifier
610
Joe Onorato1754d742016-11-21 17:51:35 -0800611LOCAL_PROTOC_OPTIMIZE_TYPE := stream
612LOCAL_PROTOC_FLAGS := \
613 -Iexternal/protobuf/src
614
Bart Searsa8cc0582015-05-07 03:23:20 +0000615LOCAL_MODULE := framework
616
Colin Crossbe2d3302016-12-21 16:48:32 -0800617LOCAL_DX_FLAGS := --core-library --multi-dex
Bart Searsa8cc0582015-05-07 03:23:20 +0000618LOCAL_JACK_FLAGS := --multi-dex native
619
620LOCAL_RMTYPEDEFS := true
621
Allen Hair0e4f0142016-06-27 17:01:50 -0700622ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true)
623LOCAL_EMMA_INSTRUMENT := true
624endif
625
Bart Searsa8cc0582015-05-07 03:23:20 +0000626include $(BUILD_JAVA_LIBRARY)
Colin Crossc558dd92016-08-31 18:01:06 -0700627
Bart Searsa8cc0582015-05-07 03:23:20 +0000628framework_module := $(LOCAL_INSTALLED_MODULE)
Bart Searsa8cc0582015-05-07 03:23:20 +0000629$(framework_module): | $(dir $(framework_module))framework-res.apk
630
631framework_built := $(call java-lib-deps,framework)
632
633# Copy AIDL files to be preprocessed and included in the SDK,
634# specified relative to the root of the build tree.
635# ============================================================
636include $(CLEAR_VARS)
637
638aidl_files := \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800639 frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \
640 frameworks/base/telephony/java/android/telephony/mbms/DownloadStatus.aidl \
641 frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \
642 frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \
643 frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \
Robert Greenwalt4dded7a2016-12-05 16:33:32 -0800644 frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000645 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
646 frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \
647 frameworks/base/telephony/java/android/telephony/CellInfo.aidl \
648 frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \
649 frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \
650 frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \
Prerepa Viswanadham5c728992015-05-28 00:12:37 -0700651 frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800652 frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \
653 frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700654 frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000655 frameworks/base/location/java/android/location/Location.aidl \
656 frameworks/base/location/java/android/location/Address.aidl \
657 frameworks/base/location/java/android/location/Criteria.aidl \
658 frameworks/base/media/java/android/media/MediaMetadata.aidl \
659 frameworks/base/media/java/android/media/MediaDescription.aidl \
660 frameworks/base/media/java/android/media/Rating.aidl \
661 frameworks/base/media/java/android/media/AudioAttributes.aidl \
662 frameworks/base/media/java/android/media/AudioFocusInfo.aidl \
663 frameworks/base/media/java/android/media/session/PlaybackState.aidl \
664 frameworks/base/media/java/android/media/session/MediaSession.aidl \
665 frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \
666 frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \
667 frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \
668 frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \
Etan Cohen04133272016-10-26 11:22:06 -0700669 frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \
670 frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \
671 frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000672 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \
673 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \
674 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \
675 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
676 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
677 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \
678 frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \
679 frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \
680 frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \
Vinit Deshpandea772f0c2016-01-27 19:05:24 -0800681 frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000682 frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \
683 frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \
684 frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \
685 frameworks/base/graphics/java/android/graphics/Region.aidl \
686 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
687 frameworks/base/graphics/java/android/graphics/Point.aidl \
688 frameworks/base/graphics/java/android/graphics/PointF.aidl \
689 frameworks/base/graphics/java/android/graphics/RectF.aidl \
690 frameworks/base/graphics/java/android/graphics/Rect.aidl \
Philip P. Moltmannbb9f6862015-12-01 14:44:24 -0800691 frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000692 frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \
693 frameworks/base/core/java/android/accounts/Account.aidl \
Michal Karpinskif77ee4f2016-10-12 16:40:06 +0100694 frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \
695 frameworks/base/core/java/android/app/admin/DnsEvent.aidl \
696 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Rubin Xud86d58c2015-05-05 16:57:37 +0100697 frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \
Andrew Scull5f9e6f32016-08-02 14:22:17 +0100698 frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000699 frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \
700 frameworks/base/core/java/android/print/PageRange.aidl \
701 frameworks/base/core/java/android/print/PrintAttributes.aidl \
702 frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \
703 frameworks/base/core/java/android/print/PrinterId.aidl \
704 frameworks/base/core/java/android/print/PrintJobInfo.aidl \
705 frameworks/base/core/java/android/print/PrinterInfo.aidl \
706 frameworks/base/core/java/android/print/PrintJobId.aidl \
Philip P. Moltmann9dcb86a2016-03-14 14:31:12 -0700707 frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \
Tomasz Wasilczyk347192e2017-04-04 11:13:44 -0700708 frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000709 frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \
710 frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \
711 frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \
712 frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \
713 frameworks/base/core/java/android/os/Messenger.aidl \
714 frameworks/base/core/java/android/os/PatternMatcher.aidl \
715 frameworks/base/core/java/android/os/Message.aidl \
716 frameworks/base/core/java/android/os/UserHandle.aidl \
717 frameworks/base/core/java/android/os/ParcelUuid.aidl \
718 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
719 frameworks/base/core/java/android/os/ResultReceiver.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000720 frameworks/base/core/java/android/os/WorkSource.aidl \
721 frameworks/base/core/java/android/os/DropBoxManager.aidl \
722 frameworks/base/core/java/android/os/Bundle.aidl \
Sudheer Shankacc6418f2016-10-13 12:03:44 -0700723 frameworks/base/core/java/android/os/Debug.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700724 frameworks/base/core/java/android/os/StrictMode.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000725 frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \
726 frameworks/base/core/java/android/net/Network.aidl \
727 frameworks/base/core/java/android/net/RouteInfo.aidl \
728 frameworks/base/core/java/android/net/NetworkInfo.aidl \
729 frameworks/base/core/java/android/net/IpPrefix.aidl \
730 frameworks/base/core/java/android/net/NetworkCapabilities.aidl \
731 frameworks/base/core/java/android/net/DhcpInfo.aidl \
732 frameworks/base/core/java/android/net/ProxyInfo.aidl \
733 frameworks/base/core/java/android/net/LinkProperties.aidl \
734 frameworks/base/core/java/android/net/Uri.aidl \
735 frameworks/base/core/java/android/net/NetworkRequest.aidl \
736 frameworks/base/core/java/android/net/LinkAddress.aidl \
Svet Ganov53a441c2016-04-19 19:38:00 -0700737 frameworks/base/core/java/android/util/MemoryIntArray.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700738 frameworks/base/core/java/android/view/Display.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000739 frameworks/base/core/java/android/view/InputDevice.aidl \
740 frameworks/base/core/java/android/view/InputEvent.aidl \
Eino-Ville Talvala5d2d7782015-12-17 16:50:50 -0800741 frameworks/native/aidl/gui/android/view/Surface.aidl \
P.Y. Laligandb3b9eb32015-05-11 15:02:07 -0700742 frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000743 frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \
744 frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \
745 frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \
746 frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \
747 frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \
748 frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \
749 frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \
750 frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \
751 frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \
752 frameworks/base/core/java/android/view/DragEvent.aidl \
753 frameworks/base/core/java/android/view/KeyEvent.aidl \
754 frameworks/base/core/java/android/view/WindowManager.aidl \
755 frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \
756 frameworks/base/core/java/android/view/MotionEvent.aidl \
757 frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \
758 frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \
759 frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \
760 frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \
761 frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \
762 frameworks/base/core/java/android/view/textservice/TextInfo.aidl \
763 frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \
764 frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \
765 frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \
766 frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \
767 frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \
Jeff Davidson91c3d072017-04-12 12:17:11 -0700768 frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \
Jeff Davidson35cda392017-02-27 09:46:00 -0800769 frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \
Jeff Davidsond02731f2017-04-09 14:31:09 -0700770 frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \
Julia Reynolds22f02b32016-12-01 15:05:13 -0500771 frameworks/base/core/java/android/service/notification/Adjustment.aidl \
772 frameworks/base/core/java/android/service/notification/Condition.aidl \
773 frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000774 frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \
775 frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \
Kang Libbced1c2017-04-05 12:30:55 -0700776 frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000777 frameworks/base/core/java/android/speech/tts/Voice.aidl \
Daniel Nishicf9d19e2017-01-23 14:33:42 -0800778 frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \
Jeff Sharkey8dedad32017-01-09 18:21:21 -0700779 frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \
Jeff Sharkeye8cece92017-01-04 11:33:33 -0700780 frameworks/base/core/java/android/app/usage/StorageStats.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000781 frameworks/base/core/java/android/app/usage/UsageEvents.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000782 frameworks/base/core/java/android/app/Notification.aidl \
783 frameworks/base/core/java/android/app/NotificationManager.aidl \
784 frameworks/base/core/java/android/app/WallpaperInfo.aidl \
785 frameworks/base/core/java/android/app/AppOpsManager.aidl \
786 frameworks/base/core/java/android/app/ActivityManager.aidl \
787 frameworks/base/core/java/android/app/PendingIntent.aidl \
788 frameworks/base/core/java/android/app/AlarmManager.aidl \
789 frameworks/base/core/java/android/app/SearchableInfo.aidl \
790 frameworks/base/core/java/android/app/VoiceInteractor.aidl \
Dianne Hackborn69c6adc2015-06-02 10:52:59 -0700791 frameworks/base/core/java/android/app/assist/AssistContent.aidl \
792 frameworks/base/core/java/android/app/assist/AssistStructure.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000793 frameworks/base/core/java/android/app/job/JobParameters.aidl \
794 frameworks/base/core/java/android/app/job/JobInfo.aidl \
795 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
796 frameworks/base/core/java/android/content/ClipDescription.aidl \
797 frameworks/base/core/java/android/content/IntentFilter.aidl \
798 frameworks/base/core/java/android/content/Intent.aidl \
799 frameworks/base/core/java/android/content/res/Configuration.aidl \
800 frameworks/base/core/java/android/content/res/ObbInfo.aidl \
801 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
802 frameworks/base/core/java/android/content/ClipData.aidl \
803 frameworks/base/core/java/android/content/SyncAdapterType.aidl \
804 frameworks/base/core/java/android/content/SyncRequest.aidl \
805 frameworks/base/core/java/android/content/PeriodicSync.aidl \
806 frameworks/base/core/java/android/content/SyncResult.aidl \
807 frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \
808 frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \
809 frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \
810 frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \
811 frameworks/base/core/java/android/content/pm/Signature.aidl \
812 frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \
813 frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \
814 frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \
Sudheer Shankafc46e9b2016-10-21 17:55:27 -0700815 frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000816 frameworks/base/core/java/android/content/pm/PackageInfo.aidl \
817 frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \
818 frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \
819 frameworks/base/core/java/android/content/pm/PackageStats.aidl \
820 frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \
Makoto Onuki6f7362d92016-03-04 13:39:41 -0800821 frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000822 frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \
823 frameworks/base/core/java/android/content/ComponentName.aidl \
824 frameworks/base/core/java/android/content/SyncStats.aidl \
825 frameworks/base/core/java/android/content/ContentValues.aidl \
826 frameworks/base/core/java/android/content/SyncInfo.aidl \
827 frameworks/base/core/java/android/content/IntentSender.aidl \
828 frameworks/base/core/java/android/widget/RemoteViews.aidl \
829 frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \
830 frameworks/base/core/java/android/nfc/Tag.aidl \
831 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
832 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
833 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
834 frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \
835 frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \
836 frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \
837 frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \
838 frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \
839 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
840 frameworks/base/core/java/android/database/CursorWindow.aidl \
Jason Monkbbadff82015-11-06 15:47:26 -0500841 frameworks/base/core/java/android/service/quicksettings/Tile.aidl \
Samuel Tan239951a2016-01-05 17:29:43 -0800842 frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \
Robin Lee10606942016-03-30 18:52:40 +0100843 system/netd/server/binder/android/net/UidRange.aidl \
Robert Greenwalt37409c52016-06-02 13:43:27 -0700844 frameworks/base/telephony/java/android/telephony/PcoData.aidl \
Bart Searsa8cc0582015-05-07 03:23:20 +0000845
846gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
847$(gen): PRIVATE_SRC_FILES := $(aidl_files)
848ALL_SDK_FILES += $(gen)
849$(gen): $(aidl_files) | $(AIDL)
850 @echo Aidl Preprocess: $@
851 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
852
853# the documentation
854# ============================================================
855
856# TODO: deal with com/google/android/googleapps
857packages_to_document := \
858 android \
859 javax/microedition/khronos \
860 org/apache/http/conn \
861 org/apache/http/params
862
863
864# Search through the base framework dirs for these packages.
865# The result will be relative to frameworks/base.
866fwbase_dirs_to_document := \
Paul Duffin23951792016-11-30 13:29:39 +0000867 legacy-test/src \
Bart Searsa8cc0582015-05-07 03:23:20 +0000868 test-runner/src \
869 $(patsubst $(LOCAL_PATH)/%,%, \
870 $(wildcard \
871 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
872 $(addprefix $(dir)/, $(packages_to_document)) \
873 ) \
874 ) \
875 )
876
877# include definition of libcore_to_document
878include libcore/Docs.mk
879
Bart Searsa8cc0582015-05-07 03:23:20 +0000880non_base_dirs := \
Bart Searsa8cc0582015-05-07 03:23:20 +0000881 ../opt/telephony/src/java/android/telephony \
882 ../opt/telephony/src/java/android/telephony/gsm \
883 ../opt/net/voip/src/java/android/net/rtp \
884 ../opt/net/voip/src/java/android/net/sip
885
886# These are relative to frameworks/base
887dirs_to_check_apis := \
888 $(fwbase_dirs_to_document) \
889 $(non_base_dirs)
890
George Mountf6be9932015-12-03 07:39:55 -0800891###########################################################
892## Return all directories that have a 'NO_DOCS' file in
893## them, appending a '%' to them to form a pattern to
894## filter out files under those directories.
895## $(1): A list of base directories to look at.
896###########################################################
897define find-no-docs-pattern
898$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
899endef
900
Bart Searsa8cc0582015-05-07 03:23:20 +0000901# These are relative to frameworks/base
902# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
903dirs_to_document := \
904 $(dirs_to_check_apis) \
George Mounta340f072015-07-13 16:45:34 -0700905 $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
906 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000907
George Mountf6be9932015-12-03 07:39:55 -0800908patterns_to_not_document := \
909 $(call find-no-docs-pattern, $(dirs_to_document))
910
Bart Searsa8cc0582015-05-07 03:23:20 +0000911# These are relative to frameworks/base
912html_dirs := \
913 $(FRAMEWORKS_BASE_SUBDIRS) \
914 $(non_base_dirs)
915
916# Common sources for doc check and api check
917common_src_files := \
918 $(call find-other-html-files, $(html_dirs)) \
Paul Duffincd7c34d2016-12-12 16:35:36 +0000919 $(addprefix ../../, $(libcore_to_document))
Bart Searsa8cc0582015-05-07 03:23:20 +0000920
921# These are relative to frameworks/base
922framework_docs_LOCAL_SRC_FILES := \
George Mountf6be9932015-12-03 07:39:55 -0800923 $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
Bart Searsa8cc0582015-05-07 03:23:20 +0000924 $(common_src_files)
925
926# These are relative to frameworks/base
927framework_docs_LOCAL_API_CHECK_SRC_FILES := \
928 $(call find-other-java-files, $(dirs_to_check_apis)) \
929 $(common_src_files)
930
931# This is used by ide.mk as the list of source files that are
932# always included.
933INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
934
935framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
936 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
937
938framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
939 $(framework_res_source_path)/android/R.java \
940 $(framework_res_source_path)/android/Manifest.java \
941 $(framework_res_source_path)/com/android/internal/R.java
942
943framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +0000944 core-oj \
Bart Searsa8cc0582015-05-07 03:23:20 +0000945 core-libart \
946 conscrypt \
947 bouncycastle \
948 okhttp \
949 ext \
Rayhaan Jaufeerally2e47a6e2015-08-03 13:54:28 +0100950 icu4j \
Bart Searsa8cc0582015-05-07 03:23:20 +0000951 framework \
Bart Searsa8cc0582015-05-07 03:23:20 +0000952 voip-common
953
954framework_docs_LOCAL_JAVA_LIBRARIES := \
955 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
956 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
957
958framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
959framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
960# The since flag (-since N.xml API_LEVEL) is used to add API Level information
961# to the reference documentation. Must be in order of oldest to newest.
962#
963# Conscrypt (com.android.org.conscrypt) is an implementation detail and should
964# not be referenced in the documentation.
965framework_docs_LOCAL_DROIDDOC_OPTIONS := \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600966 -android \
Bart Searsa8cc0582015-05-07 03:23:20 +0000967 -knowntags ./frameworks/base/docs/knowntags.txt \
Narayan Kamath2c4f2842015-07-27 14:02:11 +0100968 -knowntags ./libcore/known_oj_tags.txt \
Jeff Sharkeybfc4fcd2017-06-05 17:38:17 -0600969 -manifest ./frameworks/base/core/res/AndroidManifest.xml \
Bart Searsa8cc0582015-05-07 03:23:20 +0000970 -hidePackage com.android.org.conscrypt \
971 -since $(SRC_API_DIR)/1.xml 1 \
972 -since $(SRC_API_DIR)/2.xml 2 \
973 -since $(SRC_API_DIR)/3.xml 3 \
974 -since $(SRC_API_DIR)/4.xml 4 \
975 -since $(SRC_API_DIR)/5.xml 5 \
976 -since $(SRC_API_DIR)/6.xml 6 \
977 -since $(SRC_API_DIR)/7.xml 7 \
978 -since $(SRC_API_DIR)/8.xml 8 \
979 -since $(SRC_API_DIR)/9.xml 9 \
980 -since $(SRC_API_DIR)/10.xml 10 \
981 -since $(SRC_API_DIR)/11.xml 11 \
982 -since $(SRC_API_DIR)/12.xml 12 \
983 -since $(SRC_API_DIR)/13.xml 13 \
984 -since $(SRC_API_DIR)/14.txt 14 \
985 -since $(SRC_API_DIR)/15.txt 15 \
986 -since $(SRC_API_DIR)/16.txt 16 \
987 -since $(SRC_API_DIR)/17.txt 17 \
988 -since $(SRC_API_DIR)/18.txt 18 \
989 -since $(SRC_API_DIR)/19.txt 19 \
990 -since $(SRC_API_DIR)/20.txt 20 \
991 -since $(SRC_API_DIR)/21.txt 21 \
992 -since $(SRC_API_DIR)/22.txt 22 \
Joe Fernandez1827e322015-08-12 19:45:22 -0700993 -since $(SRC_API_DIR)/23.txt 23 \
Dirk Dougherty5f60f7c2016-06-14 16:26:28 -0700994 -since $(SRC_API_DIR)/24.txt 24 \
Dirk Dougherty3376f582016-10-14 10:27:08 -0700995 -since $(SRC_API_DIR)/25.txt 25 \
Dirk Doughertyfdad0ba2017-06-09 14:43:32 -0700996 -since $(SRC_API_DIR)/26.txt 26 \
Jeff Sharkey0f3f60b2017-04-24 18:06:20 -0600997 -werror -hide 111 -hide 113 -hide 121 \
998 -overview $(LOCAL_PATH)/core/java/overview.html \
Bart Searsa8cc0582015-05-07 03:23:20 +0000999
Alan Viveretteba6a9162017-03-10 15:09:33 -05001000# Allow the support library to add its own droiddoc options.
1001include $(LOCAL_PATH)/../support/droiddoc.mk
Alan Viverette38b50532017-02-24 10:29:48 -05001002
Bart Searsa8cc0582015-05-07 03:23:20 +00001003framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
1004 $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON)
1005
1006framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
1007 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
1008 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
1009 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
1010
1011framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
Narayan Kamathc21739a2015-07-14 13:39:23 +01001012 frameworks/base/docs/knowntags.txt \
1013 libcore/Docs.mk
Bart Searsa8cc0582015-05-07 03:23:20 +00001014
1015samples_dir := development/samples/browseable
1016
1017# Whitelist of valid groups, used for default TOC grouping. Each sample must
1018# belong to one (and only one) group. Assign samples to groups by setting
1019# a sample.group var to one of these groups in the sample's _index.jd.
1020sample_groups := -samplegroup Admin \
1021 -samplegroup Background \
1022 -samplegroup Connectivity \
1023 -samplegroup Content \
1024 -samplegroup Input \
1025 -samplegroup Media \
1026 -samplegroup Notification \
1027 -samplegroup RenderScript \
1028 -samplegroup Security \
1029 -samplegroup Sensors \
Trevor Johns4cbe3592015-05-27 14:50:51 -07001030 -samplegroup System \
Bart Searsa8cc0582015-05-07 03:23:20 +00001031 -samplegroup Testing \
1032 -samplegroup UI \
1033 -samplegroup Views \
1034 -samplegroup Wearable
1035
1036## SDK version identifiers used in the published docs
1037 # major[.minor] version for current SDK. (full releases only)
smain@google.comdde8deb2016-08-29 18:36:50 -07001038framework_docs_SDK_VERSION:=7.0
Bart Searsa8cc0582015-05-07 03:23:20 +00001039 # release version (ie "Release x") (full releases only)
1040framework_docs_SDK_REL_ID:=1
1041
1042framework_docs_LOCAL_DROIDDOC_OPTIONS += \
Billy Lamberta75dbc8f2017-03-03 13:09:15 -08001043 -hdf dac true \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001044 -hdf sdk.codename O \
1045 -hdf sdk.preview.version 1 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001046 -hdf sdk.version $(framework_docs_SDK_VERSION) \
1047 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001048 -hdf sdk.preview 0 \
1049 -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \
1050 -resourcesoutdir reference/android/images/
Bart Searsa8cc0582015-05-07 03:23:20 +00001051
1052# ==== the api stubs and current.xml ===========================
1053include $(CLEAR_VARS)
1054
1055LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1056LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1057LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1058LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1059LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1060LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1061LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1062LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1063
1064LOCAL_MODULE := api-stubs
1065
Ying Wang0f92a2e2015-07-16 14:20:22 -07001066LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src
1067
Bart Searsa8cc0582015-05-07 03:23:20 +00001068LOCAL_DROIDDOC_OPTIONS:=\
1069 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001070 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001071 -api $(INTERNAL_PLATFORM_API_FILE) \
1072 -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \
1073 -nodocs
1074
Scott Main15b85172017-02-21 14:30:58 -08001075LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001076
1077LOCAL_UNINSTALLABLE_MODULE := true
1078
1079include $(BUILD_DROIDDOC)
1080
1081# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1082$(full_target): $(framework_built) $(gen)
1083$(INTERNAL_PLATFORM_API_FILE): $(full_target)
1084$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
1085
1086# ==== the system api stubs ===================================
1087include $(CLEAR_VARS)
1088
1089LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1090LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1091LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1092LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1093LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1094LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1095LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1096LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1097
1098LOCAL_MODULE := system-api-stubs
1099
Ying Wang0f92a2e2015-07-16 14:20:22 -07001100LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src
1101
Bart Searsa8cc0582015-05-07 03:23:20 +00001102LOCAL_DROIDDOC_OPTIONS:=\
1103 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001104 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001105 -showAnnotation android.annotation.SystemApi \
1106 -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \
1107 -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001108 -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001109 -nodocs
1110
Scott Main15b85172017-02-21 14:30:58 -08001111LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001112
1113LOCAL_UNINSTALLABLE_MODULE := true
1114
1115include $(BUILD_DROIDDOC)
1116
1117# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1118$(full_target): $(framework_built) $(gen)
1119$(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target)
1120$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE))
1121
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001122# ==== the test api stubs ===================================
1123include $(CLEAR_VARS)
1124
1125LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
1126LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1127LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
1128LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1129LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1130LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1131LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
1132LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1133
1134LOCAL_MODULE := test-api-stubs
1135
1136LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src
1137
1138LOCAL_DROIDDOC_OPTIONS:=\
1139 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001140 -referenceonly \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001141 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \
1142 -showAnnotation android.annotation.TestApi \
1143 -api $(INTERNAL_PLATFORM_TEST_API_FILE) \
1144 -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \
Jeff Sharkey05461c02017-05-09 19:01:09 -06001145 -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001146 -nodocs
1147
Scott Main15b85172017-02-21 14:30:58 -08001148LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Michael Wrightb2b2c0e2015-11-06 15:21:13 +00001149
1150LOCAL_UNINSTALLABLE_MODULE := true
1151
1152include $(BUILD_DROIDDOC)
1153
1154# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1155$(full_target): $(framework_built) $(gen)
1156$(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target)
1157$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE))
1158
Bart Searsa8cc0582015-05-07 03:23:20 +00001159# ==== check javadoc comments but don't generate docs ========
1160include $(CLEAR_VARS)
1161
1162LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1163LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1164LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1165LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1166LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1167LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1168LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1169LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1170
1171LOCAL_MODULE := doc-comment-check
1172
1173LOCAL_DROIDDOC_OPTIONS:=\
1174 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001175 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001176 -parsecomments
1177
Scott Main15b85172017-02-21 14:30:58 -08001178LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001179
1180LOCAL_UNINSTALLABLE_MODULE := true
1181
1182include $(BUILD_DROIDDOC)
1183
1184# $(gen), i.e. framework.aidl, is also needed while building against the current stub.
1185$(full_target): $(framework_built) $(gen)
1186
1187# Run this for checkbuild
1188checkbuild: doc-comment-check-docs
1189# Check comment when you are updating the API
1190update-api: doc-comment-check-docs
1191
1192# ==== static html in the sdk ==================================
1193include $(CLEAR_VARS)
1194
1195LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1196LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1197LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1198LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1199LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1200LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1201LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1202LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1203
1204LOCAL_MODULE := offline-sdk
1205
1206LOCAL_DROIDDOC_OPTIONS:=\
1207 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1208 -offlinemode \
1209 -title "Android SDK" \
1210 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
smain@google.com00de8c52016-03-07 18:38:08 -08001211 -sdkvalues $(OUT_DOCS) \
smain@google.com8562ab52016-06-14 17:11:57 -07001212 -hdf android.whichdoc offline
1213
Scott Main15b85172017-02-21 14:30:58 -08001214LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com8562ab52016-06-14 17:11:57 -07001215
1216include $(BUILD_DROIDDOC)
1217
1218static_doc_index_redirect := $(out_dir)/index.html
1219$(static_doc_index_redirect): \
1220 $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
1221 $(hide) mkdir -p $(dir $@)
1222 $(hide) $(ACP) $< $@
1223
1224$(full_target): $(static_doc_index_redirect)
1225$(full_target): $(framework_built)
1226
1227
1228# ==== static html in the sdk ==================================
1229include $(CLEAR_VARS)
1230
1231LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1232LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1233LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1234LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1235LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1236LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1237LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1238LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1239
1240LOCAL_MODULE := offline-sdk-referenceonly
1241
1242LOCAL_DROIDDOC_OPTIONS:=\
1243 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1244 -offlinemode \
1245 -title "Android SDK" \
1246 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
1247 -sdkvalues $(OUT_DOCS) \
smain@google.com00de8c52016-03-07 18:38:08 -08001248 -hdf android.whichdoc offline \
Scott Mainf8cdfc82017-03-21 13:43:31 -07001249 -referenceonly
smain@google.com00de8c52016-03-07 18:38:08 -08001250
Scott Main15b85172017-02-21 14:30:58 -08001251LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
smain@google.com00de8c52016-03-07 18:38:08 -08001252
1253include $(BUILD_DROIDDOC)
1254
1255static_doc_index_redirect := $(out_dir)/index.html
smain@google.com151833a2016-08-31 08:42:09 -07001256$(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html
Dan Willemsen98ff0b72016-03-23 00:42:44 -07001257 $(copy-file-to-target)
smain@google.com00de8c52016-03-07 18:38:08 -08001258
smain@google.com2f2365d2016-09-21 14:05:50 -07001259static_doc_properties := $(out_dir)/source.properties
1260$(static_doc_properties): \
1261 $(LOCAL_PATH)/docs/source.properties | $(ACP)
1262 $(hide) mkdir -p $(dir $@)
1263 $(hide) $(ACP) $< $@
1264
smain@google.com00de8c52016-03-07 18:38:08 -08001265$(full_target): $(static_doc_index_redirect)
smain@google.com2f2365d2016-09-21 14:05:50 -07001266$(full_target): $(static_doc_properties)
smain@google.com00de8c52016-03-07 18:38:08 -08001267$(full_target): $(framework_built)
1268
smain@google.com7aca8be2016-03-10 14:13:30 -08001269
Bart Searsa8cc0582015-05-07 03:23:20 +00001270# ==== docs for the web (on the androiddevdocs app engine server) =======================
1271include $(CLEAR_VARS)
1272
1273LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1274LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1275LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1276LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1277LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1278LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1279LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1280LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1281LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1282LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1283
1284LOCAL_MODULE := online-sdk
1285
1286LOCAL_DROIDDOC_OPTIONS:= \
1287 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1288 -toroot / \
1289 -hdf android.whichdoc online \
1290 $(sample_groups) \
1291 -hdf android.hasSamples true \
1292 -samplesdir $(samples_dir)
1293
Scott Main15b85172017-02-21 14:30:58 -08001294LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001295
1296include $(BUILD_DROIDDOC)
1297
1298# ==== docs for the web (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001299include $(CLEAR_VARS)
1300
1301LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1302LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1303LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1304LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1305LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1306LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1307LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1308LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1309LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1310LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1311
1312LOCAL_MODULE := online-system-api-sdk
1313
1314LOCAL_DROIDDOC_OPTIONS:= \
1315 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001316 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001317 -showAnnotation android.annotation.SystemApi \
1318 -title "Android SDK - Including system APIs." \
1319 -toroot / \
Gina Dimino98ad8882016-05-31 17:25:48 -07001320 -hide 101 \
1321 -hide 104 \
1322 -hide 108 \
Bart Searsa8cc0582015-05-07 03:23:20 +00001323 -hdf android.whichdoc online \
1324 $(sample_groups) \
1325 -hdf android.hasSamples true \
1326 -samplesdir $(samples_dir)
1327
Scott Main15b85172017-02-21 14:30:58 -08001328LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Jeff Sharkey05461c02017-05-09 19:01:09 -06001329
Bart Searsa8cc0582015-05-07 03:23:20 +00001330LOCAL_UNINSTALLABLE_MODULE := true
1331
1332include $(BUILD_DROIDDOC)
Bart Searsa8cc0582015-05-07 03:23:20 +00001333
1334# ==== docs for the web (on the devsite app engine server) =======================
1335include $(CLEAR_VARS)
1336LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1337LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1338LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1339LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1340LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1341LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1342LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1343LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1344LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1345# specify a second html input dir and an output path relative to OUT_DIR)
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001346LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001347
1348LOCAL_MODULE := ds
1349
1350LOCAL_DROIDDOC_OPTIONS:= \
1351 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
Bart Searsa8cc0582015-05-07 03:23:20 +00001352 -toroot / \
1353 -hdf android.whichdoc online \
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001354 -devsite \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001355 $(sample_groups) \
Dirk Dougherty3852c1f2016-04-10 02:05:09 -07001356 -hdf android.hasSamples true \
1357 -samplesdir $(samples_dir)
Bart Searsa8cc0582015-05-07 03:23:20 +00001358
Scott Main15b85172017-02-21 14:30:58 -08001359LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001360
1361include $(BUILD_DROIDDOC)
1362
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001363# ==== docs for the web (on the devsite app engine server) =======================
1364include $(CLEAR_VARS)
1365LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1366LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1367LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1368LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1369LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1370LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1371LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1372LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1373LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1374# specify a second html input dir and an output path relative to OUT_DIR)
1375LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
1376
1377LOCAL_MODULE := ds-static
1378
1379LOCAL_DROIDDOC_OPTIONS:= \
1380 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1381 -hdf android.whichdoc online \
1382 -staticonly \
1383 -toroot / \
1384 -devsite \
1385 -ignoreJdLinks
1386
Scott Main15b85172017-02-21 14:30:58 -08001387LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Doughertyb042ab12016-06-14 16:26:28 -07001388
1389include $(BUILD_DROIDDOC)
1390
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001391# ==== generates full navtree for resolving @links in ds postprocessing ====
1392include $(CLEAR_VARS)
1393
1394LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1395LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1396LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1397LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1398LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1399LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1400LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1401LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1402
1403LOCAL_MODULE := ds-ref-navtree
1404
1405LOCAL_DROIDDOC_OPTIONS:= \
1406 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1407 -hdf android.whichdoc online \
1408 -toroot / \
1409 -atLinksNavtree \
1410 -navtreeonly
1411
Scott Main15b85172017-02-21 14:30:58 -08001412LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Dirk Dougherty7d47b552016-09-13 16:44:25 -07001413
1414include $(BUILD_DROIDDOC)
1415
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001416# ==== site updates for docs (on the androiddevdocs app engine server) =======================
Bart Searsa8cc0582015-05-07 03:23:20 +00001417include $(CLEAR_VARS)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001418
Bart Searsa8cc0582015-05-07 03:23:20 +00001419LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1420LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1421LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
1422LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1423LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1424LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001425LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
Bart Searsa8cc0582015-05-07 03:23:20 +00001426LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1427LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001428LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
Bart Searsa8cc0582015-05-07 03:23:20 +00001429
Dirk Dougherty31ae1c512015-11-07 13:18:02 -08001430LOCAL_MODULE := online-sdk-dev
Bart Searsa8cc0582015-05-07 03:23:20 +00001431
1432LOCAL_DROIDDOC_OPTIONS:= \
1433 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
1434 -toroot / \
1435 -hdf android.whichdoc online \
1436 $(sample_groups) \
1437 -hdf android.hasSamples true \
1438 -samplesdir $(samples_dir)
1439
Scott Main15b85172017-02-21 14:30:58 -08001440LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001441
1442include $(BUILD_DROIDDOC)
1443
Bart Searsa8cc0582015-05-07 03:23:20 +00001444# ==== docs that have all of the stuff that's @hidden =======================
1445include $(CLEAR_VARS)
1446
1447LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
1448LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
1449LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
1450LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
1451LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
1452LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
1453LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
1454LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
1455
1456LOCAL_MODULE := hidden
1457LOCAL_DROIDDOC_OPTIONS:=\
1458 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
smain@google.com534bfe12016-09-01 19:52:17 -07001459 -referenceonly \
Bart Searsa8cc0582015-05-07 03:23:20 +00001460 -title "Android SDK - Including hidden APIs."
1461# -hidden
1462
Scott Main15b85172017-02-21 14:30:58 -08001463LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk
Bart Searsa8cc0582015-05-07 03:23:20 +00001464
1465include $(BUILD_DROIDDOC)
1466
1467# Build ext.jar
1468# ============================================================
1469
1470ext_dirs := \
1471 ../../external/nist-sip/java \
1472 ../../external/tagsoup/src \
1473
1474ext_src_files := $(call all-java-files-under,$(ext_dirs))
1475
1476# ==== the library =========================================
1477include $(CLEAR_VARS)
1478
1479LOCAL_SRC_FILES := $(ext_src_files)
1480
1481LOCAL_NO_STANDARD_LIBRARIES := true
Piotr Jastrzebskicfa292e2015-02-17 16:58:52 +00001482LOCAL_JAVA_LIBRARIES := core-oj core-libart
Bart Searsa8cc0582015-05-07 03:23:20 +00001483LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform
1484LOCAL_MODULE_TAGS := optional
1485LOCAL_MODULE := ext
1486
Colin Crossbe2d3302016-12-21 16:48:32 -08001487LOCAL_DX_FLAGS := --core-library
1488
Jorim Jaggi7e29dea2016-02-01 16:22:43 -08001489ifneq ($(INCREMENTAL_BUILDS),)
1490 LOCAL_PROGUARD_ENABLED := disabled
1491 LOCAL_JACK_ENABLED := incremental
1492endif
1493
Bart Searsa8cc0582015-05-07 03:23:20 +00001494include $(BUILD_JAVA_LIBRARY)
1495
Joe Onorato1754d742016-11-21 17:51:35 -08001496# ==== java proto host library ==============================
1497include $(CLEAR_VARS)
1498LOCAL_MODULE := platformprotos
1499LOCAL_PROTOC_OPTIMIZE_TYPE := full
1500LOCAL_PROTOC_FLAGS := \
1501 -Iexternal/protobuf/src
1502LOCAL_SOURCE_FILES_ALL_GENERATED := true
1503LOCAL_SRC_FILES := \
1504 $(call all-proto-files-under, core/proto) \
1505 $(call all-proto-files-under, libs/incident/proto)
1506include $(BUILD_HOST_JAVA_LIBRARY)
1507
Bart Searsa8cc0582015-05-07 03:23:20 +00001508
1509# Include subdirectory makefiles
1510# ============================================================
1511
1512# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
1513# team really wants is to build the stuff defined by this makefile.
1514ifeq (,$(ONE_SHOT_MAKEFILE))
1515include $(call first-makefiles-under,$(LOCAL_PATH))
1516endif
1517
1518endif # ANDROID_BUILD_EMBEDDED