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