Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 1 | # |
| 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 | # |
| 16 | LOCAL_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. |
| 27 | framework_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 |
| 36 | ifneq ($(ANDROID_BUILD_EMBEDDED),true) |
| 37 | |
| 38 | include $(CLEAR_VARS) |
| 39 | |
| 40 | # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk |
| 41 | LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS)) |
| 42 | |
| 43 | # EventLogTags files. |
| 44 | LOCAL_SRC_FILES += \ |
Rubin Xu | 75431fb | 2016-01-07 21:12:14 +0000 | [diff] [blame] | 45 | core/java/android/auditing/SecurityLogTags.logtags \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 46 | core/java/android/content/EventLogTags.logtags \ |
| 47 | core/java/android/speech/tts/EventLogTags.logtags \ |
| 48 | core/java/android/webkit/EventLogTags.logtags \ |
| 49 | core/java/com/android/internal/logging/EventLogTags.logtags \ |
| 50 | |
| 51 | ## READ ME: ######################################################## |
| 52 | ## |
| 53 | ## When updating this list of aidl files, consider if that aidl is |
| 54 | ## part of the SDK API. If it is, also add it to the list below that |
| 55 | ## is preprocessed and distributed with the SDK. This list should |
| 56 | ## not contain any aidl files for parcelables, but the one below should |
| 57 | ## if you intend for 3rd parties to be able to send those objects |
| 58 | ## across process boundaries. |
| 59 | ## |
| 60 | ## READ ME: ######################################################## |
| 61 | LOCAL_SRC_FILES += \ |
| 62 | core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \ |
| 63 | core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \ |
| 64 | core/java/android/accounts/IAccountManager.aidl \ |
| 65 | core/java/android/accounts/IAccountManagerResponse.aidl \ |
| 66 | core/java/android/accounts/IAccountAuthenticator.aidl \ |
| 67 | core/java/android/accounts/IAccountAuthenticatorResponse.aidl \ |
| 68 | core/java/android/app/IActivityContainer.aidl \ |
| 69 | core/java/android/app/IActivityContainerCallback.aidl \ |
| 70 | core/java/android/app/IActivityController.aidl \ |
| 71 | core/java/android/app/IActivityPendingResult.aidl \ |
Christopher Tate | 14a7bb0 | 2015-10-01 10:24:31 -0700 | [diff] [blame] | 72 | core/java/android/app/IAlarmCompleteListener.aidl \ |
| 73 | core/java/android/app/IAlarmListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 74 | core/java/android/app/IAlarmManager.aidl \ |
| 75 | core/java/android/app/IAppTask.aidl \ |
| 76 | core/java/android/app/ITaskStackListener.aidl \ |
| 77 | core/java/android/app/IBackupAgent.aidl \ |
| 78 | core/java/android/app/IInstrumentationWatcher.aidl \ |
| 79 | core/java/android/app/INotificationManager.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 80 | core/java/android/app/IProcessObserver.aidl \ |
| 81 | core/java/android/app/ISearchManager.aidl \ |
| 82 | core/java/android/app/ISearchManagerCallback.aidl \ |
| 83 | core/java/android/app/IServiceConnection.aidl \ |
| 84 | core/java/android/app/IStopUserCallback.aidl \ |
| 85 | core/java/android/app/job/IJobCallback.aidl \ |
| 86 | core/java/android/app/job/IJobScheduler.aidl \ |
| 87 | core/java/android/app/job/IJobService.aidl \ |
| 88 | core/java/android/app/ITransientNotification.aidl \ |
Dianne Hackborn | d23e0d6 | 2015-05-15 16:36:12 -0700 | [diff] [blame] | 89 | core/java/android/app/IUidObserver.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 90 | core/java/android/app/IUiAutomationConnection.aidl \ |
| 91 | core/java/android/app/IUiModeManager.aidl \ |
| 92 | core/java/android/app/IUserSwitchObserver.aidl \ |
| 93 | core/java/android/app/IWallpaperManager.aidl \ |
| 94 | core/java/android/app/IWallpaperManagerCallback.aidl \ |
| 95 | core/java/android/app/admin/IDevicePolicyManager.aidl \ |
Adrian Roos | b5e4722 | 2015-08-14 15:53:06 -0700 | [diff] [blame] | 96 | core/java/android/app/trust/IStrongAuthTracker.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 97 | core/java/android/app/trust/ITrustManager.aidl \ |
| 98 | core/java/android/app/trust/ITrustListener.aidl \ |
| 99 | core/java/android/app/backup/IBackupManager.aidl \ |
Sergey Poromov | fe06bf6 | 2015-12-15 16:26:23 +0100 | [diff] [blame] | 100 | core/java/android/app/backup/IBackupObserver.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 101 | core/java/android/app/backup/IFullBackupRestoreObserver.aidl \ |
| 102 | core/java/android/app/backup/IRestoreObserver.aidl \ |
| 103 | core/java/android/app/backup/IRestoreSession.aidl \ |
| 104 | core/java/android/app/usage/IUsageStatsManager.aidl \ |
| 105 | core/java/android/bluetooth/IBluetooth.aidl \ |
| 106 | core/java/android/bluetooth/IBluetoothA2dp.aidl \ |
| 107 | core/java/android/bluetooth/IBluetoothA2dpSink.aidl \ |
| 108 | core/java/android/bluetooth/IBluetoothAvrcpController.aidl \ |
| 109 | core/java/android/bluetooth/IBluetoothCallback.aidl \ |
| 110 | core/java/android/bluetooth/IBluetoothProfileServiceConnection.aidl \ |
| 111 | core/java/android/bluetooth/IBluetoothHeadset.aidl \ |
| 112 | core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \ |
| 113 | core/java/android/bluetooth/IBluetoothHealth.aidl \ |
| 114 | core/java/android/bluetooth/IBluetoothHealthCallback.aidl \ |
| 115 | core/java/android/bluetooth/IBluetoothInputDevice.aidl \ |
| 116 | core/java/android/bluetooth/IBluetoothPan.aidl \ |
| 117 | core/java/android/bluetooth/IBluetoothManager.aidl \ |
| 118 | core/java/android/bluetooth/IBluetoothManagerCallback.aidl \ |
| 119 | core/java/android/bluetooth/IBluetoothPbap.aidl \ |
| 120 | core/java/android/bluetooth/IBluetoothMap.aidl \ |
| 121 | core/java/android/bluetooth/IBluetoothSap.aidl \ |
| 122 | core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \ |
| 123 | core/java/android/bluetooth/IBluetoothHeadsetClient.aidl \ |
| 124 | core/java/android/bluetooth/IBluetoothGatt.aidl \ |
| 125 | core/java/android/bluetooth/IBluetoothGattCallback.aidl \ |
| 126 | core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \ |
| 127 | core/java/android/content/IClipboard.aidl \ |
| 128 | core/java/android/content/IContentService.aidl \ |
| 129 | core/java/android/content/IIntentReceiver.aidl \ |
| 130 | core/java/android/content/IIntentSender.aidl \ |
| 131 | core/java/android/content/IOnPrimaryClipChangedListener.aidl \ |
| 132 | core/java/android/content/IRestrictionsManager.aidl \ |
| 133 | core/java/android/content/ISyncAdapter.aidl \ |
| 134 | core/java/android/content/ISyncContext.aidl \ |
| 135 | core/java/android/content/ISyncServiceAdapter.aidl \ |
| 136 | core/java/android/content/ISyncStatusObserver.aidl \ |
| 137 | core/java/android/content/pm/ILauncherApps.aidl \ |
| 138 | core/java/android/content/pm/IOnAppsChangedListener.aidl \ |
Andreas Gampe | a890875 | 2015-11-10 08:58:14 -0800 | [diff] [blame] | 139 | core/java/android/content/pm/IOtaDexopt.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 140 | core/java/android/content/pm/IPackageDataObserver.aidl \ |
| 141 | core/java/android/content/pm/IPackageDeleteObserver.aidl \ |
| 142 | core/java/android/content/pm/IPackageDeleteObserver2.aidl \ |
| 143 | core/java/android/content/pm/IPackageInstallObserver.aidl \ |
| 144 | core/java/android/content/pm/IPackageInstallObserver2.aidl \ |
| 145 | core/java/android/content/pm/IPackageInstaller.aidl \ |
| 146 | core/java/android/content/pm/IPackageInstallerCallback.aidl \ |
| 147 | core/java/android/content/pm/IPackageInstallerSession.aidl \ |
| 148 | core/java/android/content/pm/IPackageManager.aidl \ |
| 149 | core/java/android/content/pm/IPackageMoveObserver.aidl \ |
| 150 | core/java/android/content/pm/IPackageStatsObserver.aidl \ |
Svetoslav | f7c06eb | 2015-06-10 18:43:22 -0700 | [diff] [blame] | 151 | core/java/android/content/pm/IOnPermissionsChangeListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 152 | core/java/android/database/IContentObserver.aidl \ |
| 153 | core/java/android/hardware/ICameraService.aidl \ |
| 154 | core/java/android/hardware/ICameraServiceListener.aidl \ |
Ruben Brunk | 6664aee | 2015-05-19 17:20:24 -0700 | [diff] [blame] | 155 | core/java/android/hardware/ICameraServiceProxy.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 156 | core/java/android/hardware/ICamera.aidl \ |
| 157 | core/java/android/hardware/ICameraClient.aidl \ |
| 158 | core/java/android/hardware/IConsumerIrService.aidl \ |
| 159 | core/java/android/hardware/camera2/ICameraDeviceUser.aidl \ |
| 160 | core/java/android/hardware/camera2/ICameraDeviceCallbacks.aidl \ |
| 161 | core/java/android/hardware/ISerialManager.aidl \ |
| 162 | core/java/android/hardware/display/IDisplayManager.aidl \ |
| 163 | core/java/android/hardware/display/IDisplayManagerCallback.aidl \ |
| 164 | core/java/android/hardware/display/IVirtualDisplayCallback.aidl \ |
Jim Miller | be67542 | 2015-05-11 20:45:25 -0700 | [diff] [blame] | 165 | core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \ |
| 166 | core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 167 | core/java/android/hardware/fingerprint/IFingerprintService.aidl \ |
Jorim Jaggi | 3a46478 | 2015-08-28 16:59:13 -0700 | [diff] [blame] | 168 | core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 169 | core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \ |
| 170 | core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \ |
| 171 | core/java/android/hardware/hdmi/IHdmiControlService.aidl \ |
| 172 | core/java/android/hardware/hdmi/IHdmiDeviceEventListener.aidl \ |
| 173 | core/java/android/hardware/hdmi/IHdmiHotplugEventListener.aidl \ |
| 174 | core/java/android/hardware/hdmi/IHdmiInputChangeListener.aidl \ |
| 175 | core/java/android/hardware/hdmi/IHdmiMhlVendorCommandListener.aidl \ |
| 176 | core/java/android/hardware/hdmi/IHdmiRecordListener.aidl \ |
| 177 | core/java/android/hardware/hdmi/IHdmiSystemAudioModeChangeListener.aidl \ |
| 178 | core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \ |
| 179 | core/java/android/hardware/input/IInputManager.aidl \ |
| 180 | core/java/android/hardware/input/IInputDevicesChangedListener.aidl \ |
Michael Wright | 39e5e94 | 2015-08-19 22:52:47 +0100 | [diff] [blame] | 181 | core/java/android/hardware/input/ITabletModeChangedListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 182 | core/java/android/hardware/location/IActivityRecognitionHardware.aidl \ |
destradaa | 6e2fe75 | 2015-06-23 17:25:53 -0700 | [diff] [blame] | 183 | core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 184 | core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \ |
| 185 | core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \ |
| 186 | core/java/android/hardware/location/IFusedLocationHardware.aidl \ |
| 187 | core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \ |
| 188 | core/java/android/hardware/location/IGeofenceHardware.aidl \ |
| 189 | core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \ |
| 190 | core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \ |
Ashutosh Joshi | 1d1ac54 | 2016-01-18 17:19:27 -0800 | [diff] [blame] | 191 | core/java/android/hardware/location/IContextHubCallback.aidl \ |
| 192 | core/java/android/hardware/location/IContextHubService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 193 | core/java/android/hardware/soundtrigger/IRecognitionStatusCallback.aidl \ |
| 194 | core/java/android/hardware/usb/IUsbManager.aidl \ |
Paul Jensen | 49e3edf | 2015-05-22 10:50:39 -0400 | [diff] [blame] | 195 | core/java/android/net/ICaptivePortal.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 196 | core/java/android/net/IConnectivityManager.aidl \ |
| 197 | core/java/android/net/IEthernetManager.aidl \ |
| 198 | core/java/android/net/IEthernetServiceListener.aidl \ |
| 199 | core/java/android/net/INetworkManagementEventObserver.aidl \ |
| 200 | core/java/android/net/INetworkPolicyListener.aidl \ |
| 201 | core/java/android/net/INetworkPolicyManager.aidl \ |
| 202 | core/java/android/net/INetworkScoreCache.aidl \ |
| 203 | core/java/android/net/INetworkScoreService.aidl \ |
| 204 | core/java/android/net/INetworkStatsService.aidl \ |
| 205 | core/java/android/net/INetworkStatsSession.aidl \ |
| 206 | core/java/android/net/nsd/INsdManager.aidl \ |
| 207 | core/java/android/nfc/IAppCallback.aidl \ |
| 208 | core/java/android/nfc/INfcAdapter.aidl \ |
| 209 | core/java/android/nfc/INfcAdapterExtras.aidl \ |
| 210 | core/java/android/nfc/INfcTag.aidl \ |
| 211 | core/java/android/nfc/INfcCardEmulation.aidl \ |
Yoshinobu Ito | c52adfe | 2016-01-22 18:14:18 +0900 | [diff] [blame] | 212 | core/java/android/nfc/INfcFCardEmulation.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 213 | core/java/android/nfc/INfcUnlockHandler.aidl \ |
| 214 | core/java/android/os/IBatteryPropertiesListener.aidl \ |
| 215 | core/java/android/os/IBatteryPropertiesRegistrar.aidl \ |
| 216 | core/java/android/os/ICancellationSignal.aidl \ |
| 217 | core/java/android/os/IDeviceIdleController.aidl \ |
Yao Chen | ca5edbb | 2016-01-13 14:44:36 -0800 | [diff] [blame] | 218 | core/java/android/os/IMaintenanceActivityListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 219 | core/java/android/os/IMessenger.aidl \ |
| 220 | core/java/android/os/INetworkActivityListener.aidl \ |
| 221 | core/java/android/os/INetworkManagementService.aidl \ |
| 222 | core/java/android/os/IPermissionController.aidl \ |
| 223 | core/java/android/os/IProcessInfoService.aidl \ |
| 224 | core/java/android/os/IPowerManager.aidl \ |
| 225 | core/java/android/os/IRemoteCallback.aidl \ |
| 226 | core/java/android/os/ISchedulingPolicyService.aidl \ |
| 227 | core/java/android/os/IUpdateLock.aidl \ |
| 228 | core/java/android/os/IUserManager.aidl \ |
| 229 | core/java/android/os/IVibratorService.aidl \ |
| 230 | core/java/android/security/IKeystoreService.aidl \ |
Zach Johnson | 42ecc9e | 2015-05-22 15:56:09 -0700 | [diff] [blame] | 231 | core/java/android/service/carrier/ICarrierService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 232 | core/java/android/service/carrier/ICarrierMessagingCallback.aidl \ |
| 233 | core/java/android/service/carrier/ICarrierMessagingService.aidl \ |
| 234 | core/java/android/service/gatekeeper/IGateKeeperService.aidl \ |
| 235 | core/java/android/service/notification/INotificationListener.aidl \ |
| 236 | core/java/android/service/notification/IStatusBarNotificationHolder.aidl \ |
| 237 | core/java/android/service/notification/IConditionListener.aidl \ |
| 238 | core/java/android/service/notification/IConditionProvider.aidl \ |
| 239 | core/java/android/print/ILayoutResultCallback.aidl \ |
| 240 | core/java/android/print/IPrinterDiscoveryObserver.aidl \ |
| 241 | core/java/android/print/IPrintDocumentAdapter.aidl \ |
| 242 | core/java/android/print/IPrintDocumentAdapterObserver.aidl \ |
| 243 | core/java/android/print/IPrintJobStateChangeListener.aidl \ |
| 244 | core/java/android/print/IPrintManager.aidl \ |
| 245 | core/java/android/print/IPrintSpooler.aidl \ |
| 246 | core/java/android/print/IPrintSpoolerCallbacks.aidl \ |
| 247 | core/java/android/print/IPrintSpoolerClient.aidl \ |
| 248 | core/java/android/print/IWriteResultCallback.aidl \ |
| 249 | core/java/android/printservice/IPrintService.aidl \ |
| 250 | core/java/android/printservice/IPrintServiceClient.aidl \ |
| 251 | core/java/android/service/dreams/IDreamManager.aidl \ |
| 252 | core/java/android/service/dreams/IDreamService.aidl \ |
| 253 | core/java/android/service/persistentdata/IPersistentDataBlockService.aidl \ |
| 254 | core/java/android/service/trust/ITrustAgentService.aidl \ |
| 255 | core/java/android/service/trust/ITrustAgentServiceCallback.aidl \ |
| 256 | core/java/android/service/voice/IVoiceInteractionService.aidl \ |
| 257 | core/java/android/service/voice/IVoiceInteractionSession.aidl \ |
| 258 | core/java/android/service/voice/IVoiceInteractionSessionService.aidl \ |
| 259 | core/java/android/service/wallpaper/IWallpaperConnection.aidl \ |
| 260 | core/java/android/service/wallpaper/IWallpaperEngine.aidl \ |
| 261 | core/java/android/service/wallpaper/IWallpaperService.aidl \ |
| 262 | core/java/android/service/chooser/IChooserTargetService.aidl \ |
| 263 | core/java/android/service/chooser/IChooserTargetResult.aidl \ |
| 264 | core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\ |
| 265 | core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\ |
| 266 | core/java/android/view/accessibility/IAccessibilityManager.aidl \ |
| 267 | core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \ |
| 268 | core/java/android/view/IApplicationToken.aidl \ |
Jorim Jaggi | 2f7d292 | 2015-10-29 13:08:29 +0100 | [diff] [blame] | 269 | core/java/android/view/IAppTransitionAnimationSpecsFuture.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 270 | core/java/android/view/IAssetAtlas.aidl \ |
Jorim Jaggi | a6c934e | 2015-12-21 13:22:31 +0100 | [diff] [blame] | 271 | core/java/android/view/IDockedStackListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 272 | core/java/android/view/IGraphicsStats.aidl \ |
| 273 | core/java/android/view/IInputFilter.aidl \ |
| 274 | core/java/android/view/IInputFilterHost.aidl \ |
| 275 | core/java/android/view/IOnKeyguardExitResult.aidl \ |
| 276 | core/java/android/view/IRotationWatcher.aidl \ |
| 277 | core/java/android/view/IWindow.aidl \ |
| 278 | core/java/android/view/IWindowFocusObserver.aidl \ |
| 279 | core/java/android/view/IWindowId.aidl \ |
| 280 | core/java/android/view/IWindowManager.aidl \ |
| 281 | core/java/android/view/IWindowSession.aidl \ |
| 282 | core/java/android/view/IWindowSessionCallback.aidl \ |
| 283 | core/java/android/webkit/IWebViewUpdateService.aidl \ |
| 284 | core/java/android/speech/IRecognitionListener.aidl \ |
| 285 | core/java/android/speech/IRecognitionService.aidl \ |
| 286 | core/java/android/speech/tts/ITextToSpeechCallback.aidl \ |
| 287 | core/java/android/speech/tts/ITextToSpeechService.aidl \ |
| 288 | core/java/com/android/internal/app/IAppOpsCallback.aidl \ |
| 289 | core/java/com/android/internal/app/IAppOpsService.aidl \ |
| 290 | core/java/com/android/internal/app/IAssistScreenshotReceiver.aidl \ |
| 291 | core/java/com/android/internal/app/IBatteryStats.aidl \ |
Todd Kennedy | b8a279e | 2015-11-18 09:59:47 -0800 | [diff] [blame] | 292 | core/java/com/android/internal/app/IEphemeralResolver.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 293 | core/java/com/android/internal/app/IProcessStats.aidl \ |
Arunesh Mishra | a772e5f | 2016-01-25 10:33:11 -0800 | [diff] [blame] | 294 | core/java/com/android/internal/app/ISoundTriggerService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 295 | core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl \ |
| 296 | core/java/com/android/internal/app/IVoiceInteractionSessionShowCallback.aidl \ |
| 297 | core/java/com/android/internal/app/IVoiceInteractor.aidl \ |
| 298 | core/java/com/android/internal/app/IVoiceInteractorCallback.aidl \ |
| 299 | core/java/com/android/internal/app/IVoiceInteractorRequest.aidl \ |
| 300 | core/java/com/android/internal/app/IMediaContainerService.aidl \ |
| 301 | core/java/com/android/internal/appwidget/IAppWidgetService.aidl \ |
| 302 | core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \ |
| 303 | core/java/com/android/internal/backup/IBackupTransport.aidl \ |
| 304 | core/java/com/android/internal/backup/IObbBackupService.aidl \ |
Jorim Jaggi | 4cfdcf5 | 2015-07-09 12:13:59 -0700 | [diff] [blame] | 305 | core/java/com/android/internal/policy/IKeyguardDrawnCallback.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 306 | core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \ |
| 307 | core/java/com/android/internal/policy/IKeyguardService.aidl \ |
| 308 | core/java/com/android/internal/policy/IKeyguardStateCallback.aidl \ |
| 309 | core/java/com/android/internal/os/IDropBoxManagerService.aidl \ |
| 310 | core/java/com/android/internal/os/IParcelFileDescriptorFactory.aidl \ |
| 311 | core/java/com/android/internal/os/IResultReceiver.aidl \ |
| 312 | core/java/com/android/internal/statusbar/IStatusBar.aidl \ |
| 313 | core/java/com/android/internal/statusbar/IStatusBarService.aidl \ |
| 314 | core/java/com/android/internal/textservice/ISpellCheckerService.aidl \ |
| 315 | core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \ |
| 316 | core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \ |
| 317 | core/java/com/android/internal/textservice/ITextServicesManager.aidl \ |
| 318 | core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \ |
Vladislav Kaznacheev | 9149d2b | 2015-12-15 12:16:28 -0800 | [diff] [blame] | 319 | core/java/com/android/internal/view/IDropPermissions.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 320 | core/java/com/android/internal/view/IInputContext.aidl \ |
| 321 | core/java/com/android/internal/view/IInputContextCallback.aidl \ |
| 322 | core/java/com/android/internal/view/IInputMethod.aidl \ |
| 323 | core/java/com/android/internal/view/IInputMethodClient.aidl \ |
| 324 | core/java/com/android/internal/view/IInputMethodManager.aidl \ |
| 325 | core/java/com/android/internal/view/IInputMethodSession.aidl \ |
| 326 | core/java/com/android/internal/view/IInputSessionCallback.aidl \ |
| 327 | core/java/com/android/internal/widget/ILockSettings.aidl \ |
| 328 | core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \ |
| 329 | core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \ |
| 330 | keystore/java/android/security/IKeyChainAliasCallback.aidl \ |
| 331 | keystore/java/android/security/IKeyChainService.aidl \ |
| 332 | location/java/android/location/ICountryDetector.aidl \ |
| 333 | location/java/android/location/ICountryListener.aidl \ |
| 334 | location/java/android/location/IFusedProvider.aidl \ |
| 335 | location/java/android/location/IGeocodeProvider.aidl \ |
| 336 | location/java/android/location/IGeofenceProvider.aidl \ |
Lifu Tang | 30f95a7 | 2016-01-07 23:20:38 -0800 | [diff] [blame] | 337 | location/java/android/location/IGnssStatusListener.aidl \ |
| 338 | location/java/android/location/IGnssStatusProvider.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 339 | location/java/android/location/IGpsMeasurementsListener.aidl \ |
| 340 | location/java/android/location/IGpsNavigationMessageListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 341 | location/java/android/location/ILocationListener.aidl \ |
| 342 | location/java/android/location/ILocationManager.aidl \ |
| 343 | location/java/android/location/IFusedGeofenceHardware.aidl \ |
| 344 | location/java/android/location/IGpsGeofenceHardware.aidl \ |
| 345 | location/java/android/location/INetInitiatedListener.aidl \ |
| 346 | location/java/com/android/internal/location/ILocationProvider.aidl \ |
| 347 | media/java/android/media/IAudioService.aidl \ |
| 348 | media/java/android/media/IAudioFocusDispatcher.aidl \ |
| 349 | media/java/android/media/IAudioRoutesObserver.aidl \ |
| 350 | media/java/android/media/IMediaHTTPConnection.aidl \ |
| 351 | media/java/android/media/IMediaHTTPService.aidl \ |
Dongwon Kang | 2034a4c | 2015-12-14 21:57:34 +0900 | [diff] [blame] | 352 | media/java/android/media/IMediaResourceMonitor.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 353 | media/java/android/media/IMediaRouterClient.aidl \ |
| 354 | media/java/android/media/IMediaRouterService.aidl \ |
| 355 | media/java/android/media/IMediaScannerListener.aidl \ |
| 356 | media/java/android/media/IMediaScannerService.aidl \ |
Jean-Michel Trivi | d3c71f0 | 2015-12-07 11:59:31 -0800 | [diff] [blame] | 357 | media/java/android/media/IRecordingConfigDispatcher.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 358 | media/java/android/media/IRemoteDisplayCallback.aidl \ |
| 359 | media/java/android/media/IRemoteDisplayProvider.aidl \ |
| 360 | media/java/android/media/IRemoteVolumeController.aidl \ |
| 361 | media/java/android/media/IRemoteVolumeObserver.aidl \ |
| 362 | media/java/android/media/IRingtonePlayer.aidl \ |
| 363 | media/java/android/media/IVolumeController.aidl \ |
| 364 | media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \ |
Phil Burk | 7cd06c0 | 2015-09-03 14:37:03 -0700 | [diff] [blame] | 365 | media/java/android/media/midi/IBluetoothMidiService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 366 | media/java/android/media/midi/IMidiDeviceListener.aidl \ |
Mike Lockwood | e0a6ca6 | 2015-06-04 13:43:56 -0700 | [diff] [blame] | 367 | media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 368 | media/java/android/media/midi/IMidiDeviceServer.aidl \ |
| 369 | media/java/android/media/midi/IMidiManager.aidl \ |
| 370 | media/java/android/media/projection/IMediaProjection.aidl \ |
| 371 | media/java/android/media/projection/IMediaProjectionCallback.aidl \ |
| 372 | media/java/android/media/projection/IMediaProjectionManager.aidl \ |
| 373 | media/java/android/media/projection/IMediaProjectionWatcherCallback.aidl \ |
| 374 | media/java/android/media/session/IActiveSessionsListener.aidl \ |
| 375 | media/java/android/media/session/ISessionController.aidl \ |
| 376 | media/java/android/media/session/ISessionControllerCallback.aidl \ |
| 377 | media/java/android/media/session/ISession.aidl \ |
| 378 | media/java/android/media/session/ISessionCallback.aidl \ |
| 379 | media/java/android/media/session/ISessionManager.aidl \ |
| 380 | media/java/android/media/tv/ITvInputClient.aidl \ |
| 381 | media/java/android/media/tv/ITvInputHardware.aidl \ |
| 382 | media/java/android/media/tv/ITvInputHardwareCallback.aidl \ |
| 383 | media/java/android/media/tv/ITvInputManager.aidl \ |
| 384 | media/java/android/media/tv/ITvInputManagerCallback.aidl \ |
| 385 | media/java/android/media/tv/ITvInputService.aidl \ |
| 386 | media/java/android/media/tv/ITvInputServiceCallback.aidl \ |
| 387 | media/java/android/media/tv/ITvInputSession.aidl \ |
| 388 | media/java/android/media/tv/ITvInputSessionCallback.aidl \ |
| 389 | media/java/android/service/media/IMediaBrowserService.aidl \ |
| 390 | media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl \ |
Sailesh Nepal | 1bef339 | 2016-01-24 18:21:53 -0800 | [diff] [blame] | 391 | telecomm/java/com/android/internal/telecom/ICallScreeningAdapter.aidl \ |
| 392 | telecomm/java/com/android/internal/telecom/ICallScreeningService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 393 | telecomm/java/com/android/internal/telecom/IVideoCallback.aidl \ |
| 394 | telecomm/java/com/android/internal/telecom/IVideoProvider.aidl \ |
| 395 | telecomm/java/com/android/internal/telecom/IConnectionService.aidl \ |
| 396 | telecomm/java/com/android/internal/telecom/IConnectionServiceAdapter.aidl \ |
| 397 | telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl \ |
| 398 | telecomm/java/com/android/internal/telecom/IInCallService.aidl \ |
| 399 | telecomm/java/com/android/internal/telecom/ITelecomService.aidl \ |
| 400 | telecomm/java/com/android/internal/telecom/RemoteServiceCallback.aidl \ |
| 401 | telephony/java/com/android/ims/internal/IImsCallSession.aidl \ |
| 402 | telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl \ |
| 403 | telephony/java/com/android/ims/internal/IImsConfig.aidl \ |
| 404 | telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl \ |
| 405 | telephony/java/com/android/ims/internal/IImsEcbm.aidl \ |
| 406 | telephony/java/com/android/ims/internal/IImsEcbmListener.aidl \ |
| 407 | telephony/java/com/android/ims/internal/IImsService.aidl \ |
| 408 | telephony/java/com/android/ims/internal/IImsStreamMediaSession.aidl \ |
| 409 | telephony/java/com/android/ims/internal/IImsUt.aidl \ |
| 410 | telephony/java/com/android/ims/internal/IImsUtListener.aidl \ |
| 411 | telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl \ |
| 412 | telephony/java/com/android/ims/internal/IImsVideoCallProvider.aidl \ |
| 413 | telephony/java/com/android/ims/ImsConfigListener.aidl \ |
| 414 | telephony/java/com/android/internal/telephony/ICarrierConfigLoader.aidl \ |
| 415 | telephony/java/com/android/internal/telephony/IMms.aidl \ |
| 416 | telephony/java/com/android/internal/telephony/IOnSubscriptionsChangedListener.aidl \ |
| 417 | telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \ |
| 418 | telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \ |
| 419 | telephony/java/com/android/internal/telephony/ISms.aidl \ |
| 420 | telephony/java/com/android/internal/telephony/ISub.aidl \ |
| 421 | telephony/java/com/android/internal/telephony/ITelephony.aidl \ |
Pavel Zhamaitsiak | 14ef095 | 2016-01-04 15:54:31 -0800 | [diff] [blame] | 422 | telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl \ |
Pavel Zhamaitsiak | ed0eecf | 2016-01-27 18:00:17 -0800 | [diff] [blame] | 423 | telephony/java/com/android/internal/telephony/ITelephonyDebugSubscriber.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 424 | telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \ |
| 425 | telephony/java/com/android/internal/telephony/IWapPushManager.aidl \ |
| 426 | wifi/java/android/net/wifi/IWifiManager.aidl \ |
Etan Cohen | 20d329b | 2015-09-29 13:49:02 -0700 | [diff] [blame] | 427 | wifi/java/android/net/wifi/nan/IWifiNanEventListener.aidl \ |
| 428 | wifi/java/android/net/wifi/nan/IWifiNanManager.aidl \ |
| 429 | wifi/java/android/net/wifi/nan/IWifiNanSessionListener.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 430 | wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \ |
| 431 | wifi/java/android/net/wifi/IWifiScanner.aidl \ |
| 432 | wifi/java/android/net/wifi/IRttManager.aidl \ |
| 433 | packages/services/PacProcessor/com/android/net/IProxyService.aidl \ |
| 434 | packages/services/Proxy/com/android/net/IProxyCallback.aidl \ |
| 435 | packages/services/Proxy/com/android/net/IProxyPortListener.aidl \ |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 436 | core/java/android/service/quicksettings/IQSService.aidl \ |
| 437 | core/java/android/service/quicksettings/IQSTileService.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 438 | |
Tao Bao | bdc7736 | 2016-01-19 15:52:28 -0800 | [diff] [blame] | 439 | # The following are native binders that need to go with the native component |
| 440 | # at system/update_engine/binder_bindings/. Use relative path to refer to them. |
| 441 | LOCAL_SRC_FILES += \ |
| 442 | ../../system/update_engine/binder_bindings/android/os/IUpdateEngine.aidl \ |
| 443 | ../../system/update_engine/binder_bindings/android/os/IUpdateEngineCallback.aidl \ |
| 444 | |
| 445 | LOCAL_AIDL_INCLUDES += system/update_engine/binder_bindings |
| 446 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 447 | # FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk |
Samuel Tan | 239951a | 2016-01-05 17:29:43 -0800 | [diff] [blame] | 448 | LOCAL_AIDL_INCLUDES += \ |
| 449 | $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) \ |
| 450 | frameworks/native/aidl/binder |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 451 | |
| 452 | LOCAL_INTERMEDIATE_SOURCES := \ |
| 453 | $(framework_res_source_path)/android/R.java \ |
| 454 | $(framework_res_source_path)/android/Manifest.java \ |
| 455 | $(framework_res_source_path)/com/android/internal/R.java |
| 456 | |
| 457 | LOCAL_NO_STANDARD_LIBRARIES := true |
Piotr Jastrzebski | cfa292e | 2015-02-17 16:58:52 +0000 | [diff] [blame] | 458 | LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp core-junit bouncycastle ext |
Chris Wren | 77781d3 | 2016-01-11 14:49:26 -0500 | [diff] [blame] | 459 | LOCAL_STATIC_JAVA_LIBRARIES := framework-protos |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 460 | |
| 461 | LOCAL_MODULE := framework |
| 462 | |
| 463 | LOCAL_DX_FLAGS := --core-library --multi-dex |
| 464 | LOCAL_JACK_FLAGS := --multi-dex native |
| 465 | |
| 466 | LOCAL_RMTYPEDEFS := true |
| 467 | |
| 468 | include $(BUILD_JAVA_LIBRARY) |
| 469 | framework_module := $(LOCAL_INSTALLED_MODULE) |
| 470 | |
| 471 | # Make sure that R.java and Manifest.java are built before we build |
| 472 | # the source for this library. |
| 473 | framework_res_R_stamp := \ |
| 474 | $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp |
| 475 | $(full_classes_compiled_jar): $(framework_res_R_stamp) |
| 476 | $(built_dex_intermediate): $(framework_res_R_stamp) |
| 477 | |
| 478 | $(framework_module): | $(dir $(framework_module))framework-res.apk |
| 479 | |
| 480 | framework_built := $(call java-lib-deps,framework) |
| 481 | |
| 482 | # Copy AIDL files to be preprocessed and included in the SDK, |
| 483 | # specified relative to the root of the build tree. |
| 484 | # ============================================================ |
| 485 | include $(CLEAR_VARS) |
| 486 | |
| 487 | aidl_files := \ |
| 488 | frameworks/base/telephony/java/android/telephony/ServiceState.aidl \ |
| 489 | frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \ |
| 490 | frameworks/base/telephony/java/android/telephony/CellInfo.aidl \ |
| 491 | frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \ |
| 492 | frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \ |
| 493 | frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \ |
Prerepa Viswanadham | 5c72899 | 2015-05-28 00:12:37 -0700 | [diff] [blame] | 494 | frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 495 | frameworks/base/location/java/android/location/Location.aidl \ |
| 496 | frameworks/base/location/java/android/location/Address.aidl \ |
| 497 | frameworks/base/location/java/android/location/Criteria.aidl \ |
| 498 | frameworks/base/media/java/android/media/MediaMetadata.aidl \ |
| 499 | frameworks/base/media/java/android/media/MediaDescription.aidl \ |
| 500 | frameworks/base/media/java/android/media/Rating.aidl \ |
| 501 | frameworks/base/media/java/android/media/AudioAttributes.aidl \ |
| 502 | frameworks/base/media/java/android/media/AudioFocusInfo.aidl \ |
| 503 | frameworks/base/media/java/android/media/session/PlaybackState.aidl \ |
| 504 | frameworks/base/media/java/android/media/session/MediaSession.aidl \ |
| 505 | frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \ |
| 506 | frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \ |
| 507 | frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \ |
| 508 | frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \ |
Etan Cohen | 20d329b | 2015-09-29 13:49:02 -0700 | [diff] [blame] | 509 | frameworks/base/wifi/java/android/net/wifi/nan/ConfigRequest.aidl \ |
| 510 | frameworks/base/wifi/java/android/net/wifi/nan/PublishData.aidl \ |
| 511 | frameworks/base/wifi/java/android/net/wifi/nan/SubscribeData.aidl \ |
| 512 | frameworks/base/wifi/java/android/net/wifi/nan/PublishSettings.aidl \ |
| 513 | frameworks/base/wifi/java/android/net/wifi/nan/SubscribeSettings.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 514 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \ |
| 515 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \ |
| 516 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \ |
| 517 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \ |
| 518 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \ |
| 519 | frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \ |
| 520 | frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \ |
| 521 | frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \ |
| 522 | frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \ |
Jan Nordqvist | 52eb29f | 2015-09-22 15:54:32 -0700 | [diff] [blame] | 523 | frameworks/base/wifi/java/android/net/wifi/ScanInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 524 | frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \ |
| 525 | frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \ |
| 526 | frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \ |
| 527 | frameworks/base/graphics/java/android/graphics/Region.aidl \ |
| 528 | frameworks/base/graphics/java/android/graphics/Bitmap.aidl \ |
| 529 | frameworks/base/graphics/java/android/graphics/Point.aidl \ |
| 530 | frameworks/base/graphics/java/android/graphics/PointF.aidl \ |
| 531 | frameworks/base/graphics/java/android/graphics/RectF.aidl \ |
| 532 | frameworks/base/graphics/java/android/graphics/Rect.aidl \ |
Philip P. Moltmann | bb9f686 | 2015-12-01 14:44:24 -0800 | [diff] [blame] | 533 | frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 534 | frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \ |
| 535 | frameworks/base/core/java/android/accounts/Account.aidl \ |
Rubin Xu | d86d58c | 2015-05-05 16:57:37 +0100 | [diff] [blame] | 536 | frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 537 | frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \ |
| 538 | frameworks/base/core/java/android/print/PageRange.aidl \ |
| 539 | frameworks/base/core/java/android/print/PrintAttributes.aidl \ |
| 540 | frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \ |
| 541 | frameworks/base/core/java/android/print/PrinterId.aidl \ |
| 542 | frameworks/base/core/java/android/print/PrintJobInfo.aidl \ |
| 543 | frameworks/base/core/java/android/print/PrinterInfo.aidl \ |
| 544 | frameworks/base/core/java/android/print/PrintJobId.aidl \ |
| 545 | frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \ |
| 546 | frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \ |
| 547 | frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \ |
| 548 | frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \ |
| 549 | frameworks/base/core/java/android/os/Messenger.aidl \ |
| 550 | frameworks/base/core/java/android/os/PatternMatcher.aidl \ |
| 551 | frameworks/base/core/java/android/os/Message.aidl \ |
| 552 | frameworks/base/core/java/android/os/UserHandle.aidl \ |
| 553 | frameworks/base/core/java/android/os/ParcelUuid.aidl \ |
| 554 | frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \ |
| 555 | frameworks/base/core/java/android/os/ResultReceiver.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 556 | frameworks/base/core/java/android/os/WorkSource.aidl \ |
| 557 | frameworks/base/core/java/android/os/DropBoxManager.aidl \ |
| 558 | frameworks/base/core/java/android/os/Bundle.aidl \ |
| 559 | frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \ |
| 560 | frameworks/base/core/java/android/net/Network.aidl \ |
| 561 | frameworks/base/core/java/android/net/RouteInfo.aidl \ |
| 562 | frameworks/base/core/java/android/net/NetworkInfo.aidl \ |
| 563 | frameworks/base/core/java/android/net/IpPrefix.aidl \ |
| 564 | frameworks/base/core/java/android/net/NetworkCapabilities.aidl \ |
| 565 | frameworks/base/core/java/android/net/DhcpInfo.aidl \ |
| 566 | frameworks/base/core/java/android/net/ProxyInfo.aidl \ |
| 567 | frameworks/base/core/java/android/net/LinkProperties.aidl \ |
| 568 | frameworks/base/core/java/android/net/Uri.aidl \ |
| 569 | frameworks/base/core/java/android/net/NetworkRequest.aidl \ |
| 570 | frameworks/base/core/java/android/net/LinkAddress.aidl \ |
P.Y. Laligand | b3b9eb3 | 2015-05-11 15:02:07 -0700 | [diff] [blame] | 571 | frameworks/base/core/java/android/view/Display.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 572 | frameworks/base/core/java/android/view/InputDevice.aidl \ |
| 573 | frameworks/base/core/java/android/view/InputEvent.aidl \ |
P.Y. Laligand | b3b9eb3 | 2015-05-11 15:02:07 -0700 | [diff] [blame] | 574 | frameworks/base/core/java/android/view/Surface.aidl \ |
| 575 | frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 576 | frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \ |
| 577 | frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \ |
| 578 | frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \ |
| 579 | frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \ |
| 580 | frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \ |
| 581 | frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \ |
| 582 | frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \ |
| 583 | frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \ |
| 584 | frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \ |
| 585 | frameworks/base/core/java/android/view/DragEvent.aidl \ |
| 586 | frameworks/base/core/java/android/view/KeyEvent.aidl \ |
| 587 | frameworks/base/core/java/android/view/WindowManager.aidl \ |
| 588 | frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \ |
| 589 | frameworks/base/core/java/android/view/MotionEvent.aidl \ |
| 590 | frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \ |
| 591 | frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \ |
| 592 | frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \ |
| 593 | frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \ |
| 594 | frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \ |
| 595 | frameworks/base/core/java/android/view/textservice/TextInfo.aidl \ |
| 596 | frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \ |
| 597 | frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \ |
| 598 | frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \ |
| 599 | frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \ |
| 600 | frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \ |
| 601 | frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \ |
| 602 | frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \ |
| 603 | frameworks/base/core/java/android/speech/tts/Voice.aidl \ |
| 604 | frameworks/base/core/java/android/app/usage/UsageEvents.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 605 | frameworks/base/core/java/android/app/Notification.aidl \ |
| 606 | frameworks/base/core/java/android/app/NotificationManager.aidl \ |
| 607 | frameworks/base/core/java/android/app/WallpaperInfo.aidl \ |
| 608 | frameworks/base/core/java/android/app/AppOpsManager.aidl \ |
| 609 | frameworks/base/core/java/android/app/ActivityManager.aidl \ |
| 610 | frameworks/base/core/java/android/app/PendingIntent.aidl \ |
| 611 | frameworks/base/core/java/android/app/AlarmManager.aidl \ |
| 612 | frameworks/base/core/java/android/app/SearchableInfo.aidl \ |
| 613 | frameworks/base/core/java/android/app/VoiceInteractor.aidl \ |
Dianne Hackborn | 69c6adc | 2015-06-02 10:52:59 -0700 | [diff] [blame] | 614 | frameworks/base/core/java/android/app/assist/AssistContent.aidl \ |
| 615 | frameworks/base/core/java/android/app/assist/AssistStructure.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 616 | frameworks/base/core/java/android/app/job/JobParameters.aidl \ |
| 617 | frameworks/base/core/java/android/app/job/JobInfo.aidl \ |
| 618 | frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \ |
| 619 | frameworks/base/core/java/android/content/ClipDescription.aidl \ |
| 620 | frameworks/base/core/java/android/content/IntentFilter.aidl \ |
| 621 | frameworks/base/core/java/android/content/Intent.aidl \ |
| 622 | frameworks/base/core/java/android/content/res/Configuration.aidl \ |
| 623 | frameworks/base/core/java/android/content/res/ObbInfo.aidl \ |
| 624 | frameworks/base/core/java/android/content/RestrictionEntry.aidl \ |
| 625 | frameworks/base/core/java/android/content/ClipData.aidl \ |
| 626 | frameworks/base/core/java/android/content/SyncAdapterType.aidl \ |
| 627 | frameworks/base/core/java/android/content/SyncRequest.aidl \ |
| 628 | frameworks/base/core/java/android/content/PeriodicSync.aidl \ |
| 629 | frameworks/base/core/java/android/content/SyncResult.aidl \ |
| 630 | frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \ |
| 631 | frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \ |
| 632 | frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \ |
| 633 | frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \ |
| 634 | frameworks/base/core/java/android/content/pm/Signature.aidl \ |
| 635 | frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \ |
| 636 | frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \ |
| 637 | frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \ |
| 638 | frameworks/base/core/java/android/content/pm/PackageInfo.aidl \ |
| 639 | frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \ |
| 640 | frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \ |
| 641 | frameworks/base/core/java/android/content/pm/PackageStats.aidl \ |
| 642 | frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \ |
| 643 | frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \ |
| 644 | frameworks/base/core/java/android/content/ComponentName.aidl \ |
| 645 | frameworks/base/core/java/android/content/SyncStats.aidl \ |
| 646 | frameworks/base/core/java/android/content/ContentValues.aidl \ |
| 647 | frameworks/base/core/java/android/content/SyncInfo.aidl \ |
| 648 | frameworks/base/core/java/android/content/IntentSender.aidl \ |
| 649 | frameworks/base/core/java/android/widget/RemoteViews.aidl \ |
| 650 | frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \ |
| 651 | frameworks/base/core/java/android/nfc/Tag.aidl \ |
| 652 | frameworks/base/core/java/android/nfc/NdefRecord.aidl \ |
| 653 | frameworks/base/core/java/android/nfc/NdefMessage.aidl \ |
| 654 | frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \ |
| 655 | frameworks/base/core/java/android/bluetooth/le/AdvertiseSettings.aidl \ |
| 656 | frameworks/base/core/java/android/bluetooth/le/ScanSettings.aidl \ |
| 657 | frameworks/base/core/java/android/bluetooth/le/AdvertiseData.aidl \ |
| 658 | frameworks/base/core/java/android/bluetooth/le/ScanFilter.aidl \ |
| 659 | frameworks/base/core/java/android/bluetooth/le/ScanResult.aidl \ |
| 660 | frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \ |
| 661 | frameworks/base/core/java/android/database/CursorWindow.aidl \ |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 662 | frameworks/base/core/java/android/service/quicksettings/Tile.aidl \ |
Samuel Tan | 239951a | 2016-01-05 17:29:43 -0800 | [diff] [blame] | 663 | frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 664 | |
| 665 | gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl |
| 666 | $(gen): PRIVATE_SRC_FILES := $(aidl_files) |
| 667 | ALL_SDK_FILES += $(gen) |
| 668 | $(gen): $(aidl_files) | $(AIDL) |
| 669 | @echo Aidl Preprocess: $@ |
| 670 | $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES) |
| 671 | |
| 672 | # the documentation |
| 673 | # ============================================================ |
| 674 | |
| 675 | # TODO: deal with com/google/android/googleapps |
| 676 | packages_to_document := \ |
| 677 | android \ |
| 678 | javax/microedition/khronos \ |
| 679 | org/apache/http/conn \ |
| 680 | org/apache/http/params |
| 681 | |
| 682 | |
| 683 | # Search through the base framework dirs for these packages. |
| 684 | # The result will be relative to frameworks/base. |
| 685 | fwbase_dirs_to_document := \ |
| 686 | test-runner/src \ |
| 687 | $(patsubst $(LOCAL_PATH)/%,%, \ |
| 688 | $(wildcard \ |
| 689 | $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \ |
| 690 | $(addprefix $(dir)/, $(packages_to_document)) \ |
| 691 | ) \ |
| 692 | ) \ |
| 693 | ) |
| 694 | |
| 695 | # include definition of libcore_to_document |
| 696 | include libcore/Docs.mk |
| 697 | |
| 698 | # include definition of junit_to_document |
| 699 | include external/junit/Common.mk |
| 700 | |
| 701 | non_base_dirs := \ |
| 702 | ../opt/telephony/src/java/android/provider \ |
| 703 | ../opt/telephony/src/java/android/telephony \ |
| 704 | ../opt/telephony/src/java/android/telephony/gsm \ |
| 705 | ../opt/net/voip/src/java/android/net/rtp \ |
| 706 | ../opt/net/voip/src/java/android/net/sip |
| 707 | |
| 708 | # These are relative to frameworks/base |
| 709 | dirs_to_check_apis := \ |
| 710 | $(fwbase_dirs_to_document) \ |
| 711 | $(non_base_dirs) |
| 712 | |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 713 | ########################################################### |
| 714 | ## Return all directories that have a 'NO_DOCS' file in |
| 715 | ## them, appending a '%' to them to form a pattern to |
| 716 | ## filter out files under those directories. |
| 717 | ## $(1): A list of base directories to look at. |
| 718 | ########################################################### |
| 719 | define find-no-docs-pattern |
| 720 | $(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS)))) |
| 721 | endef |
| 722 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 723 | # These are relative to frameworks/base |
| 724 | # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk |
| 725 | dirs_to_document := \ |
| 726 | $(dirs_to_check_apis) \ |
George Mount | a340f07 | 2015-07-13 16:45:34 -0700 | [diff] [blame] | 727 | $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \ |
| 728 | $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 729 | |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 730 | patterns_to_not_document := \ |
| 731 | $(call find-no-docs-pattern, $(dirs_to_document)) |
| 732 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 733 | # These are relative to frameworks/base |
| 734 | html_dirs := \ |
| 735 | $(FRAMEWORKS_BASE_SUBDIRS) \ |
| 736 | $(non_base_dirs) |
| 737 | |
| 738 | # Common sources for doc check and api check |
| 739 | common_src_files := \ |
| 740 | $(call find-other-html-files, $(html_dirs)) \ |
Neil Fuller | f961114 | 2015-10-07 10:30:56 +0100 | [diff] [blame] | 741 | $(addprefix ../../, $(libcore_to_document)) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 742 | $(addprefix ../../external/junit/, $(junit_to_document)) |
| 743 | |
| 744 | # These are relative to frameworks/base |
| 745 | framework_docs_LOCAL_SRC_FILES := \ |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 746 | $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 747 | $(common_src_files) |
| 748 | |
| 749 | # These are relative to frameworks/base |
| 750 | framework_docs_LOCAL_API_CHECK_SRC_FILES := \ |
| 751 | $(call find-other-java-files, $(dirs_to_check_apis)) \ |
| 752 | $(common_src_files) |
| 753 | |
| 754 | # This is used by ide.mk as the list of source files that are |
| 755 | # always included. |
| 756 | INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document)) |
| 757 | |
| 758 | framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \ |
| 759 | $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) |
| 760 | |
| 761 | framework_docs_LOCAL_INTERMEDIATE_SOURCES := \ |
| 762 | $(framework_res_source_path)/android/R.java \ |
| 763 | $(framework_res_source_path)/android/Manifest.java \ |
| 764 | $(framework_res_source_path)/com/android/internal/R.java |
| 765 | |
| 766 | framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \ |
Piotr Jastrzebski | cfa292e | 2015-02-17 16:58:52 +0000 | [diff] [blame] | 767 | core-oj \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 768 | core-libart \ |
| 769 | conscrypt \ |
| 770 | bouncycastle \ |
| 771 | okhttp \ |
| 772 | ext \ |
Rayhaan Jaufeerally | 2e47a6e | 2015-08-03 13:54:28 +0100 | [diff] [blame] | 773 | icu4j \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 774 | framework \ |
| 775 | telephony-common \ |
| 776 | voip-common |
| 777 | |
| 778 | framework_docs_LOCAL_JAVA_LIBRARIES := \ |
| 779 | $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \ |
| 780 | $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES) |
| 781 | |
| 782 | framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 783 | framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html |
| 784 | # The since flag (-since N.xml API_LEVEL) is used to add API Level information |
| 785 | # to the reference documentation. Must be in order of oldest to newest. |
| 786 | # |
| 787 | # Conscrypt (com.android.org.conscrypt) is an implementation detail and should |
| 788 | # not be referenced in the documentation. |
| 789 | framework_docs_LOCAL_DROIDDOC_OPTIONS := \ |
| 790 | -knowntags ./frameworks/base/docs/knowntags.txt \ |
Narayan Kamath | 2c4f284 | 2015-07-27 14:02:11 +0100 | [diff] [blame] | 791 | -knowntags ./libcore/known_oj_tags.txt \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 792 | -hidePackage com.android.org.conscrypt \ |
| 793 | -since $(SRC_API_DIR)/1.xml 1 \ |
| 794 | -since $(SRC_API_DIR)/2.xml 2 \ |
| 795 | -since $(SRC_API_DIR)/3.xml 3 \ |
| 796 | -since $(SRC_API_DIR)/4.xml 4 \ |
| 797 | -since $(SRC_API_DIR)/5.xml 5 \ |
| 798 | -since $(SRC_API_DIR)/6.xml 6 \ |
| 799 | -since $(SRC_API_DIR)/7.xml 7 \ |
| 800 | -since $(SRC_API_DIR)/8.xml 8 \ |
| 801 | -since $(SRC_API_DIR)/9.xml 9 \ |
| 802 | -since $(SRC_API_DIR)/10.xml 10 \ |
| 803 | -since $(SRC_API_DIR)/11.xml 11 \ |
| 804 | -since $(SRC_API_DIR)/12.xml 12 \ |
| 805 | -since $(SRC_API_DIR)/13.xml 13 \ |
| 806 | -since $(SRC_API_DIR)/14.txt 14 \ |
| 807 | -since $(SRC_API_DIR)/15.txt 15 \ |
| 808 | -since $(SRC_API_DIR)/16.txt 16 \ |
| 809 | -since $(SRC_API_DIR)/17.txt 17 \ |
| 810 | -since $(SRC_API_DIR)/18.txt 18 \ |
| 811 | -since $(SRC_API_DIR)/19.txt 19 \ |
| 812 | -since $(SRC_API_DIR)/20.txt 20 \ |
| 813 | -since $(SRC_API_DIR)/21.txt 21 \ |
| 814 | -since $(SRC_API_DIR)/22.txt 22 \ |
Joe Fernandez | 1827e32 | 2015-08-12 19:45:22 -0700 | [diff] [blame] | 815 | -since $(SRC_API_DIR)/23.txt 23 \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 816 | -werror -hide 111 -hide 113 \ |
| 817 | -overview $(LOCAL_PATH)/core/java/overview.html |
| 818 | |
| 819 | framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \ |
| 820 | $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON) |
| 821 | |
| 822 | framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \ |
| 823 | $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \ |
| 824 | $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \ |
| 825 | $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON)) |
| 826 | |
| 827 | framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \ |
Narayan Kamath | c21739a | 2015-07-14 13:39:23 +0100 | [diff] [blame] | 828 | frameworks/base/docs/knowntags.txt \ |
| 829 | libcore/Docs.mk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 830 | |
| 831 | samples_dir := development/samples/browseable |
| 832 | |
| 833 | # Whitelist of valid groups, used for default TOC grouping. Each sample must |
| 834 | # belong to one (and only one) group. Assign samples to groups by setting |
| 835 | # a sample.group var to one of these groups in the sample's _index.jd. |
| 836 | sample_groups := -samplegroup Admin \ |
| 837 | -samplegroup Background \ |
| 838 | -samplegroup Connectivity \ |
| 839 | -samplegroup Content \ |
| 840 | -samplegroup Input \ |
| 841 | -samplegroup Media \ |
| 842 | -samplegroup Notification \ |
| 843 | -samplegroup RenderScript \ |
| 844 | -samplegroup Security \ |
| 845 | -samplegroup Sensors \ |
Trevor Johns | 4cbe359 | 2015-05-27 14:50:51 -0700 | [diff] [blame] | 846 | -samplegroup System \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 847 | -samplegroup Testing \ |
| 848 | -samplegroup UI \ |
| 849 | -samplegroup Views \ |
| 850 | -samplegroup Wearable |
| 851 | |
| 852 | ## SDK version identifiers used in the published docs |
| 853 | # major[.minor] version for current SDK. (full releases only) |
Joe Fernandez | 1827e32 | 2015-08-12 19:45:22 -0700 | [diff] [blame] | 854 | framework_docs_SDK_VERSION:=6.0 |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 855 | # release version (ie "Release x") (full releases only) |
| 856 | framework_docs_SDK_REL_ID:=1 |
| 857 | |
| 858 | framework_docs_LOCAL_DROIDDOC_OPTIONS += \ |
| 859 | -hdf sdk.version $(framework_docs_SDK_VERSION) \ |
| 860 | -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \ |
| 861 | -hdf sdk.preview 0 |
| 862 | |
| 863 | # ==== the api stubs and current.xml =========================== |
| 864 | include $(CLEAR_VARS) |
| 865 | |
| 866 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
| 867 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 868 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 869 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 870 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 871 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 872 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 873 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 874 | |
| 875 | LOCAL_MODULE := api-stubs |
| 876 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 877 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src |
| 878 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 879 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 880 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 881 | -api $(INTERNAL_PLATFORM_API_FILE) \ |
| 882 | -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \ |
| 883 | -nodocs |
| 884 | |
| 885 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 886 | |
| 887 | LOCAL_UNINSTALLABLE_MODULE := true |
| 888 | |
| 889 | include $(BUILD_DROIDDOC) |
| 890 | |
| 891 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
| 892 | $(full_target): $(framework_built) $(gen) |
| 893 | $(INTERNAL_PLATFORM_API_FILE): $(full_target) |
| 894 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE)) |
| 895 | |
| 896 | # ==== the system api stubs =================================== |
| 897 | include $(CLEAR_VARS) |
| 898 | |
| 899 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
| 900 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 901 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 902 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 903 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 904 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 905 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 906 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 907 | |
| 908 | LOCAL_MODULE := system-api-stubs |
| 909 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 910 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src |
| 911 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 912 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 913 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 914 | -showAnnotation android.annotation.SystemApi \ |
| 915 | -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \ |
| 916 | -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \ |
| 917 | -nodocs |
| 918 | |
| 919 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 920 | |
| 921 | LOCAL_UNINSTALLABLE_MODULE := true |
| 922 | |
| 923 | include $(BUILD_DROIDDOC) |
| 924 | |
| 925 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
| 926 | $(full_target): $(framework_built) $(gen) |
| 927 | $(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target) |
| 928 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE)) |
| 929 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 930 | # ==== the test api stubs =================================== |
| 931 | include $(CLEAR_VARS) |
| 932 | |
| 933 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
| 934 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 935 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 936 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 937 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 938 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 939 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 940 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 941 | |
| 942 | LOCAL_MODULE := test-api-stubs |
| 943 | |
| 944 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src |
| 945 | |
| 946 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 947 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 948 | -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \ |
| 949 | -showAnnotation android.annotation.TestApi \ |
| 950 | -api $(INTERNAL_PLATFORM_TEST_API_FILE) \ |
| 951 | -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \ |
| 952 | -nodocs |
| 953 | |
| 954 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 955 | |
| 956 | LOCAL_UNINSTALLABLE_MODULE := true |
| 957 | |
| 958 | include $(BUILD_DROIDDOC) |
| 959 | |
| 960 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
| 961 | $(full_target): $(framework_built) $(gen) |
| 962 | $(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target) |
| 963 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE)) |
| 964 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 965 | # ==== check javadoc comments but don't generate docs ======== |
| 966 | include $(CLEAR_VARS) |
| 967 | |
| 968 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 969 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 970 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 971 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 972 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 973 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 974 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 975 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 976 | |
| 977 | LOCAL_MODULE := doc-comment-check |
| 978 | |
| 979 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 980 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 981 | -parsecomments |
| 982 | |
| 983 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 984 | |
| 985 | LOCAL_UNINSTALLABLE_MODULE := true |
| 986 | |
| 987 | include $(BUILD_DROIDDOC) |
| 988 | |
| 989 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
| 990 | $(full_target): $(framework_built) $(gen) |
| 991 | |
| 992 | # Run this for checkbuild |
| 993 | checkbuild: doc-comment-check-docs |
| 994 | # Check comment when you are updating the API |
| 995 | update-api: doc-comment-check-docs |
| 996 | |
| 997 | # ==== static html in the sdk ================================== |
| 998 | include $(CLEAR_VARS) |
| 999 | |
| 1000 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1001 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1002 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1003 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1004 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1005 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 1006 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1007 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1008 | |
| 1009 | LOCAL_MODULE := offline-sdk |
| 1010 | |
| 1011 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 1012 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1013 | -offlinemode \ |
| 1014 | -title "Android SDK" \ |
| 1015 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
| 1016 | -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \ |
| 1017 | -sdkvalues $(OUT_DOCS) \ |
| 1018 | -hdf android.whichdoc offline |
| 1019 | |
| 1020 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 1021 | |
| 1022 | include $(BUILD_DROIDDOC) |
| 1023 | |
| 1024 | static_doc_index_redirect := $(out_dir)/index.html |
| 1025 | $(static_doc_index_redirect): \ |
| 1026 | $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP) |
| 1027 | $(hide) mkdir -p $(dir $@) |
| 1028 | $(hide) $(ACP) $< $@ |
| 1029 | |
| 1030 | $(full_target): $(static_doc_index_redirect) |
| 1031 | $(full_target): $(framework_built) |
| 1032 | |
| 1033 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
| 1034 | include $(CLEAR_VARS) |
| 1035 | |
| 1036 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1037 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1038 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 1039 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1040 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1041 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1042 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 1043 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1044 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1045 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 1046 | |
| 1047 | LOCAL_MODULE := online-sdk |
| 1048 | |
| 1049 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 1050 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1051 | -toroot / \ |
| 1052 | -hdf android.whichdoc online \ |
| 1053 | $(sample_groups) \ |
| 1054 | -hdf android.hasSamples true \ |
| 1055 | -samplesdir $(samples_dir) |
| 1056 | |
| 1057 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 1058 | |
| 1059 | include $(BUILD_DROIDDOC) |
| 1060 | |
| 1061 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
| 1062 | # TODO: Fix the System API docs build. |
| 1063 | ifneq ($(filter online-system-api-sdk-docs,$(MAKECMDGOALS)),) |
| 1064 | include $(CLEAR_VARS) |
| 1065 | |
| 1066 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1067 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1068 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 1069 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1070 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1071 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1072 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 1073 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1074 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1075 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 1076 | |
| 1077 | LOCAL_MODULE := online-system-api-sdk |
| 1078 | |
| 1079 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 1080 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1081 | -showAnnotation android.annotation.SystemApi \ |
| 1082 | -title "Android SDK - Including system APIs." \ |
| 1083 | -toroot / \ |
| 1084 | -hdf android.whichdoc online \ |
| 1085 | $(sample_groups) \ |
| 1086 | -hdf android.hasSamples true \ |
| 1087 | -samplesdir $(samples_dir) |
| 1088 | |
| 1089 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 1090 | # Don't build by default |
| 1091 | LOCAL_UNINSTALLABLE_MODULE := true |
| 1092 | |
| 1093 | include $(BUILD_DROIDDOC) |
| 1094 | endif # online-system-api-sdk-docs in make command line. |
| 1095 | |
| 1096 | # ==== docs for the web (on the devsite app engine server) ======================= |
| 1097 | include $(CLEAR_VARS) |
| 1098 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1099 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1100 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 1101 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1102 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1103 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1104 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 1105 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1106 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1107 | # specify a second html input dir and an output path relative to OUT_DIR) |
| 1108 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl / |
| 1109 | |
| 1110 | LOCAL_MODULE := ds |
| 1111 | |
| 1112 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 1113 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1114 | -devsite \ |
| 1115 | -toroot / \ |
| 1116 | -hdf android.whichdoc online \ |
| 1117 | -hdf devsite true |
| 1118 | |
| 1119 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 1120 | |
| 1121 | include $(BUILD_DROIDDOC) |
| 1122 | |
| 1123 | # ==== docs for the ndk ======================= |
| 1124 | include $(CLEAR_VARS) |
| 1125 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1126 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1127 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 1128 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1129 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1130 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1131 | LOCAL_DROIDDOC_HTML_DIR:=docs/html-ndk |
| 1132 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1133 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1134 | # specify a second html input dir and an output path relative to OUT_DIR) |
| 1135 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl/intl / |
| 1136 | |
| 1137 | LOCAL_MODULE := online-ndk |
| 1138 | |
| 1139 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 1140 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1141 | -toroot / \ |
| 1142 | -hdf android.whichdoc online \ |
| 1143 | $(sample_groups) \ |
| 1144 | -hdf android.hasSamples true \ |
| 1145 | -samplesdir $(samples_dir) |
| 1146 | |
Dirk Dougherty | 85dea52 | 2015-05-21 14:20:25 -0700 | [diff] [blame] | 1147 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 1148 | |
| 1149 | include $(BUILD_DROIDDOC) |
| 1150 | |
| 1151 | |
| 1152 | # ==== docs that have all of the stuff that's @hidden ======================= |
| 1153 | include $(CLEAR_VARS) |
| 1154 | |
| 1155 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
| 1156 | LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) |
| 1157 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 1158 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 1159 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 1160 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 1161 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 1162 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 1163 | |
| 1164 | LOCAL_MODULE := hidden |
| 1165 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 1166 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 1167 | -title "Android SDK - Including hidden APIs." |
| 1168 | # -hidden |
| 1169 | |
| 1170 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 1171 | |
| 1172 | include $(BUILD_DROIDDOC) |
| 1173 | |
| 1174 | # Build ext.jar |
| 1175 | # ============================================================ |
| 1176 | |
| 1177 | ext_dirs := \ |
| 1178 | ../../external/nist-sip/java \ |
| 1179 | ../../external/tagsoup/src \ |
| 1180 | |
| 1181 | ext_src_files := $(call all-java-files-under,$(ext_dirs)) |
| 1182 | |
| 1183 | # ==== the library ========================================= |
| 1184 | include $(CLEAR_VARS) |
| 1185 | |
| 1186 | LOCAL_SRC_FILES := $(ext_src_files) |
| 1187 | |
| 1188 | LOCAL_NO_STANDARD_LIBRARIES := true |
Piotr Jastrzebski | cfa292e | 2015-02-17 16:58:52 +0000 | [diff] [blame] | 1189 | LOCAL_JAVA_LIBRARIES := core-oj core-libart |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 1190 | LOCAL_STATIC_JAVA_LIBRARIES := libphonenumber-platform |
| 1191 | LOCAL_MODULE_TAGS := optional |
| 1192 | LOCAL_MODULE := ext |
| 1193 | |
| 1194 | LOCAL_DX_FLAGS := --core-library |
| 1195 | |
| 1196 | include $(BUILD_JAVA_LIBRARY) |
| 1197 | |
| 1198 | |
| 1199 | # Include subdirectory makefiles |
| 1200 | # ============================================================ |
| 1201 | |
| 1202 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 1203 | # team really wants is to build the stuff defined by this makefile. |
| 1204 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 1205 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 1206 | endif |
| 1207 | |
| 1208 | endif # ANDROID_BUILD_EMBEDDED |