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 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 18 | # Load framework-specific path mappings used later in the build. |
| 19 | include $(LOCAL_PATH)/pathmap.mk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 20 | |
| 21 | # Build the master framework library. |
| 22 | # The framework contains too many method references (>64K) for poor old DEX. |
| 23 | # So we first build the framework as a monolithic static library then split it |
| 24 | # up into smaller pieces. |
| 25 | # ============================================================ |
| 26 | |
| 27 | # embedded builds use nothing in frameworks/base |
| 28 | ifneq ($(ANDROID_BUILD_EMBEDDED),true) |
| 29 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 30 | # Copy AIDL files to be preprocessed and included in the SDK, |
| 31 | # specified relative to the root of the build tree. |
| 32 | # ============================================================ |
| 33 | include $(CLEAR_VARS) |
| 34 | |
| 35 | aidl_files := \ |
Robert Greenwalt | 4dded7a | 2016-12-05 16:33:32 -0800 | [diff] [blame] | 36 | frameworks/base/telephony/java/android/telephony/mbms/DownloadRequest.aidl \ |
Robert Greenwalt | 4dded7a | 2016-12-05 16:33:32 -0800 | [diff] [blame] | 37 | frameworks/base/telephony/java/android/telephony/mbms/FileInfo.aidl \ |
| 38 | frameworks/base/telephony/java/android/telephony/mbms/FileServiceInfo.aidl \ |
| 39 | frameworks/base/telephony/java/android/telephony/mbms/ServiceInfo.aidl \ |
Robert Greenwalt | 4dded7a | 2016-12-05 16:33:32 -0800 | [diff] [blame] | 40 | frameworks/base/telephony/java/android/telephony/mbms/StreamingServiceInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 41 | frameworks/base/telephony/java/android/telephony/ServiceState.aidl \ |
| 42 | frameworks/base/telephony/java/android/telephony/SubscriptionInfo.aidl \ |
| 43 | frameworks/base/telephony/java/android/telephony/CellInfo.aidl \ |
| 44 | frameworks/base/telephony/java/android/telephony/SignalStrength.aidl \ |
| 45 | frameworks/base/telephony/java/android/telephony/IccOpenLogicalChannelResponse.aidl \ |
| 46 | frameworks/base/telephony/java/android/telephony/NeighboringCellInfo.aidl \ |
Prerepa Viswanadham | 5c72899 | 2015-05-28 00:12:37 -0700 | [diff] [blame] | 47 | frameworks/base/telephony/java/android/telephony/ModemActivityInfo.aidl \ |
Jeff Davidson | 35cda39 | 2017-02-27 09:46:00 -0800 | [diff] [blame] | 48 | frameworks/base/telephony/java/android/telephony/UiccAccessRule.aidl \ |
Jack Yu | 1d1022e | 2017-11-20 11:14:23 -0800 | [diff] [blame] | 49 | frameworks/base/telephony/java/android/telephony/data/DataProfile.aidl \ |
Jeff Davidson | 35cda39 | 2017-02-27 09:46:00 -0800 | [diff] [blame] | 50 | frameworks/base/telephony/java/android/telephony/euicc/DownloadableSubscription.aidl \ |
Jeff Davidson | 91c3d07 | 2017-04-12 12:17:11 -0700 | [diff] [blame] | 51 | frameworks/base/telephony/java/android/telephony/euicc/EuiccInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 52 | frameworks/base/location/java/android/location/Location.aidl \ |
| 53 | frameworks/base/location/java/android/location/Address.aidl \ |
| 54 | frameworks/base/location/java/android/location/Criteria.aidl \ |
| 55 | frameworks/base/media/java/android/media/MediaMetadata.aidl \ |
| 56 | frameworks/base/media/java/android/media/MediaDescription.aidl \ |
| 57 | frameworks/base/media/java/android/media/Rating.aidl \ |
| 58 | frameworks/base/media/java/android/media/AudioAttributes.aidl \ |
| 59 | frameworks/base/media/java/android/media/AudioFocusInfo.aidl \ |
| 60 | frameworks/base/media/java/android/media/session/PlaybackState.aidl \ |
| 61 | frameworks/base/media/java/android/media/session/MediaSession.aidl \ |
| 62 | frameworks/base/media/java/android/media/tv/TvInputInfo.aidl \ |
| 63 | frameworks/base/media/java/android/media/tv/TvTrackInfo.aidl \ |
| 64 | frameworks/base/media/java/android/media/browse/MediaBrowser.aidl \ |
| 65 | frameworks/base/wifi/java/android/net/wifi/ScanSettings.aidl \ |
Etan Cohen | 0413327 | 2016-10-26 11:22:06 -0700 | [diff] [blame] | 66 | frameworks/base/wifi/java/android/net/wifi/aware/ConfigRequest.aidl \ |
| 67 | frameworks/base/wifi/java/android/net/wifi/aware/PublishConfig.aidl \ |
| 68 | frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 69 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pInfo.aidl \ |
| 70 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDeviceList.aidl \ |
| 71 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pConfig.aidl \ |
| 72 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \ |
| 73 | frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \ |
| 74 | frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceRequest.aidl \ |
| 75 | frameworks/base/wifi/java/android/net/wifi/p2p/nsd/WifiP2pServiceInfo.aidl \ |
| 76 | frameworks/base/wifi/java/android/net/wifi/WpsInfo.aidl \ |
| 77 | frameworks/base/wifi/java/android/net/wifi/ScanResult.aidl \ |
Vinit Deshpande | a772f0c | 2016-01-27 19:05:24 -0800 | [diff] [blame] | 78 | frameworks/base/wifi/java/android/net/wifi/PasspointManagementObjectDefinition.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 79 | frameworks/base/wifi/java/android/net/wifi/WifiEnterpriseConfig.aidl \ |
| 80 | frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.aidl \ |
| 81 | frameworks/base/wifi/java/android/net/wifi/WifiInfo.aidl \ |
| 82 | frameworks/base/graphics/java/android/graphics/Region.aidl \ |
| 83 | frameworks/base/graphics/java/android/graphics/Bitmap.aidl \ |
| 84 | frameworks/base/graphics/java/android/graphics/Point.aidl \ |
| 85 | frameworks/base/graphics/java/android/graphics/PointF.aidl \ |
| 86 | frameworks/base/graphics/java/android/graphics/RectF.aidl \ |
| 87 | frameworks/base/graphics/java/android/graphics/Rect.aidl \ |
Philip P. Moltmann | bb9f686 | 2015-12-01 14:44:24 -0800 | [diff] [blame] | 88 | frameworks/base/graphics/java/android/graphics/drawable/Icon.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 89 | frameworks/base/core/java/android/accounts/AuthenticatorDescription.aidl \ |
| 90 | frameworks/base/core/java/android/accounts/Account.aidl \ |
Michal Karpinski | f77ee4f | 2016-10-12 16:40:06 +0100 | [diff] [blame] | 91 | frameworks/base/core/java/android/app/admin/ConnectEvent.aidl \ |
| 92 | frameworks/base/core/java/android/app/admin/DnsEvent.aidl \ |
| 93 | frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \ |
Rubin Xu | d86d58c | 2015-05-05 16:57:37 +0100 | [diff] [blame] | 94 | frameworks/base/core/java/android/app/admin/SystemUpdatePolicy.aidl \ |
Andrew Scull | 5f9e6f3 | 2016-08-02 14:22:17 +0100 | [diff] [blame] | 95 | frameworks/base/core/java/android/app/admin/PasswordMetrics.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 96 | frameworks/base/core/java/android/print/PrintDocumentInfo.aidl \ |
| 97 | frameworks/base/core/java/android/print/PageRange.aidl \ |
| 98 | frameworks/base/core/java/android/print/PrintAttributes.aidl \ |
| 99 | frameworks/base/core/java/android/print/PrinterCapabilitiesInfo.aidl \ |
| 100 | frameworks/base/core/java/android/print/PrinterId.aidl \ |
| 101 | frameworks/base/core/java/android/print/PrintJobInfo.aidl \ |
| 102 | frameworks/base/core/java/android/print/PrinterInfo.aidl \ |
| 103 | frameworks/base/core/java/android/print/PrintJobId.aidl \ |
Philip P. Moltmann | 9dcb86a | 2016-03-14 14:31:12 -0700 | [diff] [blame] | 104 | frameworks/base/core/java/android/printservice/recommendation/RecommendationInfo.aidl \ |
Tomasz Wasilczyk | 8cfb0e8 | 2017-07-12 13:59:20 -0700 | [diff] [blame] | 105 | frameworks/base/core/java/android/hardware/radio/ProgramSelector.aidl \ |
Tomasz Wasilczyk | 347192e | 2017-04-04 11:13:44 -0700 | [diff] [blame] | 106 | frameworks/base/core/java/android/hardware/radio/RadioManager.aidl \ |
Tomasz Wasilczyk | c9a1ac7 | 2017-05-17 21:29:28 -0700 | [diff] [blame] | 107 | frameworks/base/core/java/android/hardware/radio/RadioMetadata.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 108 | frameworks/base/core/java/android/hardware/usb/UsbDevice.aidl \ |
| 109 | frameworks/base/core/java/android/hardware/usb/UsbInterface.aidl \ |
| 110 | frameworks/base/core/java/android/hardware/usb/UsbEndpoint.aidl \ |
| 111 | frameworks/base/core/java/android/hardware/usb/UsbAccessory.aidl \ |
| 112 | frameworks/base/core/java/android/os/Messenger.aidl \ |
| 113 | frameworks/base/core/java/android/os/PatternMatcher.aidl \ |
| 114 | frameworks/base/core/java/android/os/Message.aidl \ |
| 115 | frameworks/base/core/java/android/os/UserHandle.aidl \ |
| 116 | frameworks/base/core/java/android/os/ParcelUuid.aidl \ |
| 117 | frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \ |
| 118 | frameworks/base/core/java/android/os/ResultReceiver.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 119 | frameworks/base/core/java/android/os/WorkSource.aidl \ |
| 120 | frameworks/base/core/java/android/os/DropBoxManager.aidl \ |
| 121 | frameworks/base/core/java/android/os/Bundle.aidl \ |
Sudheer Shanka | cc6418f | 2016-10-13 12:03:44 -0700 | [diff] [blame] | 122 | frameworks/base/core/java/android/os/Debug.aidl \ |
John Reck | dea6a02 | 2017-05-25 17:09:33 -0700 | [diff] [blame] | 123 | frameworks/base/core/java/android/os/SharedMemory.aidl \ |
Sudheer Shanka | fc46e9b | 2016-10-21 17:55:27 -0700 | [diff] [blame] | 124 | frameworks/base/core/java/android/os/StrictMode.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 125 | frameworks/base/core/java/android/accessibilityservice/AccessibilityServiceInfo.aidl \ |
| 126 | frameworks/base/core/java/android/net/Network.aidl \ |
| 127 | frameworks/base/core/java/android/net/RouteInfo.aidl \ |
| 128 | frameworks/base/core/java/android/net/NetworkInfo.aidl \ |
| 129 | frameworks/base/core/java/android/net/IpPrefix.aidl \ |
| 130 | frameworks/base/core/java/android/net/NetworkCapabilities.aidl \ |
| 131 | frameworks/base/core/java/android/net/DhcpInfo.aidl \ |
| 132 | frameworks/base/core/java/android/net/ProxyInfo.aidl \ |
| 133 | frameworks/base/core/java/android/net/LinkProperties.aidl \ |
| 134 | frameworks/base/core/java/android/net/Uri.aidl \ |
| 135 | frameworks/base/core/java/android/net/NetworkRequest.aidl \ |
| 136 | frameworks/base/core/java/android/net/LinkAddress.aidl \ |
Svet Ganov | 53a441c | 2016-04-19 19:38:00 -0700 | [diff] [blame] | 137 | frameworks/base/core/java/android/util/MemoryIntArray.aidl \ |
P.Y. Laligand | b3b9eb3 | 2015-05-11 15:02:07 -0700 | [diff] [blame] | 138 | frameworks/base/core/java/android/view/Display.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 139 | frameworks/base/core/java/android/view/InputDevice.aidl \ |
| 140 | frameworks/base/core/java/android/view/InputEvent.aidl \ |
Eino-Ville Talvala | 5d2d778 | 2015-12-17 16:50:50 -0800 | [diff] [blame] | 141 | frameworks/native/aidl/gui/android/view/Surface.aidl \ |
P.Y. Laligand | b3b9eb3 | 2015-05-11 15:02:07 -0700 | [diff] [blame] | 142 | frameworks/base/core/java/android/view/WindowContentFrameStats.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 143 | frameworks/base/core/java/android/view/inputmethod/InputMethodSubtype.aidl \ |
| 144 | frameworks/base/core/java/android/view/inputmethod/CursorAnchorInfo.aidl \ |
| 145 | frameworks/base/core/java/android/view/inputmethod/CompletionInfo.aidl \ |
| 146 | frameworks/base/core/java/android/view/inputmethod/ExtractedText.aidl \ |
| 147 | frameworks/base/core/java/android/view/inputmethod/EditorInfo.aidl \ |
| 148 | frameworks/base/core/java/android/view/inputmethod/InputMethodInfo.aidl \ |
| 149 | frameworks/base/core/java/android/view/inputmethod/CorrectionInfo.aidl \ |
| 150 | frameworks/base/core/java/android/view/inputmethod/InputBinding.aidl \ |
| 151 | frameworks/base/core/java/android/view/inputmethod/ExtractedTextRequest.aidl \ |
| 152 | frameworks/base/core/java/android/view/DragEvent.aidl \ |
| 153 | frameworks/base/core/java/android/view/KeyEvent.aidl \ |
| 154 | frameworks/base/core/java/android/view/WindowManager.aidl \ |
| 155 | frameworks/base/core/java/android/view/WindowAnimationFrameStats.aidl \ |
| 156 | frameworks/base/core/java/android/view/MotionEvent.aidl \ |
| 157 | frameworks/base/core/java/android/view/accessibility/AccessibilityNodeInfo.aidl \ |
| 158 | frameworks/base/core/java/android/view/accessibility/AccessibilityRecord.aidl \ |
| 159 | frameworks/base/core/java/android/view/accessibility/AccessibilityWindowInfo.aidl \ |
| 160 | frameworks/base/core/java/android/view/accessibility/AccessibilityEvent.aidl \ |
| 161 | frameworks/base/core/java/android/view/textservice/SpellCheckerSubtype.aidl \ |
| 162 | frameworks/base/core/java/android/view/textservice/TextInfo.aidl \ |
| 163 | frameworks/base/core/java/android/view/textservice/SpellCheckerInfo.aidl \ |
| 164 | frameworks/base/core/java/android/view/textservice/SentenceSuggestionsInfo.aidl \ |
| 165 | frameworks/base/core/java/android/view/textservice/SuggestionsInfo.aidl \ |
| 166 | frameworks/base/core/java/android/service/carrier/CarrierIdentifier.aidl \ |
| 167 | frameworks/base/core/java/android/service/carrier/MessagePdu.aidl \ |
Jeff Davidson | 91c3d07 | 2017-04-12 12:17:11 -0700 | [diff] [blame] | 168 | frameworks/base/core/java/android/service/euicc/GetDefaultDownloadableSubscriptionListResult.aidl \ |
Jeff Davidson | 35cda39 | 2017-02-27 09:46:00 -0800 | [diff] [blame] | 169 | frameworks/base/core/java/android/service/euicc/GetDownloadableSubscriptionMetadataResult.aidl \ |
Jeff Davidson | d02731f | 2017-04-09 14:31:09 -0700 | [diff] [blame] | 170 | frameworks/base/core/java/android/service/euicc/GetEuiccProfileInfoListResult.aidl \ |
Julia Reynolds | 22f02b3 | 2016-12-01 15:05:13 -0500 | [diff] [blame] | 171 | frameworks/base/core/java/android/service/notification/Adjustment.aidl \ |
| 172 | frameworks/base/core/java/android/service/notification/Condition.aidl \ |
| 173 | frameworks/base/core/java/android/service/notification/SnoozeCriterion.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 174 | frameworks/base/core/java/android/service/notification/StatusBarNotification.aidl \ |
| 175 | frameworks/base/core/java/android/service/chooser/ChooserTarget.aidl \ |
Kang Li | bbced1c | 2017-04-05 12:30:55 -0700 | [diff] [blame] | 176 | frameworks/base/core/java/android/service/resolver/ResolverTarget.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 177 | frameworks/base/core/java/android/speech/tts/Voice.aidl \ |
Daniel Nishi | cf9d19e | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 178 | frameworks/base/core/java/android/app/usage/CacheQuotaHint.aidl \ |
Jeff Sharkey | 8dedad3 | 2017-01-09 18:21:21 -0700 | [diff] [blame] | 179 | frameworks/base/core/java/android/app/usage/ExternalStorageStats.aidl \ |
Jeff Sharkey | e8cece9 | 2017-01-04 11:33:33 -0700 | [diff] [blame] | 180 | frameworks/base/core/java/android/app/usage/StorageStats.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 181 | frameworks/base/core/java/android/app/usage/UsageEvents.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 182 | frameworks/base/core/java/android/app/Notification.aidl \ |
| 183 | frameworks/base/core/java/android/app/NotificationManager.aidl \ |
| 184 | frameworks/base/core/java/android/app/WallpaperInfo.aidl \ |
| 185 | frameworks/base/core/java/android/app/AppOpsManager.aidl \ |
| 186 | frameworks/base/core/java/android/app/ActivityManager.aidl \ |
| 187 | frameworks/base/core/java/android/app/PendingIntent.aidl \ |
| 188 | frameworks/base/core/java/android/app/AlarmManager.aidl \ |
| 189 | frameworks/base/core/java/android/app/SearchableInfo.aidl \ |
| 190 | frameworks/base/core/java/android/app/VoiceInteractor.aidl \ |
Dianne Hackborn | 69c6adc | 2015-06-02 10:52:59 -0700 | [diff] [blame] | 191 | frameworks/base/core/java/android/app/assist/AssistContent.aidl \ |
| 192 | frameworks/base/core/java/android/app/assist/AssistStructure.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 193 | frameworks/base/core/java/android/app/job/JobParameters.aidl \ |
| 194 | frameworks/base/core/java/android/app/job/JobInfo.aidl \ |
| 195 | frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \ |
| 196 | frameworks/base/core/java/android/content/ClipDescription.aidl \ |
| 197 | frameworks/base/core/java/android/content/IntentFilter.aidl \ |
| 198 | frameworks/base/core/java/android/content/Intent.aidl \ |
| 199 | frameworks/base/core/java/android/content/res/Configuration.aidl \ |
| 200 | frameworks/base/core/java/android/content/res/ObbInfo.aidl \ |
| 201 | frameworks/base/core/java/android/content/RestrictionEntry.aidl \ |
| 202 | frameworks/base/core/java/android/content/ClipData.aidl \ |
| 203 | frameworks/base/core/java/android/content/SyncAdapterType.aidl \ |
| 204 | frameworks/base/core/java/android/content/SyncRequest.aidl \ |
| 205 | frameworks/base/core/java/android/content/PeriodicSync.aidl \ |
| 206 | frameworks/base/core/java/android/content/SyncResult.aidl \ |
| 207 | frameworks/base/core/java/android/content/pm/FeatureInfo.aidl \ |
| 208 | frameworks/base/core/java/android/content/pm/InstrumentationInfo.aidl \ |
| 209 | frameworks/base/core/java/android/content/pm/PackageInstaller.aidl \ |
| 210 | frameworks/base/core/java/android/content/pm/ServiceInfo.aidl \ |
| 211 | frameworks/base/core/java/android/content/pm/Signature.aidl \ |
| 212 | frameworks/base/core/java/android/content/pm/ApplicationInfo.aidl \ |
| 213 | frameworks/base/core/java/android/content/pm/PermissionInfo.aidl \ |
| 214 | frameworks/base/core/java/android/content/pm/ActivityInfo.aidl \ |
Sudheer Shanka | fc46e9b | 2016-10-21 17:55:27 -0700 | [diff] [blame] | 215 | frameworks/base/core/java/android/content/pm/ConfigurationInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 216 | frameworks/base/core/java/android/content/pm/PackageInfo.aidl \ |
| 217 | frameworks/base/core/java/android/content/pm/ResolveInfo.aidl \ |
| 218 | frameworks/base/core/java/android/content/pm/ProviderInfo.aidl \ |
| 219 | frameworks/base/core/java/android/content/pm/PackageStats.aidl \ |
| 220 | frameworks/base/core/java/android/content/pm/PermissionGroupInfo.aidl \ |
Makoto Onuki | 6f7362d9 | 2016-03-04 13:39:41 -0800 | [diff] [blame] | 221 | frameworks/base/core/java/android/content/pm/ShortcutInfo.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 222 | frameworks/base/core/java/android/content/pm/LabeledIntent.aidl \ |
| 223 | frameworks/base/core/java/android/content/ComponentName.aidl \ |
| 224 | frameworks/base/core/java/android/content/SyncStats.aidl \ |
| 225 | frameworks/base/core/java/android/content/ContentValues.aidl \ |
| 226 | frameworks/base/core/java/android/content/SyncInfo.aidl \ |
| 227 | frameworks/base/core/java/android/content/IntentSender.aidl \ |
| 228 | frameworks/base/core/java/android/widget/RemoteViews.aidl \ |
| 229 | frameworks/base/core/java/android/text/style/SuggestionSpan.aidl \ |
| 230 | frameworks/base/core/java/android/nfc/Tag.aidl \ |
| 231 | frameworks/base/core/java/android/nfc/NdefRecord.aidl \ |
| 232 | frameworks/base/core/java/android/nfc/NdefMessage.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 233 | frameworks/base/core/java/android/database/CursorWindow.aidl \ |
Jason Monk | bbadff8 | 2015-11-06 15:47:26 -0500 | [diff] [blame] | 234 | frameworks/base/core/java/android/service/quicksettings/Tile.aidl \ |
Samuel Tan | 239951a | 2016-01-05 17:29:43 -0800 | [diff] [blame] | 235 | frameworks/native/aidl/binder/android/os/PersistableBundle.aidl \ |
Jakub Pawlowski | 3b38eaa | 2017-08-09 00:45:34 -0700 | [diff] [blame] | 236 | system/bt/binder/android/bluetooth/BluetoothHealthAppConfiguration.aidl \ |
| 237 | system/bt/binder/android/bluetooth/le/AdvertiseSettings.aidl \ |
| 238 | system/bt/binder/android/bluetooth/le/ScanSettings.aidl \ |
| 239 | system/bt/binder/android/bluetooth/le/AdvertiseData.aidl \ |
| 240 | system/bt/binder/android/bluetooth/le/ScanFilter.aidl \ |
| 241 | system/bt/binder/android/bluetooth/le/ScanResult.aidl \ |
| 242 | system/bt/binder/android/bluetooth/BluetoothDevice.aidl \ |
Robin Lee | 1060694 | 2016-03-30 18:52:40 +0100 | [diff] [blame] | 243 | system/netd/server/binder/android/net/UidRange.aidl \ |
Robert Greenwalt | 37409c5 | 2016-06-02 13:43:27 -0700 | [diff] [blame] | 244 | frameworks/base/telephony/java/android/telephony/PcoData.aidl \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 245 | |
| 246 | gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl |
| 247 | $(gen): PRIVATE_SRC_FILES := $(aidl_files) |
| 248 | ALL_SDK_FILES += $(gen) |
| 249 | $(gen): $(aidl_files) | $(AIDL) |
| 250 | @echo Aidl Preprocess: $@ |
| 251 | $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES) |
| 252 | |
| 253 | # the documentation |
| 254 | # ============================================================ |
| 255 | |
| 256 | # TODO: deal with com/google/android/googleapps |
| 257 | packages_to_document := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 258 | android \ |
| 259 | javax/microedition/khronos \ |
| 260 | org/apache/http/conn \ |
| 261 | org/apache/http/params \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 262 | |
| 263 | # include definition of libcore_to_document |
| 264 | include libcore/Docs.mk |
| 265 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 266 | non_base_dirs := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 267 | ../opt/telephony/src/java/android/telephony \ |
| 268 | ../opt/telephony/src/java/android/telephony/gsm \ |
| 269 | ../opt/net/voip/src/java/android/net/rtp \ |
| 270 | ../opt/net/voip/src/java/android/net/sip \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 271 | |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 272 | framework_base_android_test_mock_src_files := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 273 | $(call all-java-files-under, test-runner/src/android/test/mock) |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 274 | |
| 275 | framework_base_android_test_runner_excluding_mock_src_files := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 276 | $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src)) |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 277 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 278 | # Find all files in specific directories (relative to frameworks/base) |
| 279 | # to document and check apis |
| 280 | files_to_check_apis := \ |
| 281 | $(call find-other-java-files, \ |
| 282 | legacy-test/src \ |
| 283 | $(non_base_dirs) \ |
| 284 | ) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 285 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 286 | # Find all files in specific packages that were used to compile |
| 287 | # framework.jar to document and check apis |
| 288 | files_to_check_apis += \ |
| 289 | $(addprefix ../../,\ |
| 290 | $(filter \ |
| 291 | $(foreach dir,$(FRAMEWORKS_BASE_JAVA_SRC_DIRS),\ |
| 292 | $(foreach package,$(packages_to_document),\ |
| 293 | $(dir)/$(package)/%.java)),\ |
| 294 | $(SOONG_FRAMEWORK_SRCS))) |
| 295 | |
| 296 | # Find all generated files that were used to compile framework.jar |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 297 | files_to_check_apis_generated := \ |
| 298 | $(filter $(OUT_DIR)/%,\ |
| 299 | $(SOONG_FRAMEWORK_SRCS)) |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 300 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 301 | # These are relative to frameworks/base |
| 302 | # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 303 | files_to_document := \ |
| 304 | $(files_to_check_apis) \ |
| 305 | $(call find-other-java-files,\ |
| 306 | $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \ |
| 307 | test-runner/src) |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 308 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 309 | # These are relative to frameworks/base |
| 310 | html_dirs := \ |
| 311 | $(FRAMEWORKS_BASE_SUBDIRS) \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 312 | $(non_base_dirs) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 313 | |
| 314 | # Common sources for doc check and api check |
| 315 | common_src_files := \ |
| 316 | $(call find-other-html-files, $(html_dirs)) \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 317 | $(addprefix ../../, $(libcore_to_document)) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 318 | |
| 319 | # These are relative to frameworks/base |
| 320 | framework_docs_LOCAL_SRC_FILES := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 321 | $(files_to_document) \ |
| 322 | $(common_src_files) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 323 | |
| 324 | # These are relative to frameworks/base |
| 325 | framework_docs_LOCAL_API_CHECK_SRC_FILES := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 326 | $(framework_base_android_test_mock_src_files) \ |
| 327 | $(framework_base_android_test_runner_excluding_mock_src_files) \ |
| 328 | $(files_to_check_apis) \ |
| 329 | $(common_src_files) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 330 | |
| 331 | # This is used by ide.mk as the list of source files that are |
| 332 | # always included. |
| 333 | INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document)) |
| 334 | |
| 335 | framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \ |
| 336 | $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) |
| 337 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 338 | framework_docs_LOCAL_SRCJARS := $(SOONG_FRAMEWORK_SRCJARS) |
| 339 | |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 340 | framework_docs_LOCAL_GENERATED_SOURCES := \ |
| 341 | $(libcore_to_document_generated) \ |
| 342 | $(files_to_check_apis_generated) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 343 | |
| 344 | framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \ |
Piotr Jastrzebski | cfa292e | 2015-02-17 16:58:52 +0000 | [diff] [blame] | 345 | core-oj \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 346 | core-libart \ |
| 347 | conscrypt \ |
| 348 | bouncycastle \ |
| 349 | okhttp \ |
| 350 | ext \ |
Rayhaan Jaufeerally | 2e47a6e | 2015-08-03 13:54:28 +0100 | [diff] [blame] | 351 | icu4j \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 352 | framework \ |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 353 | voip-common \ |
| 354 | android.test.mock \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 355 | |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 356 | # Platform docs can refer to Support Library APIs, but we don't actually build |
| 357 | # them as part of the docs target, so we need to include them on the classpath. |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 358 | framework_docs_LOCAL_JAVA_LIBRARIES := \ |
| 359 | $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \ |
| 360 | $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES) |
| 361 | |
| 362 | framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 363 | framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html |
| 364 | # The since flag (-since N.xml API_LEVEL) is used to add API Level information |
| 365 | # to the reference documentation. Must be in order of oldest to newest. |
| 366 | # |
| 367 | # Conscrypt (com.android.org.conscrypt) is an implementation detail and should |
| 368 | # not be referenced in the documentation. |
| 369 | framework_docs_LOCAL_DROIDDOC_OPTIONS := \ |
Jeff Sharkey | 0f3f60b | 2017-04-24 18:06:20 -0600 | [diff] [blame] | 370 | -android \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 371 | -knowntags ./frameworks/base/docs/knowntags.txt \ |
Narayan Kamath | 2c4f284 | 2015-07-27 14:02:11 +0100 | [diff] [blame] | 372 | -knowntags ./libcore/known_oj_tags.txt \ |
Jeff Sharkey | bfc4fcd | 2017-06-05 17:38:17 -0600 | [diff] [blame] | 373 | -manifest ./frameworks/base/core/res/AndroidManifest.xml \ |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 374 | -hidePackage com.android.okhttp \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 375 | -hidePackage com.android.org.conscrypt \ |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 376 | -hidePackage com.android.server \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 377 | -since $(SRC_API_DIR)/1.xml 1 \ |
| 378 | -since $(SRC_API_DIR)/2.xml 2 \ |
| 379 | -since $(SRC_API_DIR)/3.xml 3 \ |
| 380 | -since $(SRC_API_DIR)/4.xml 4 \ |
| 381 | -since $(SRC_API_DIR)/5.xml 5 \ |
| 382 | -since $(SRC_API_DIR)/6.xml 6 \ |
| 383 | -since $(SRC_API_DIR)/7.xml 7 \ |
| 384 | -since $(SRC_API_DIR)/8.xml 8 \ |
| 385 | -since $(SRC_API_DIR)/9.xml 9 \ |
| 386 | -since $(SRC_API_DIR)/10.xml 10 \ |
| 387 | -since $(SRC_API_DIR)/11.xml 11 \ |
| 388 | -since $(SRC_API_DIR)/12.xml 12 \ |
| 389 | -since $(SRC_API_DIR)/13.xml 13 \ |
| 390 | -since $(SRC_API_DIR)/14.txt 14 \ |
| 391 | -since $(SRC_API_DIR)/15.txt 15 \ |
| 392 | -since $(SRC_API_DIR)/16.txt 16 \ |
| 393 | -since $(SRC_API_DIR)/17.txt 17 \ |
| 394 | -since $(SRC_API_DIR)/18.txt 18 \ |
| 395 | -since $(SRC_API_DIR)/19.txt 19 \ |
| 396 | -since $(SRC_API_DIR)/20.txt 20 \ |
| 397 | -since $(SRC_API_DIR)/21.txt 21 \ |
| 398 | -since $(SRC_API_DIR)/22.txt 22 \ |
Joe Fernandez | 1827e32 | 2015-08-12 19:45:22 -0700 | [diff] [blame] | 399 | -since $(SRC_API_DIR)/23.txt 23 \ |
Dirk Dougherty | 5f60f7c | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 400 | -since $(SRC_API_DIR)/24.txt 24 \ |
Dirk Dougherty | 3376f58 | 2016-10-14 10:27:08 -0700 | [diff] [blame] | 401 | -since $(SRC_API_DIR)/25.txt 25 \ |
Dirk Dougherty | fdad0ba | 2017-06-09 14:43:32 -0700 | [diff] [blame] | 402 | -since $(SRC_API_DIR)/26.txt 26 \ |
Andrew Solovay | a6019b2 | 2017-10-06 14:27:20 -0700 | [diff] [blame] | 403 | -since $(SRC_API_DIR)/27.txt 27 \ |
Jeff Sharkey | 2337aec | 2017-12-06 21:12:23 -0700 | [diff] [blame] | 404 | -werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 \ |
Jeff Sharkey | 0f3f60b | 2017-04-24 18:06:20 -0600 | [diff] [blame] | 405 | -overview $(LOCAL_PATH)/core/java/overview.html \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 406 | |
| 407 | framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \ |
| 408 | $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON) |
| 409 | |
| 410 | framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \ |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 411 | $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 412 | |
| 413 | framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \ |
Narayan Kamath | c21739a | 2015-07-14 13:39:23 +0100 | [diff] [blame] | 414 | frameworks/base/docs/knowntags.txt \ |
Colin Cross | 72d359f | 2017-10-27 10:46:53 -0700 | [diff] [blame] | 415 | $(libcore_to_document_generated) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 416 | |
| 417 | samples_dir := development/samples/browseable |
| 418 | |
| 419 | # Whitelist of valid groups, used for default TOC grouping. Each sample must |
| 420 | # belong to one (and only one) group. Assign samples to groups by setting |
| 421 | # a sample.group var to one of these groups in the sample's _index.jd. |
| 422 | sample_groups := -samplegroup Admin \ |
| 423 | -samplegroup Background \ |
| 424 | -samplegroup Connectivity \ |
| 425 | -samplegroup Content \ |
| 426 | -samplegroup Input \ |
| 427 | -samplegroup Media \ |
| 428 | -samplegroup Notification \ |
| 429 | -samplegroup RenderScript \ |
| 430 | -samplegroup Security \ |
| 431 | -samplegroup Sensors \ |
Trevor Johns | 4cbe359 | 2015-05-27 14:50:51 -0700 | [diff] [blame] | 432 | -samplegroup System \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 433 | -samplegroup Testing \ |
| 434 | -samplegroup UI \ |
| 435 | -samplegroup Views \ |
| 436 | -samplegroup Wearable |
| 437 | |
| 438 | ## SDK version identifiers used in the published docs |
| 439 | # major[.minor] version for current SDK. (full releases only) |
smain@google.com | dde8deb | 2016-08-29 18:36:50 -0700 | [diff] [blame] | 440 | framework_docs_SDK_VERSION:=7.0 |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 441 | # release version (ie "Release x") (full releases only) |
| 442 | framework_docs_SDK_REL_ID:=1 |
| 443 | |
| 444 | framework_docs_LOCAL_DROIDDOC_OPTIONS += \ |
Billy Lamberta | 75dbc8f | 2017-03-03 13:09:15 -0800 | [diff] [blame] | 445 | -hdf dac true \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 446 | -hdf sdk.codename O \ |
| 447 | -hdf sdk.preview.version 1 \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 448 | -hdf sdk.version $(framework_docs_SDK_VERSION) \ |
| 449 | -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 450 | -hdf sdk.preview 0 \ |
| 451 | -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \ |
| 452 | -resourcesoutdir reference/android/images/ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 453 | |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 454 | # Federate Support Library references against local API file. |
| 455 | framework_docs_LOCAL_DROIDDOC_OPTIONS += \ |
| 456 | -federate SupportLib https://developer.android.com \ |
| 457 | -federationapi SupportLib prebuilts/sdk/current/support-api.txt |
| 458 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 459 | # ==== the api stubs and current.xml =========================== |
| 460 | include $(CLEAR_VARS) |
| 461 | |
| 462 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 463 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 464 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 465 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 466 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 467 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 468 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 469 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 470 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 471 | |
| 472 | LOCAL_MODULE := api-stubs |
| 473 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 474 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src |
| 475 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 476 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 477 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 478 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 479 | -api $(INTERNAL_PLATFORM_API_FILE) \ |
| 480 | -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \ |
| 481 | -nodocs |
| 482 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 483 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 484 | |
| 485 | LOCAL_UNINSTALLABLE_MODULE := true |
| 486 | |
| 487 | include $(BUILD_DROIDDOC) |
| 488 | |
| 489 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 490 | $(full_target): $(gen) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 491 | $(INTERNAL_PLATFORM_API_FILE): $(full_target) |
| 492 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE)) |
| 493 | |
| 494 | # ==== the system api stubs =================================== |
| 495 | include $(CLEAR_VARS) |
| 496 | |
| 497 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 498 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 499 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 500 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 501 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 502 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 503 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 504 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 505 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 506 | |
| 507 | LOCAL_MODULE := system-api-stubs |
| 508 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 509 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src |
| 510 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 511 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 512 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 513 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 514 | -showAnnotation android.annotation.SystemApi \ |
| 515 | -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \ |
| 516 | -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \ |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 517 | -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 518 | -nodocs |
| 519 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 520 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 521 | |
| 522 | LOCAL_UNINSTALLABLE_MODULE := true |
| 523 | |
| 524 | include $(BUILD_DROIDDOC) |
| 525 | |
| 526 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 527 | $(full_target): $(gen) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 528 | $(INTERNAL_PLATFORM_SYSTEM_API_FILE): $(full_target) |
| 529 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE)) |
| 530 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 531 | # ==== the test api stubs =================================== |
| 532 | include $(CLEAR_VARS) |
| 533 | |
| 534 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 535 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 536 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 537 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 538 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 539 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 540 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 541 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 542 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 543 | |
| 544 | LOCAL_MODULE := test-api-stubs |
| 545 | |
| 546 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src |
| 547 | |
| 548 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 549 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 550 | -referenceonly \ |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 551 | -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \ |
| 552 | -showAnnotation android.annotation.TestApi \ |
| 553 | -api $(INTERNAL_PLATFORM_TEST_API_FILE) \ |
| 554 | -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \ |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 555 | -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \ |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 556 | -nodocs |
| 557 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 558 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 559 | |
| 560 | LOCAL_UNINSTALLABLE_MODULE := true |
| 561 | |
| 562 | include $(BUILD_DROIDDOC) |
| 563 | |
| 564 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 565 | $(full_target): $(gen) |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 566 | $(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target) |
| 567 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE)) |
| 568 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 569 | # ==== check javadoc comments but don't generate docs ======== |
| 570 | include $(CLEAR_VARS) |
| 571 | |
| 572 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 573 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 574 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 575 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 576 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 577 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 578 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 579 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 580 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 581 | |
| 582 | LOCAL_MODULE := doc-comment-check |
| 583 | |
| 584 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 585 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 586 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 587 | -parsecomments |
| 588 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 589 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 590 | |
| 591 | LOCAL_UNINSTALLABLE_MODULE := true |
| 592 | |
| 593 | include $(BUILD_DROIDDOC) |
| 594 | |
| 595 | # $(gen), i.e. framework.aidl, is also needed while building against the current stub. |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 596 | $(full_target): $(gen) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 597 | |
| 598 | # Run this for checkbuild |
| 599 | checkbuild: doc-comment-check-docs |
| 600 | # Check comment when you are updating the API |
| 601 | update-api: doc-comment-check-docs |
| 602 | |
| 603 | # ==== static html in the sdk ================================== |
| 604 | include $(CLEAR_VARS) |
| 605 | |
| 606 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 607 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 608 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 609 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 610 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 611 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 612 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 613 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 614 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 615 | |
| 616 | LOCAL_MODULE := offline-sdk |
| 617 | |
| 618 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 619 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 620 | -offlinemode \ |
| 621 | -title "Android SDK" \ |
| 622 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 623 | -sdkvalues $(OUT_DOCS) \ |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 624 | -hdf android.whichdoc offline |
| 625 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 626 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 627 | |
| 628 | include $(BUILD_DROIDDOC) |
| 629 | |
| 630 | static_doc_index_redirect := $(out_dir)/index.html |
| 631 | $(static_doc_index_redirect): \ |
| 632 | $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP) |
| 633 | $(hide) mkdir -p $(dir $@) |
| 634 | $(hide) $(ACP) $< $@ |
| 635 | |
| 636 | $(full_target): $(static_doc_index_redirect) |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 637 | |
| 638 | |
| 639 | # ==== static html in the sdk ================================== |
| 640 | include $(CLEAR_VARS) |
| 641 | |
| 642 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 643 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 644 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 645 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 646 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 647 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 648 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 649 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 650 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 651 | |
| 652 | LOCAL_MODULE := offline-sdk-referenceonly |
| 653 | |
| 654 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 655 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 656 | -offlinemode \ |
| 657 | -title "Android SDK" \ |
| 658 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
| 659 | -sdkvalues $(OUT_DOCS) \ |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 660 | -hdf android.whichdoc offline \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 661 | -referenceonly |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 662 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 663 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 664 | |
| 665 | include $(BUILD_DROIDDOC) |
| 666 | |
| 667 | static_doc_index_redirect := $(out_dir)/index.html |
smain@google.com | 151833a | 2016-08-31 08:42:09 -0700 | [diff] [blame] | 668 | $(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html |
Dan Willemsen | 98ff0b7 | 2016-03-23 00:42:44 -0700 | [diff] [blame] | 669 | $(copy-file-to-target) |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 670 | |
smain@google.com | 2f2365d | 2016-09-21 14:05:50 -0700 | [diff] [blame] | 671 | static_doc_properties := $(out_dir)/source.properties |
| 672 | $(static_doc_properties): \ |
| 673 | $(LOCAL_PATH)/docs/source.properties | $(ACP) |
| 674 | $(hide) mkdir -p $(dir $@) |
| 675 | $(hide) $(ACP) $< $@ |
| 676 | |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 677 | $(full_target): $(static_doc_index_redirect) |
smain@google.com | 2f2365d | 2016-09-21 14:05:50 -0700 | [diff] [blame] | 678 | $(full_target): $(static_doc_properties) |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 679 | |
smain@google.com | 7aca8be | 2016-03-10 14:13:30 -0800 | [diff] [blame] | 680 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 681 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
| 682 | include $(CLEAR_VARS) |
| 683 | |
| 684 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 685 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 686 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 687 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 688 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 689 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 690 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 691 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 692 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 693 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 694 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 695 | |
| 696 | LOCAL_MODULE := online-sdk |
| 697 | |
| 698 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 699 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 700 | -toroot / \ |
| 701 | -hdf android.whichdoc online \ |
| 702 | $(sample_groups) \ |
| 703 | -hdf android.hasSamples true \ |
| 704 | -samplesdir $(samples_dir) |
| 705 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 706 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 707 | |
| 708 | include $(BUILD_DROIDDOC) |
| 709 | |
| 710 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 711 | include $(CLEAR_VARS) |
| 712 | |
| 713 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 714 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 715 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 716 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 717 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 718 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 719 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 720 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 721 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 722 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 723 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 724 | |
| 725 | LOCAL_MODULE := online-system-api-sdk |
| 726 | |
| 727 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 728 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 729 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 730 | -showAnnotation android.annotation.SystemApi \ |
| 731 | -title "Android SDK - Including system APIs." \ |
| 732 | -toroot / \ |
Gina Dimino | 98ad888 | 2016-05-31 17:25:48 -0700 | [diff] [blame] | 733 | -hide 101 \ |
| 734 | -hide 104 \ |
| 735 | -hide 108 \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 736 | -hdf android.whichdoc online \ |
| 737 | $(sample_groups) \ |
| 738 | -hdf android.hasSamples true \ |
| 739 | -samplesdir $(samples_dir) |
| 740 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 741 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 742 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 743 | LOCAL_UNINSTALLABLE_MODULE := true |
| 744 | |
| 745 | include $(BUILD_DROIDDOC) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 746 | |
| 747 | # ==== docs for the web (on the devsite app engine server) ======================= |
| 748 | include $(CLEAR_VARS) |
| 749 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 750 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 751 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 752 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 753 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 754 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 755 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 756 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 757 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 758 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 759 | # 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] | 760 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 761 | |
| 762 | LOCAL_MODULE := ds |
| 763 | |
| 764 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 765 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 766 | -toroot / \ |
| 767 | -hdf android.whichdoc online \ |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 768 | -devsite \ |
Dirk Dougherty | 3852c1f | 2016-04-10 02:05:09 -0700 | [diff] [blame] | 769 | $(sample_groups) \ |
Dirk Dougherty | 3852c1f | 2016-04-10 02:05:09 -0700 | [diff] [blame] | 770 | -hdf android.hasSamples true \ |
| 771 | -samplesdir $(samples_dir) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 772 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 773 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 774 | |
| 775 | include $(BUILD_DROIDDOC) |
| 776 | |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 777 | # ==== docs for the web (on the devsite app engine server) ======================= |
| 778 | include $(CLEAR_VARS) |
| 779 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 780 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 781 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 782 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 783 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 784 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 785 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 786 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 787 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 788 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 789 | # specify a second html input dir and an output path relative to OUT_DIR) |
| 790 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 791 | |
| 792 | LOCAL_MODULE := ds-static |
| 793 | |
| 794 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 795 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 796 | -hdf android.whichdoc online \ |
| 797 | -staticonly \ |
| 798 | -toroot / \ |
| 799 | -devsite \ |
| 800 | -ignoreJdLinks |
| 801 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 802 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 803 | |
| 804 | include $(BUILD_DROIDDOC) |
| 805 | |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 806 | # ==== generates full navtree for resolving @links in ds postprocessing ==== |
| 807 | include $(CLEAR_VARS) |
| 808 | |
| 809 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 810 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 811 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 812 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 813 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 814 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 815 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 816 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 817 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 818 | |
| 819 | LOCAL_MODULE := ds-ref-navtree |
| 820 | |
| 821 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 822 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 823 | -hdf android.whichdoc online \ |
| 824 | -toroot / \ |
| 825 | -atLinksNavtree \ |
| 826 | -navtreeonly |
| 827 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 828 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 829 | |
| 830 | include $(BUILD_DROIDDOC) |
| 831 | |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 832 | # ==== site updates for docs (on the androiddevdocs app engine server) ======================= |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 833 | include $(CLEAR_VARS) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 834 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 835 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 836 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 837 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 838 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 839 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 840 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 841 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 842 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 843 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 844 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 845 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 846 | |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 847 | LOCAL_MODULE := online-sdk-dev |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 848 | |
| 849 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 850 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 851 | -toroot / \ |
| 852 | -hdf android.whichdoc online \ |
| 853 | $(sample_groups) \ |
| 854 | -hdf android.hasSamples true \ |
| 855 | -samplesdir $(samples_dir) |
| 856 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 857 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 858 | |
| 859 | include $(BUILD_DROIDDOC) |
| 860 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 861 | # ==== docs that have all of the stuff that's @hidden ======================= |
| 862 | include $(CLEAR_VARS) |
| 863 | |
| 864 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 865 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 866 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 867 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 868 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 869 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 870 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 871 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 872 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 873 | |
| 874 | LOCAL_MODULE := hidden |
| 875 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 876 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 877 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 878 | -title "Android SDK - Including hidden APIs." |
| 879 | # -hidden |
| 880 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 881 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 882 | |
| 883 | include $(BUILD_DROIDDOC) |
| 884 | |
Joe Onorato | 1754d74 | 2016-11-21 17:51:35 -0800 | [diff] [blame] | 885 | # ==== java proto host library ============================== |
| 886 | include $(CLEAR_VARS) |
| 887 | LOCAL_MODULE := platformprotos |
| 888 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 889 | LOCAL_PROTOC_FLAGS := \ |
| 890 | -Iexternal/protobuf/src |
| 891 | LOCAL_SOURCE_FILES_ALL_GENERATED := true |
| 892 | LOCAL_SRC_FILES := \ |
| 893 | $(call all-proto-files-under, core/proto) \ |
| 894 | $(call all-proto-files-under, libs/incident/proto) |
| 895 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 896 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 897 | |
| 898 | # Include subdirectory makefiles |
| 899 | # ============================================================ |
| 900 | |
| 901 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 902 | # team really wants is to build the stuff defined by this makefile. |
| 903 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 904 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 905 | endif |
| 906 | |
| 907 | endif # ANDROID_BUILD_EMBEDDED |