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