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