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