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