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