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