2 # Copyright (C) 2008 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 LOCAL_PATH := $(call my-dir)
18 # We have a special case here where we build the library's resources
19 # independently from its code, so we need to find where the resource
20 # class source got placed in the course of building the resources.
21 # Thus, the magic here.
22 # Also, this module cannot depend directly on the R.java file; if it
23 # did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct.
24 # Instead, it depends on the R.stamp file, which lists the corresponding
25 # R.java file as a prerequisite.
26 # TODO: find a more appropriate way to do this.
27 framework_res_source_path := APPS/framework-res_intermediates/src
29 # Build the master framework library.
30 # The framework contains too many method references (>64K) for poor old DEX.
31 # So we first build the framework as a monolithic static library then split it
32 # up into smaller pieces.
33 # ============================================================
36 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
37 LOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS))
41 core/java/android/content/EventLogTags.logtags \
42 core/java/android/speech/tts/EventLogTags.logtags \
43 core/java/android/webkit/EventLogTags.logtags \
45 ## READ ME: ########################################################
47 ## When updating this list of aidl files, consider if that aidl is
48 ## part of the SDK API. If it is, also add it to the list below that
49 ## is preprocessed and distributed with the SDK. This list should
50 ## not contain any aidl files for parcelables, but the one below should
51 ## if you intend for 3rd parties to be able to send those objects
52 ## across process boundaries.
54 ## READ ME: ########################################################
56 core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \
57 core/java/android/accessibilityservice/IAccessibilityServiceClient.aidl \
58 core/java/android/accounts/IAccountManager.aidl \
59 core/java/android/accounts/IAccountManagerResponse.aidl \
60 core/java/android/accounts/IAccountAuthenticator.aidl \
61 core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
62 core/java/android/app/IActivityController.aidl \
63 core/java/android/app/IActivityPendingResult.aidl \
64 core/java/android/app/IAlarmManager.aidl \
65 core/java/android/app/IBackupAgent.aidl \
66 core/java/android/app/IInstrumentationWatcher.aidl \
67 core/java/android/app/INotificationManager.aidl \
68 core/java/android/app/IProcessObserver.aidl \
69 core/java/android/app/ISearchManager.aidl \
70 core/java/android/app/ISearchManagerCallback.aidl \
71 core/java/android/app/IServiceConnection.aidl \
72 core/java/android/app/IStopUserCallback.aidl \
73 core/java/android/app/IThumbnailReceiver.aidl \
74 core/java/android/app/IThumbnailRetriever.aidl \
75 core/java/android/app/ITransientNotification.aidl \
76 core/java/android/app/IUiAutomationConnection.aidl \
77 core/java/android/app/IUiModeManager.aidl \
78 core/java/android/app/IUserSwitchObserver.aidl \
79 core/java/android/app/IWallpaperManager.aidl \
80 core/java/android/app/IWallpaperManagerCallback.aidl \
81 core/java/android/app/admin/IDevicePolicyManager.aidl \
82 core/java/android/app/backup/IBackupManager.aidl \
83 core/java/android/app/backup/IFullBackupRestoreObserver.aidl \
84 core/java/android/app/backup/IRestoreObserver.aidl \
85 core/java/android/app/backup/IRestoreSession.aidl \
86 core/java/android/bluetooth/IBluetooth.aidl \
87 core/java/android/bluetooth/IBluetoothA2dp.aidl \
88 core/java/android/bluetooth/IBluetoothCallback.aidl \
89 core/java/android/bluetooth/IBluetoothHeadset.aidl \
90 core/java/android/bluetooth/IBluetoothHeadsetPhone.aidl \
91 core/java/android/bluetooth/IBluetoothHealth.aidl \
92 core/java/android/bluetooth/IBluetoothHealthCallback.aidl \
93 core/java/android/bluetooth/IBluetoothInputDevice.aidl \
94 core/java/android/bluetooth/IBluetoothPan.aidl \
95 core/java/android/bluetooth/IBluetoothManager.aidl \
96 core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
97 core/java/android/bluetooth/IBluetoothPbap.aidl \
98 core/java/android/bluetooth/IBluetoothMap.aidl \
99 core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
100 core/java/android/bluetooth/IBluetoothGatt.aidl \
101 core/java/android/bluetooth/IBluetoothGattCallback.aidl \
102 core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
103 core/java/android/content/IClipboard.aidl \
104 core/java/android/content/IContentService.aidl \
105 core/java/android/content/IIntentReceiver.aidl \
106 core/java/android/content/IIntentSender.aidl \
107 core/java/android/content/IOnPrimaryClipChangedListener.aidl \
108 core/java/android/content/IAnonymousSyncAdapter.aidl \
109 core/java/android/content/ISyncAdapter.aidl \
110 core/java/android/content/ISyncContext.aidl \
111 core/java/android/content/ISyncStatusObserver.aidl \
112 core/java/android/content/pm/IPackageDataObserver.aidl \
113 core/java/android/content/pm/IPackageDeleteObserver.aidl \
114 core/java/android/content/pm/IPackageInstallObserver.aidl \
115 core/java/android/content/pm/IPackageManager.aidl \
116 core/java/android/content/pm/IPackageMoveObserver.aidl \
117 core/java/android/content/pm/IPackageStatsObserver.aidl \
118 core/java/android/database/IContentObserver.aidl \
119 core/java/android/hardware/ICameraService.aidl \
120 core/java/android/hardware/ICameraServiceListener.aidl \
121 core/java/android/hardware/ICamera.aidl \
122 core/java/android/hardware/ICameraClient.aidl \
123 core/java/android/hardware/IConsumerIrService.aidl \
124 core/java/android/hardware/IProCameraUser.aidl \
125 core/java/android/hardware/IProCameraCallbacks.aidl \
126 core/java/android/hardware/camera2/ICameraDeviceUser.aidl \
127 core/java/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
128 core/java/android/hardware/ISerialManager.aidl \
129 core/java/android/hardware/display/IDisplayManager.aidl \
130 core/java/android/hardware/display/IDisplayManagerCallback.aidl \
131 core/java/android/hardware/input/IInputManager.aidl \
132 core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
133 core/java/android/hardware/location/IFusedLocationHardware.aidl \
134 core/java/android/hardware/location/IFusedLocationHardwareSink.aidl \
135 core/java/android/hardware/location/IGeofenceHardware.aidl \
136 core/java/android/hardware/location/IGeofenceHardwareCallback.aidl \
137 core/java/android/hardware/location/IGeofenceHardwareMonitorCallback.aidl \
138 core/java/android/hardware/usb/IUsbManager.aidl \
139 core/java/android/net/IConnectivityManager.aidl \
140 core/java/android/net/INetworkManagementEventObserver.aidl \
141 core/java/android/net/INetworkPolicyListener.aidl \
142 core/java/android/net/INetworkPolicyManager.aidl \
143 core/java/android/net/INetworkStatsService.aidl \
144 core/java/android/net/INetworkStatsSession.aidl \
145 core/java/android/net/nsd/INsdManager.aidl \
146 core/java/android/nfc/IAppCallback.aidl \
147 core/java/android/nfc/INfcAdapter.aidl \
148 core/java/android/nfc/INfcAdapterExtras.aidl \
149 core/java/android/nfc/INfcTag.aidl \
150 core/java/android/nfc/INfcCardEmulation.aidl \
151 core/java/android/os/IBatteryPropertiesListener.aidl \
152 core/java/android/os/IBatteryPropertiesRegistrar.aidl \
153 core/java/android/os/ICancellationSignal.aidl \
154 core/java/android/os/IHardwareService.aidl \
155 core/java/android/os/IMessenger.aidl \
156 core/java/android/os/INetworkManagementService.aidl \
157 core/java/android/os/IPermissionController.aidl \
158 core/java/android/os/IPowerManager.aidl \
159 core/java/android/os/IRemoteCallback.aidl \
160 core/java/android/os/ISchedulingPolicyService.aidl \
161 core/java/android/os/IUpdateLock.aidl \
162 core/java/android/os/IUserManager.aidl \
163 core/java/android/os/IVibratorService.aidl \
164 core/java/android/service/notification/INotificationListener.aidl \
165 core/java/android/print/ILayoutResultCallback.aidl \
166 core/java/android/print/IPrinterDiscoveryObserver.aidl \
167 core/java/android/print/IPrintDocumentAdapter.aidl \
168 core/java/android/print/IPrintClient.aidl \
169 core/java/android/print/IPrintJobStateChangeListener.aidl \
170 core/java/android/print/IPrintManager.aidl \
171 core/java/android/print/IPrintSpooler.aidl \
172 core/java/android/print/IPrintSpoolerCallbacks.aidl \
173 core/java/android/print/IPrintSpoolerClient.aidl \
174 core/java/android/print/IWriteResultCallback.aidl \
175 core/java/android/printservice/IPrintService.aidl \
176 core/java/android/printservice/IPrintServiceClient.aidl \
177 core/java/android/service/dreams/IDreamManager.aidl \
178 core/java/android/service/dreams/IDreamService.aidl \
179 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
180 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
181 core/java/android/service/wallpaper/IWallpaperService.aidl \
182 core/java/android/view/accessibility/IAccessibilityInteractionConnection.aidl\
183 core/java/android/view/accessibility/IAccessibilityInteractionConnectionCallback.aidl\
184 core/java/android/view/accessibility/IAccessibilityManager.aidl \
185 core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \
186 core/java/android/view/IApplicationToken.aidl \
187 core/java/android/view/IAssetAtlas.aidl \
188 core/java/android/view/IMagnificationCallbacks.aidl \
189 core/java/android/view/IInputFilter.aidl \
190 core/java/android/view/IInputFilterHost.aidl \
191 core/java/android/view/IOnKeyguardExitResult.aidl \
192 core/java/android/view/IRotationWatcher.aidl \
193 core/java/android/view/IWindow.aidl \
194 core/java/android/view/IWindowFocusObserver.aidl \
195 core/java/android/view/IWindowId.aidl \
196 core/java/android/view/IWindowManager.aidl \
197 core/java/android/view/IWindowSession.aidl \
198 core/java/android/speech/IRecognitionListener.aidl \
199 core/java/android/speech/IRecognitionService.aidl \
200 core/java/android/speech/tts/ITextToSpeechCallback.aidl \
201 core/java/android/speech/tts/ITextToSpeechService.aidl \
202 core/java/com/android/internal/app/IAppOpsCallback.aidl \
203 core/java/com/android/internal/app/IAppOpsService.aidl \
204 core/java/com/android/internal/app/IBatteryStats.aidl \
205 core/java/com/android/internal/app/IProcessStats.aidl \
206 core/java/com/android/internal/app/IUsageStats.aidl \
207 core/java/com/android/internal/app/IMediaContainerService.aidl \
208 core/java/com/android/internal/appwidget/IAppWidgetService.aidl \
209 core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \
210 core/java/com/android/internal/backup/IBackupTransport.aidl \
211 core/java/com/android/internal/backup/IObbBackupService.aidl \
212 core/java/com/android/internal/policy/IFaceLockCallback.aidl \
213 core/java/com/android/internal/policy/IFaceLockInterface.aidl \
214 core/java/com/android/internal/policy/IKeyguardShowCallback.aidl \
215 core/java/com/android/internal/policy/IKeyguardExitCallback.aidl \
216 core/java/com/android/internal/policy/IKeyguardService.aidl \
217 core/java/com/android/internal/os/IDropBoxManagerService.aidl \
218 core/java/com/android/internal/os/IResultReceiver.aidl \
219 core/java/com/android/internal/statusbar/IStatusBar.aidl \
220 core/java/com/android/internal/statusbar/IStatusBarService.aidl \
221 core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
222 core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
223 core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
224 core/java/com/android/internal/textservice/ITextServicesManager.aidl \
225 core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
226 core/java/com/android/internal/view/IInputContext.aidl \
227 core/java/com/android/internal/view/IInputContextCallback.aidl \
228 core/java/com/android/internal/view/IInputMethod.aidl \
229 core/java/com/android/internal/view/IInputMethodClient.aidl \
230 core/java/com/android/internal/view/IInputMethodManager.aidl \
231 core/java/com/android/internal/view/IInputMethodSession.aidl \
232 core/java/com/android/internal/view/IInputSessionCallback.aidl \
233 core/java/com/android/internal/widget/ILockSettings.aidl \
234 core/java/com/android/internal/widget/IRemoteViewsFactory.aidl \
235 core/java/com/android/internal/widget/IRemoteViewsAdapterConnection.aidl \
236 keystore/java/android/security/IKeyChainAliasCallback.aidl \
237 keystore/java/android/security/IKeyChainService.aidl \
238 location/java/android/location/ICountryDetector.aidl \
239 location/java/android/location/ICountryListener.aidl \
240 location/java/android/location/IFusedProvider.aidl \
241 location/java/android/location/IGeocodeProvider.aidl \
242 location/java/android/location/IGeofenceProvider.aidl \
243 location/java/android/location/IGpsStatusListener.aidl \
244 location/java/android/location/IGpsStatusProvider.aidl \
245 location/java/android/location/ILocationListener.aidl \
246 location/java/android/location/ILocationManager.aidl \
247 location/java/android/location/IFusedGeofenceHardware.aidl \
248 location/java/android/location/IGpsGeofenceHardware.aidl \
249 location/java/android/location/INetInitiatedListener.aidl \
250 location/java/com/android/internal/location/ILocationProvider.aidl \
251 media/java/android/media/IAudioService.aidl \
252 media/java/android/media/IAudioFocusDispatcher.aidl \
253 media/java/android/media/IAudioRoutesObserver.aidl \
254 media/java/android/media/IMediaScannerListener.aidl \
255 media/java/android/media/IMediaScannerService.aidl \
256 media/java/android/media/IRemoteControlClient.aidl \
257 media/java/android/media/IRemoteControlDisplay.aidl \
258 media/java/android/media/IRemoteVolumeObserver.aidl \
259 media/java/android/media/IRingtonePlayer.aidl \
260 telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
261 telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
262 telephony/java/com/android/internal/telephony/ITelephony.aidl \
263 telephony/java/com/android/internal/telephony/ISms.aidl \
264 telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
265 telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
266 wifi/java/android/net/wifi/IWifiManager.aidl \
267 wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
268 packages/services/PacProcessor/com/android/net/IProxyService.aidl \
269 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
270 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
272 # FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
273 LOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
275 LOCAL_INTERMEDIATE_SOURCES := \
276 $(framework_res_source_path)/android/R.java \
277 $(framework_res_source_path)/android/Manifest.java \
278 $(framework_res_source_path)/com/android/internal/R.java
280 LOCAL_NO_STANDARD_LIBRARIES := true
281 LOCAL_JAVA_LIBRARIES := bouncycastle conscrypt core core-junit ext okhttp
283 LOCAL_MODULE := framework-base
285 LOCAL_JAR_EXCLUDE_FILES := none
287 include $(BUILD_STATIC_JAVA_LIBRARY)
289 # Make sure that R.java and Manifest.java are built before we build
290 # the source for this library.
291 framework_res_R_stamp := \
292 $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
293 $(full_classes_compiled_jar): $(framework_res_R_stamp)
295 # Build part 1 of the framework library.
296 # ============================================================
297 include $(CLEAR_VARS)
299 LOCAL_MODULE := framework
300 LOCAL_MODULE_CLASS := JAVA_LIBRARIES
301 LOCAL_NO_STANDARD_LIBRARIES := true
302 LOCAL_STATIC_JAVA_LIBRARIES := framework-base
303 LOCAL_DX_FLAGS := --core-library
305 # Packages to include, use \* wildcard to include descendants.
306 LOCAL_JAR_PACKAGES := android\*
308 # List of classes and interfaces which should be loaded by the Zygote.
309 LOCAL_JAVA_RESOURCE_FILES += $(LOCAL_PATH)/preloaded-classes
311 include $(BUILD_JAVA_LIBRARY)
312 framework_module := $(LOCAL_INSTALLED_MODULE)
314 # Build part 2 of the framework library.
315 # ============================================================
316 include $(CLEAR_VARS)
318 LOCAL_MODULE := framework2
319 LOCAL_MODULE_CLASS := JAVA_LIBRARIES
320 LOCAL_NO_STANDARD_LIBRARIES := true
321 LOCAL_STATIC_JAVA_LIBRARIES := framework-base
322 LOCAL_DX_FLAGS := --core-library
324 # Packages to include, use \* wildcard to include descendants.
325 LOCAL_JAR_PACKAGES := com\* javax\*
327 include $(BUILD_JAVA_LIBRARY)
328 framework2_module := $(LOCAL_INSTALLED_MODULE)
330 # Make sure that all framework modules are installed when framework is.
331 # ============================================================
332 $(framework_module): | $(dir $(framework_module))framework-res.apk
333 $(framework_module): | $(dir $(framework_module))framework2.jar
335 framework_built := $(call java-lib-deps,framework framework2)
337 # Copy AIDL files to be preprocessed and included in the SDK,
338 # specified relative to the root of the build tree.
339 # ============================================================
340 include $(CLEAR_VARS)
343 frameworks/base/core/java/android/accounts/IAccountManager.aidl \
344 frameworks/base/core/java/android/accounts/IAccountManagerResponse.aidl \
345 frameworks/base/core/java/android/accounts/IAccountAuthenticator.aidl \
346 frameworks/base/core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
347 frameworks/base/core/java/android/app/Notification.aidl \
348 frameworks/base/core/java/android/app/PendingIntent.aidl \
349 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \
350 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
351 frameworks/base/core/java/android/bluetooth/BluetoothHealthAppConfiguration.aidl \
352 frameworks/base/core/java/android/content/ComponentName.aidl \
353 frameworks/base/core/java/android/content/ContentValues.aidl \
354 frameworks/base/core/java/android/content/Intent.aidl \
355 frameworks/base/core/java/android/content/IntentSender.aidl \
356 frameworks/base/core/java/android/content/PeriodicSync.aidl \
357 frameworks/base/core/java/android/content/SyncRequest.aidl \
358 frameworks/base/core/java/android/content/SyncStats.aidl \
359 frameworks/base/core/java/android/content/res/Configuration.aidl \
360 frameworks/base/core/java/android/database/CursorWindow.aidl \
361 frameworks/base/core/java/android/hardware/location/GeofenceHardwareRequestParcelable.aidl \
362 frameworks/base/core/java/android/net/Uri.aidl \
363 frameworks/base/core/java/android/nfc/NdefMessage.aidl \
364 frameworks/base/core/java/android/nfc/NdefRecord.aidl \
365 frameworks/base/core/java/android/nfc/Tag.aidl \
366 frameworks/base/core/java/android/os/Bundle.aidl \
367 frameworks/base/core/java/android/os/DropBoxManager.aidl \
368 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \
369 frameworks/base/core/java/android/os/ParcelUuid.aidl \
370 frameworks/base/core/java/android/view/KeyEvent.aidl \
371 frameworks/base/core/java/android/view/MotionEvent.aidl \
372 frameworks/base/core/java/android/view/Surface.aidl \
373 frameworks/base/core/java/android/view/WindowManager.aidl \
374 frameworks/base/core/java/android/widget/RemoteViews.aidl \
375 frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerService.aidl \
376 frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerSession.aidl \
377 frameworks/base/core/java/com/android/internal/textservice/ISpellCheckerSessionListener.aidl \
378 frameworks/base/core/java/com/android/internal/textservice/ITextServicesManager.aidl \
379 frameworks/base/core/java/com/android/internal/textservice/ITextServicesSessionListener.aidl \
380 frameworks/base/core/java/com/android/internal/view/IInputContext.aidl \
381 frameworks/base/core/java/com/android/internal/view/IInputMethod.aidl \
382 frameworks/base/core/java/com/android/internal/view/IInputMethodClient.aidl \
383 frameworks/base/core/java/com/android/internal/view/IInputMethodManager.aidl \
384 frameworks/base/core/java/com/android/internal/view/IInputMethodSession.aidl \
385 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \
386 frameworks/base/graphics/java/android/graphics/Rect.aidl \
387 frameworks/base/graphics/java/android/graphics/Region.aidl \
388 frameworks/base/location/java/android/location/Criteria.aidl \
389 frameworks/base/location/java/android/location/Geofence.aidl \
390 frameworks/base/location/java/android/location/Location.aidl \
391 frameworks/base/location/java/android/location/LocationRequest.aidl \
392 frameworks/base/location/java/android/location/FusedBatchOptions.aidl \
393 frameworks/base/location/java/com/android/internal/location/ProviderProperties.aidl \
394 frameworks/base/location/java/com/android/internal/location/ProviderRequest.aidl \
395 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
396 frameworks/base/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
397 frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl \
398 frameworks/base/wifi/java/android/net/wifi/BatchedScanSettings.aidl \
399 frameworks/base/wifi/java/android/net/wifi/BatchedScanResult.aidl \
401 gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
402 $(gen): PRIVATE_SRC_FILES := $(aidl_files)
403 ALL_SDK_FILES += $(gen)
404 $(gen): $(aidl_files) | $(AIDL)
405 @echo Aidl Preprocess: $@
406 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES)
409 # ============================================================
411 # TODO: deal with com/google/android/googleapps
412 packages_to_document := \
414 javax/microedition/khronos
416 # Search through the base framework dirs for these packages.
417 # The result will be relative to frameworks/base.
418 fwbase_dirs_to_document := \
420 $(patsubst $(LOCAL_PATH)/%,%, \
422 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \
423 $(addprefix $(dir)/, $(packages_to_document)) \
428 # include definition of libcore_to_document
429 include libcore/Docs.mk
431 # include definition of junit_to_document
432 include external/junit/Common.mk
435 ../../external/apache-http/src/org/apache/http \
436 ../opt/telephony/src/java/android/provider \
437 ../opt/telephony/src/java/android/telephony \
438 ../opt/telephony/src/java/android/telephony/gsm \
439 ../opt/net/voip/src/java/android/net/rtp \
440 ../opt/net/voip/src/java/android/net/sip
442 # These are relative to frameworks/base
443 dirs_to_check_apis := \
444 $(fwbase_dirs_to_document) \
447 # These are relative to frameworks/base
448 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
449 dirs_to_document := \
450 $(dirs_to_check_apis) \
451 $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS))
453 # These are relative to frameworks/base
455 $(FRAMEWORKS_BASE_SUBDIRS) \
458 # Common sources for doc check and api check
459 common_src_files := \
460 $(call find-other-html-files, $(html_dirs)) \
461 $(addprefix ../../libcore/, $(call libcore_to_document, $(LOCAL_PATH)/../../libcore)) \
462 $(addprefix ../../external/junit/, $(call junit_to_document, $(LOCAL_PATH)/../../external/junit))
464 # These are relative to frameworks/base
465 framework_docs_LOCAL_SRC_FILES := \
466 $(call find-other-java-files, $(dirs_to_document)) \
469 # These are relative to frameworks/base
470 framework_docs_LOCAL_API_CHECK_SRC_FILES := \
471 $(call find-other-java-files, $(dirs_to_check_apis)) \
474 # This is used by ide.mk as the list of source files that are
476 INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document))
478 framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
479 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS)
481 framework_docs_LOCAL_INTERMEDIATE_SOURCES := \
482 $(framework_res_source_path)/android/R.java \
483 $(framework_res_source_path)/android/Manifest.java \
484 $(framework_res_source_path)/com/android/internal/R.java
486 framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \
498 framework_docs_LOCAL_JAVA_LIBRARIES := \
499 $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \
500 $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES)
502 framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
503 framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html
504 # The since flag (-since N.xml API_LEVEL) is used to add API Level information
505 # to the reference documentation. Must be in order of oldest to newest.
506 framework_docs_LOCAL_DROIDDOC_OPTIONS := \
507 -knowntags ./frameworks/base/docs/knowntags.txt \
508 -since $(SRC_API_DIR)/1.xml 1 \
509 -since $(SRC_API_DIR)/2.xml 2 \
510 -since $(SRC_API_DIR)/3.xml 3 \
511 -since $(SRC_API_DIR)/4.xml 4 \
512 -since $(SRC_API_DIR)/5.xml 5 \
513 -since $(SRC_API_DIR)/6.xml 6 \
514 -since $(SRC_API_DIR)/7.xml 7 \
515 -since $(SRC_API_DIR)/8.xml 8 \
516 -since $(SRC_API_DIR)/9.xml 9 \
517 -since $(SRC_API_DIR)/10.xml 10 \
518 -since $(SRC_API_DIR)/11.xml 11 \
519 -since $(SRC_API_DIR)/12.xml 12 \
520 -since $(SRC_API_DIR)/13.xml 13 \
521 -since $(SRC_API_DIR)/14.txt 14 \
522 -since $(SRC_API_DIR)/15.txt 15 \
523 -since $(SRC_API_DIR)/16.txt 16 \
524 -since $(SRC_API_DIR)/17.txt 17 \
525 -since $(SRC_API_DIR)/18.txt 18 \
526 -since $(SRC_API_DIR)/19.txt 19 \
528 -overview $(LOCAL_PATH)/core/java/overview.html
530 framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
531 $(call intermediates-dir-for,JAVA_LIBRARIES,framework-base,,COMMON)
533 framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
534 $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) \
535 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)) \
536 $(foreach lib,$(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib)-res,,COMMON))
538 framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \
539 frameworks/base/docs/knowntags.txt
541 sample_dir := development/samples
542 new_sample_dir := developers/samples/android
544 # Whitelist of valid groups, used for default TOC grouping. Each sample must
545 # belong to one (and only one) group. Assign samples to groups by setting
546 # a sample.group var to one of these groups in the sample's _index.jd.
547 sample_groups := -samplegroup Input \
548 -samplegroup Sensors \
549 -samplegroup Connectivity
551 # the list here should match the list of samples included in the sdk samples package
552 # (see development/build/sdk.atree)
553 # remove htmlified samples for now -- samples are still available through the SDK
554 web_docs_sample_code_flags := \
555 -hdf android.hasSamples 1 \
556 -samplecode $(new_sample_dir)/input/gestures/BasicGestureDetect/BasicGestureDetect \
557 samples/BasicGestureDetect/ "Basic Gestures" \
558 -samplecode $(sample_dir)/AccelerometerPlay \
559 samples/AccelerometerPlay "Accelerometer Play" \
560 -samplecode $(sample_dir)/ActionBarCompat \
561 samples/ActionBarCompat "Action Bar Compatibility" \
562 -samplecode $(sample_dir)/BluetoothHDP \
563 samples/BluetoothHDP "Bluetooth HDP Demo" \
564 -samplecode $(sample_dir)/BluetoothLeGatt \
565 samples/BluetoothLeGatt "Bluetooth HDP Demo"
566 # -samplecode $(sample_dir)/AndroidBeamDemo \
567 # samples/AndroidBeamDemo "Android Beam Demo" \
568 # -samplecode $(sample_dir)/ApiDemos \
569 # samples/ApiDemos "API Demos" \
570 # -samplecode $(sample_dir)/Support4Demos \
571 # samples/Support4Demos "API 4+ Support Demos" \
572 # -samplecode $(sample_dir)/Support13Demos \
573 # samples/Support13Demos "API 13+ Support Demos" \
574 # -samplecode $(sample_dir)/BackupRestore \
575 # samples/BackupRestore "Backup and Restore" \
576 # -samplecode $(sample_dir)/BluetoothChat \
577 # samples/BluetoothChat "Bluetooth Chat" \
578 # -samplecode $(sample_dir)/BusinessCard \
579 # samples/BusinessCard "Business Card" \
580 # -samplecode $(sample_dir)/ContactManager \
581 # samples/ContactManager "Contact Manager" \
582 # -samplecode $(sample_dir)/CubeLiveWallpaper \
583 # samples/CubeLiveWallpaper "Cube Live Wallpaper" \
584 # -samplecode $(sample_dir)/Home \
585 # samples/Home "Home" \
586 # -samplecode $(sample_dir)/HoneycombGallery \
587 # samples/HoneycombGallery "Honeycomb Gallery" \
588 # -samplecode $(sample_dir)/JetBoy \
589 # samples/JetBoy "JetBoy" \
590 # -samplecode $(sample_dir)/KeyChainDemo \
591 # samples/KeyChainDemo "KeyChain Demo" \
592 # -samplecode $(sample_dir)/LunarLander \
593 # samples/LunarLander "Lunar Lander" \
594 # -samplecode $(sample_dir)/training/ads-and-ux \
595 # samples/training/ads-and-ux "Mobile Advertisement Integration" \
596 # -samplecode $(sample_dir)/MultiResolution \
597 # samples/MultiResolution "Multiple Resolutions" \
598 # -samplecode $(sample_dir)/training/multiscreen/newsreader \
599 # samples/newsreader "News Reader" \
600 # -samplecode $(sample_dir)/NotePad \
601 # samples/NotePad "Note Pad" \
602 # -samplecode $(sample_dir)/SpellChecker/SampleSpellCheckerService \
603 # samples/SpellChecker/SampleSpellCheckerService "Spell Checker Service" \
604 # -samplecode $(sample_dir)/SpellChecker/HelloSpellChecker \
605 # samples/SpellChecker/HelloSpellChecker "Spell Checker Client" \
606 # -samplecode $(sample_dir)/SampleSyncAdapter \
607 # samples/SampleSyncAdapter "Sample Sync Adapter" \
608 # -samplecode $(sample_dir)/RandomMusicPlayer \
609 # samples/RandomMusicPlayer "Random Music Player" \
610 # -samplecode $(sample_dir)/RenderScript \
611 # samples/RenderScript "RenderScript" \
612 # -samplecode $(sample_dir)/SearchableDictionary \
613 # samples/SearchableDictionary "Searchable Dictionary v2" \
614 # -samplecode $(sample_dir)/SipDemo \
615 # samples/SipDemo "SIP Demo" \
616 # -samplecode $(sample_dir)/Snake \
617 # samples/Snake "Snake" \
618 # -samplecode $(sample_dir)/SoftKeyboard \
619 # samples/SoftKeyboard "Soft Keyboard" \
620 # -samplecode $(sample_dir)/Spinner \
621 # samples/Spinner "Spinner" \
622 # -samplecode $(sample_dir)/SpinnerTest \
623 # samples/SpinnerTest "SpinnerTest" \
624 # -samplecode $(sample_dir)/StackWidget \
625 # samples/StackWidget "StackView Widget" \
626 # -samplecode $(sample_dir)/TicTacToeLib \
627 # samples/TicTacToeLib "TicTacToeLib" \
628 # -samplecode $(sample_dir)/TicTacToeMain \
629 # samples/TicTacToeMain "TicTacToeMain" \
630 # -samplecode $(sample_dir)/ToyVpn \
631 # samples/ToyVpn "Toy VPN Client" \
632 # -samplecode $(sample_dir)/USB \
633 # samples/USB "USB" \
634 # -samplecode $(sample_dir)/WeatherListWidget \
635 # samples/WeatherListWidget "Weather List Widget" \
636 # -samplecode $(sample_dir)/WiFiDirectDemo \
637 # samples/WiFiDirectDemo "Wi-Fi Direct Demo" \
638 # -samplecode $(sample_dir)/Wiktionary \
639 # samples/Wiktionary "Wiktionary" \
640 # -samplecode $(sample_dir)/WiktionarySimple \
641 # samples/WiktionarySimple "Wiktionary (Simplified)" \
642 # -samplecode $(sample_dir)/VoiceRecognitionService \
643 # samples/VoiceRecognitionService "Voice Recognition Service" \
644 # -samplecode $(sample_dir)/VoicemailProviderDemo \
645 # samples/VoicemailProviderDemo "Voicemail Provider Demo" \
646 # -samplecode $(sample_dir)/XmlAdapters \
647 # samples/XmlAdapters "XML Adapters" \
648 # -samplecode $(sample_dir)/TtsEngine \
649 # samples/TtsEngine "Text To Speech Engine" \
650 # -samplecode $(sample_dir)/training/device-management-policy \
651 # samples/training/device-management-policy "Device Management Policy"
654 ## SDK version identifiers used in the published docs
655 # major[.minor] version for current SDK. (full releases only)
656 framework_docs_SDK_VERSION:=4.4
657 # release version (ie "Release x") (full releases only)
658 framework_docs_SDK_REL_ID:=1
660 framework_docs_LOCAL_DROIDDOC_OPTIONS += \
661 -hdf sdk.version $(framework_docs_SDK_VERSION) \
662 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
665 # ==== the api stubs and current.xml ===========================
666 include $(CLEAR_VARS)
668 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES)
669 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
670 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES)
671 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
672 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
673 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
674 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
675 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
677 LOCAL_MODULE := api-stubs
679 LOCAL_DROIDDOC_OPTIONS:=\
680 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
681 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src \
682 -api $(INTERNAL_PLATFORM_API_FILE) \
685 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
687 LOCAL_UNINSTALLABLE_MODULE := true
689 include $(BUILD_DROIDDOC)
691 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
692 $(full_target): $(framework_built) $(gen)
693 $(INTERNAL_PLATFORM_API_FILE): $(full_target)
694 $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE))
696 # ==== check javadoc comments but don't generate docs ========
697 include $(CLEAR_VARS)
699 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
700 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
701 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
702 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
703 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
704 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
705 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
706 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
708 LOCAL_MODULE := doc-comment-check
710 LOCAL_DROIDDOC_OPTIONS:=\
711 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
714 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
716 LOCAL_UNINSTALLABLE_MODULE := true
718 include $(BUILD_DROIDDOC)
720 # $(gen), i.e. framework.aidl, is also needed while building against the current stub.
721 $(full_target): $(framework_built) $(gen)
723 # Run this for checkbuild
725 checkbuild: doc-comment-check-docs
727 # ==== static html in the sdk ==================================
728 include $(CLEAR_VARS)
730 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
731 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
732 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
733 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
734 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
735 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
736 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
737 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
739 LOCAL_MODULE := offline-sdk
741 LOCAL_DROIDDOC_OPTIONS:=\
742 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
744 -title "Android SDK" \
745 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \
746 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
747 -sdkvalues $(OUT_DOCS) \
748 -hdf android.whichdoc offline
749 # $(web_docs_sample_code_flags)
752 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
754 include $(BUILD_DROIDDOC)
756 static_doc_index_redirect := $(out_dir)/index.html
757 $(static_doc_index_redirect): \
758 $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
759 $(hide) mkdir -p $(dir $@)
762 $(full_target): $(static_doc_index_redirect)
763 $(full_target): $(framework_built)
765 # ==== docs for the web (on the androiddevdocs app engine server) =======================
766 include $(CLEAR_VARS)
768 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
769 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
770 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
771 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
772 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
773 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
774 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
775 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
776 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
777 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /intl/
779 LOCAL_MODULE := online-sdk
781 LOCAL_DROIDDOC_OPTIONS:= \
782 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
784 -hdf android.whichdoc online
786 # $(web_docs_sample_code_flags)
788 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
790 include $(BUILD_DROIDDOC)
792 # ==== docs for the web (on the devsite app engine server) =======================
793 include $(CLEAR_VARS)
794 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
795 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
796 LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES)
797 LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES)
798 LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS)
799 LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH)
800 LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR)
801 LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR)
802 LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
803 # specify a second html input dir and an output path relative to OUT_DIR)
804 LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl /
808 LOCAL_DROIDDOC_OPTIONS:= \
809 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
812 -hdf android.whichdoc online \
814 # $(web_docs_sample_code_flags)
816 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
818 include $(BUILD_DROIDDOC)
820 # ==== docs that have all of the stuff that's @hidden =======================
821 include $(CLEAR_VARS)
823 LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES)
824 LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES)
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)
832 LOCAL_MODULE := hidden
833 LOCAL_DROIDDOC_OPTIONS:=\
834 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
835 -title "Android SDK - Including hidden APIs."
838 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
840 include $(BUILD_DROIDDOC)
843 # ============================================================
845 # NOTICE notes for non-obvious sections
846 # apache-http - covered by the Apache Commons section.
850 ../../external/nist-sip/java \
851 ../../external/apache-http/src \
852 ../../external/tagsoup/src \
853 ../../external/libphonenumber/java/src
855 ext_src_files := $(call all-java-files-under,$(ext_dirs))
858 ../../external/libphonenumber/java/src
860 # ==== the library =========================================
861 include $(CLEAR_VARS)
863 LOCAL_SRC_FILES := $(ext_src_files)
865 LOCAL_NO_STANDARD_LIBRARIES := true
866 LOCAL_JAVA_LIBRARIES := core
867 LOCAL_JAVA_RESOURCE_DIRS := $(ext_res_dirs)
868 LOCAL_MODULE_TAGS := optional
871 LOCAL_DX_FLAGS := --core-library
873 include $(BUILD_JAVA_LIBRARY)
876 # Include subdirectory makefiles
877 # ============================================================
879 # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
880 # team really wants is to build the stuff defined by this makefile.
881 ifeq (,$(ONE_SHOT_MAKEFILE))
882 include $(call first-makefiles-under,$(LOCAL_PATH))