Android.mk revision 3eb9b66deb18888d7f52ed901abf342506aa3db7
1c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# 2c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Copyright (C) 2008 The Android Open Source Project 3c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# 4c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Licensed under the Apache License, Version 2.0 (the "License"); 5c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# you may not use this file except in compliance with the License. 6c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# You may obtain a copy of the License at 7c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# 8c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# http://www.apache.org/licenses/LICENSE-2.0 9c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# 10c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Unless required by applicable law or agreed to in writing, software 11c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# distributed under the License is distributed on an "AS IS" BASIS, 12c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# See the License for the specific language governing permissions and 14c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# limitations under the License. 15c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# 16c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_PATH := $(call my-dir) 17c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 18c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# We have a special case here where we build the library's resources 19c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# independently from its code, so we need to find where the resource 20c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# class source got placed in the course of building the resources. 21c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Thus, the magic here. 22c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Also, this module cannot depend directly on the R.java file; if it 23c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# did, the PRIVATE_* vars for R.java wouldn't be guaranteed to be correct. 24c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Instead, it depends on the R.stamp file, which lists the corresponding 25c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# R.java file as a prerequisite. 26c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# TODO: find a more appropriate way to do this. 27c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackbornframework-res-source-path := APPS/framework-res_intermediates/src 28c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 29c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# the library 30c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# ============================================================ 31c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborninclude $(CLEAR_VARS) 32c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 33c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk 34c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_SRC_FILES := $(call find-other-java-files,$(FRAMEWORKS_BASE_SUBDIRS)) 35c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 36c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# EventLogTags files. 37c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_SRC_FILES += \ 38c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/EventLogTags.logtags \ 39c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/webkit/EventLogTags.logtags \ 40c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/EventLogTags.logtags \ 41c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 42c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# The following filters out code we are temporarily not including at all. 43c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# TODO: Move AWT and beans (and associated harmony code) back into libcore. 44c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# TODO: Maybe remove javax.microedition entirely? 45c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# TODO: Move SyncML (org.mobilecontrol.*) into its own library. 46c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_SRC_FILES := $(filter-out \ 47c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn org/mobilecontrol/% \ 48c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn ,$(LOCAL_SRC_FILES)) 49c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 50c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Include a different set of source files when building a debug build. 51c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# TODO: Maybe build these into a separate .jar and put it on the classpath 52c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# in front of framework.jar. 53c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# NOTE: Do not use this as an example; this is a very special situation. 54c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Do not modify LOCAL_SRC_FILES based on any variable other 55c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# than TARGET_BUILD_TYPE, otherwise builds can become inconsistent. 56c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackbornifeq ($(TARGET_BUILD_TYPE),debug) 57c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn LOCAL_SRC_FILES += $(call find-other-java-files,core/config/debug) 58361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwaleelse 59c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn LOCAL_SRC_FILES += $(call find-other-java-files,core/config/ndebug) 60c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackbornendif 61c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 62c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn## READ ME: ######################################################## 63c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn## 64361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## When updating this list of aidl files, consider if that aidl is 65361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## part of the SDK API. If it is, also add it to the list below that 66361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## is preprocessed and distributed with the SDK. This list should 67361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## not contain any aidl files for parcelables, but the one below should 68361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## if you intend for 3rd parties to be able to send those objects 69361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## across process boundaries. 70361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale## 71c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn## READ ME: ######################################################## 72c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_SRC_FILES += \ 73c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl \ 74c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accessibilityservice/IEventListener.aidl \ 75c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accounts/IAccountManager.aidl \ 76c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accounts/IAccountManagerResponse.aidl \ 77c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accounts/IAccountAuthenticator.aidl \ 78c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/accounts/IAccountAuthenticatorResponse.aidl \ 79c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IActivityController.aidl \ 80c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IActivityPendingResult.aidl \ 81c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IActivityWatcher.aidl \ 82c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IAlarmManager.aidl \ 83c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IBackupAgent.aidl \ 84c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IInstrumentationWatcher.aidl \ 85c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/INotificationManager.aidl \ 86c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/ISearchManager.aidl \ 87c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/ISearchManagerCallback.aidl \ 88c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IServiceConnection.aidl \ 89c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IThumbnailReceiver.aidl \ 90c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/ITransientNotification.aidl \ 91c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IUiModeManager.aidl \ 92c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IWallpaperManager.aidl \ 93c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/IWallpaperManagerCallback.aidl \ 94c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/admin/IDevicePolicyManager.aidl \ 95c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/backup/IBackupManager.aidl \ 96c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/backup/IRestoreObserver.aidl \ 97c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/app/backup/IRestoreSession.aidl \ 98c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/bluetooth/IBluetooth.aidl \ 99c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/bluetooth/IBluetoothA2dp.aidl \ 100c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/bluetooth/IBluetoothCallback.aidl \ 101c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/bluetooth/IBluetoothHeadset.aidl \ 102c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/bluetooth/IBluetoothPbap.aidl \ 103c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/IContentService.aidl \ 104c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/IIntentReceiver.aidl \ 105c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/IIntentSender.aidl \ 106c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/ISyncAdapter.aidl \ 107c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/ISyncContext.aidl \ 108c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/ISyncStatusObserver.aidl \ 109c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageDataObserver.aidl \ 110c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageDeleteObserver.aidl \ 111c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageInstallObserver.aidl \ 112c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageManager.aidl \ 113c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageMoveObserver.aidl \ 114c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/content/pm/IPackageStatsObserver.aidl \ 115361ca21acc0831a9f8bbb259bb30218c252a2aa0Wale Ogunwale core/java/android/database/IContentObserver.aidl \ 116c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/hardware/ISensorService.aidl \ 117c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/net/IConnectivityManager.aidl \ 118c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/net/INetworkManagementEventObserver.aidl \ 119c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/net/IThrottleManager.aidl \ 120c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IHardwareService.aidl \ 121c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IMessenger.aidl \ 122c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/storage/IMountService.aidl \ 123c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/storage/IMountServiceListener.aidl \ 124c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/storage/IMountShutdownObserver.aidl \ 125c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/INetworkManagementService.aidl \ 126c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/INetStatService.aidl \ 127c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IPermissionController.aidl \ 128c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IPowerManager.aidl \ 129c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IRemoteCallback.aidl \ 130c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/os/IVibratorService.aidl \ 131c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/service/urlrenderer/IUrlRendererService.aidl \ 132c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/service/urlrenderer/IUrlRendererCallback.aidl \ 133c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/service/wallpaper/IWallpaperConnection.aidl \ 134c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/service/wallpaper/IWallpaperEngine.aidl \ 135c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/service/wallpaper/IWallpaperService.aidl \ 136c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/text/IClipboard.aidl \ 137c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/accessibility/IAccessibilityManager.aidl \ 138c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/accessibility/IAccessibilityManagerClient.aidl \ 139c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IApplicationToken.aidl \ 140c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IOnKeyguardExitResult.aidl \ 141c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IRotationWatcher.aidl \ 142c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IWindow.aidl \ 143c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IWindowManager.aidl \ 144c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/view/IWindowSession.aidl \ 145c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/speech/IRecognitionListener.aidl \ 146c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/speech/IRecognitionService.aidl \ 147c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/speech/tts/ITts.aidl \ 148c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/android/speech/tts/ITtsCallback.aidl \ 149c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/app/IBatteryStats.aidl \ 150c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/app/IUsageStats.aidl \ 151c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/app/IMediaContainerService.aidl \ 152c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/appwidget/IAppWidgetService.aidl \ 153c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/appwidget/IAppWidgetHost.aidl \ 154c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/backup/IBackupTransport.aidl \ 155c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/os/IDropBoxManagerService.aidl \ 156c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/os/IResultReceiver.aidl \ 157c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/statusbar/IStatusBar.aidl \ 158c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/statusbar/IStatusBarService.aidl \ 159c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputContext.aidl \ 160c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputContextCallback.aidl \ 161c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputMethod.aidl \ 162c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputMethodCallback.aidl \ 163c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputMethodClient.aidl \ 164c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputMethodManager.aidl \ 165c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn core/java/com/android/internal/view/IInputMethodSession.aidl \ 166c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/IGeocodeProvider.aidl \ 167c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/IGpsStatusListener.aidl \ 168c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/IGpsStatusProvider.aidl \ 169c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/ILocationListener.aidl \ 170c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/ILocationManager.aidl \ 171c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/ILocationProvider.aidl \ 172c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn location/java/android/location/INetInitiatedListener.aidl \ 173c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn media/java/android/media/IAudioService.aidl \ 174c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn media/java/android/media/IAudioFocusDispatcher.aidl \ 175c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn media/java/android/media/IMediaScannerListener.aidl \ 176c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn media/java/android/media/IMediaScannerService.aidl \ 177c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \ 178c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \ 179c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/ITelephony.aidl \ 180c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \ 181c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/IIccPhoneBook.aidl \ 182c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/ISms.aidl \ 183c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn wifi/java/android/net/wifi/IWifiManager.aidl \ 184c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn telephony/java/com/android/internal/telephony/IExtendedNetworkService.aidl \ 185c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn vpn/java/android/net/vpn/IVpnService.aidl \ 186c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 187c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 188c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk 189c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_AIDL_INCLUDES += $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) 190c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 191c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_INTERMEDIATE_SOURCES := \ 192c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn $(framework-res-source-path)/android/R.java \ 193c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn $(framework-res-source-path)/android/Manifest.java \ 194c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn $(framework-res-source-path)/com/android/internal/R.java 195c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 196c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_NO_STANDARD_LIBRARIES := true 197c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_JAVA_LIBRARIES := core core-junit ext 198c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 199c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_MODULE := framework 200c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_MODULE_CLASS := JAVA_LIBRARIES 201c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 202c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_NO_EMMA_INSTRUMENT := true 203c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_NO_EMMA_COMPILE := true 204c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 205c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# List of classes and interfaces which should be loaded by the Zygote. 206c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_JAVA_RESOURCE_FILES += $(LOCAL_PATH)/preloaded-classes 207c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 208c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn#LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt 209c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 210c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne HackbornLOCAL_DX_FLAGS := --core-library 211c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 212c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborninclude $(BUILD_JAVA_LIBRARY) 213c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 214c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Make sure that R.java and Manifest.java are built before we build 215c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# the source for this library. 216c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackbornframework_res_R_stamp := \ 217c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn $(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp 218c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn$(full_classes_compiled_jar): $(framework_res_R_stamp) 219c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 220c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# Make sure that framework-res is installed when framework is. 221c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn$(LOCAL_INSTALLED_MODULE): | $(dir $(LOCAL_INSTALLED_MODULE))framework-res.apk 222c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 223c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackbornframework_built := $(LOCAL_BUILT_MODULE) 224c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn 225c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# AIDL files to be preprocessed and included in the SDK, 226c652de8141f5b8e3c6bcf8916842b6e106413b1aDianne Hackborn# relative to the root of the build tree. 227# ============================================================ 228aidl_files := \ 229 frameworks/base/core/java/android/accounts/IAccountManager.aidl \ 230 frameworks/base/core/java/android/accounts/IAccountManagerResponse.aidl \ 231 frameworks/base/core/java/android/accounts/IAccountAuthenticator.aidl \ 232 frameworks/base/core/java/android/accounts/IAccountAuthenticatorResponse.aidl \ 233 frameworks/base/core/java/android/app/Notification.aidl \ 234 frameworks/base/core/java/android/app/PendingIntent.aidl \ 235 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \ 236 frameworks/base/core/java/android/content/ComponentName.aidl \ 237 frameworks/base/core/java/android/content/Intent.aidl \ 238 frameworks/base/core/java/android/content/IntentSender.aidl \ 239 frameworks/base/core/java/android/content/PeriodicSync.aidl \ 240 frameworks/base/core/java/android/content/SyncStats.aidl \ 241 frameworks/base/core/java/android/content/res/Configuration.aidl \ 242 frameworks/base/core/java/android/appwidget/AppWidgetProviderInfo.aidl \ 243 frameworks/base/core/java/android/net/Uri.aidl \ 244 frameworks/base/core/java/android/os/Bundle.aidl \ 245 frameworks/base/core/java/android/os/DropBoxManager.aidl \ 246 frameworks/base/core/java/android/os/ParcelFileDescriptor.aidl \ 247 frameworks/base/core/java/android/os/ParcelUuid.aidl \ 248 frameworks/base/core/java/android/view/KeyEvent.aidl \ 249 frameworks/base/core/java/android/view/MotionEvent.aidl \ 250 frameworks/base/core/java/android/view/Surface.aidl \ 251 frameworks/base/core/java/android/view/WindowManager.aidl \ 252 frameworks/base/core/java/android/widget/RemoteViews.aidl \ 253 frameworks/base/core/java/com/android/internal/view/IInputContext.aidl \ 254 frameworks/base/core/java/com/android/internal/view/IInputMethod.aidl \ 255 frameworks/base/core/java/com/android/internal/view/IInputMethodCallback.aidl \ 256 frameworks/base/core/java/com/android/internal/view/IInputMethodClient.aidl \ 257 frameworks/base/core/java/com/android/internal/view/IInputMethodManager.aidl \ 258 frameworks/base/core/java/com/android/internal/view/IInputMethodSession.aidl \ 259 frameworks/base/graphics/java/android/graphics/Bitmap.aidl \ 260 frameworks/base/graphics/java/android/graphics/Rect.aidl \ 261 frameworks/base/graphics/java/android/graphics/Region.aidl \ 262 frameworks/base/location/java/android/location/Criteria.aidl \ 263 frameworks/base/location/java/android/location/Location.aidl \ 264 frameworks/base/telephony/java/android/telephony/ServiceState.aidl \ 265 frameworks/base/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \ 266 frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl \ 267 frameworks/base/vpn/java/android/net/vpn/IVpnService.aidl \ 268 269gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl 270$(gen): PRIVATE_SRC_FILES := $(aidl_files) 271ALL_SDK_FILES += $(gen) 272$(gen): $(aidl_files) | $(AIDL) 273 @echo Aidl Preprocess: $@ 274 $(hide) $(AIDL) --preprocess $@ $(PRIVATE_SRC_FILES) 275 276# the documentation 277# ============================================================ 278 279# TODO: deal with com/google/android/googleapps 280packages_to_document := \ 281 android \ 282 javax/microedition/khronos 283 284# Search through the base framework dirs for these packages. 285# The result will be relative to frameworks/base. 286fwbase_dirs_to_document := \ 287 test-runner/src \ 288 $(patsubst $(LOCAL_PATH)/%,%, \ 289 $(wildcard \ 290 $(foreach dir, $(FRAMEWORKS_BASE_JAVA_SRC_DIRS), \ 291 $(addprefix $(dir)/, $(packages_to_document)) \ 292 ) \ 293 ) \ 294 ) 295 296# Pass a special "fake-out" version of some classes to the doc/API tools. 297# ConfigBuildFlags uses this trick to prevent certain fields from appearing 298# as "final" in the official SDK APIs. 299fwbase_dirs_to_document += core/config/sdk 300 301# These are relative to libcore 302# Intentionally not included from libcore: 303# icu openssl suncompat support 304libcore_to_document := \ 305 dalvik/src/main/java/dalvik \ 306 json/src/main/java \ 307 junit/src/main/java \ 308 luni/src/main/java/java \ 309 luni/src/main/java/javax \ 310 luni/src/main/java/org/xml/sax \ 311 luni/src/main/java/org/w3c \ 312 xml/src/main/java/org/xmlpull/v1 \ 313 314non_base_dirs := \ 315 ../../external/apache-http/src/org/apache/http 316 317# These are relative to frameworks/base 318dirs_to_document := \ 319 $(fwbase_dirs_to_document) \ 320 $(non_base_dirs) \ 321 $(addprefix ../../libcore/, $(libcore_to_document)) 322 323html_dirs := \ 324 $(FRAMEWORKS_BASE_SUBDIRS) \ 325 $(non_base_dirs) 326 327# These are relative to frameworks/base 328framework_docs_LOCAL_SRC_FILES := \ 329 $(call find-other-java-files, $(dirs_to_document)) \ 330 $(call find-other-html-files, $(html_dirs)) 331 332# This is used by ide.mk as the list of source files that are 333# always included. 334INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document)) 335 336framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \ 337 $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) 338 339framework_docs_LOCAL_INTERMEDIATE_SOURCES := \ 340 $(framework-res-source-path)/android/R.java \ 341 $(framework-res-source-path)/android/Manifest.java \ 342 $(framework-res-source-path)/com/android/internal/R.java 343 344framework_docs_LOCAL_JAVA_LIBRARIES := \ 345 core \ 346 ext \ 347 framework \ 348 349framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES 350framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html 351# The since flag (-since N.xml API_LEVEL) is used to add API Level information 352# to the reference documentation. Must be in order of oldest to newest. 353framework_docs_LOCAL_DROIDDOC_OPTIONS := \ 354 -since ./frameworks/base/api/1.xml 1 \ 355 -since ./frameworks/base/api/2.xml 2 \ 356 -since ./frameworks/base/api/3.xml 3 \ 357 -since ./frameworks/base/api/4.xml 4 \ 358 -since ./frameworks/base/api/5.xml 5 \ 359 -since ./frameworks/base/api/6.xml 6 \ 360 -since ./frameworks/base/api/7.xml 7 \ 361 -since ./frameworks/base/api/8.xml 8 \ 362 -error 1 -error 2 -warning 3 -error 4 -error 6 -error 8 \ 363 -overview $(LOCAL_PATH)/core/java/overview.html 364 365framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:=$(call intermediates-dir-for,JAVA_LIBRARIES,framework) 366 367sample_dir := development/samples 368 369# the list here should match the list of samples included in the sdk samples package 370# (see development/build/sdk.atree) 371web_docs_sample_code_flags := \ 372 -hdf android.hasSamples 1 \ 373 -samplecode $(sample_dir)/ApiDemos \ 374 resources/samples/ApiDemos "API Demos" \ 375 -samplecode $(sample_dir)/BackupRestore \ 376 resources/samples/BackupRestore "Backup and Restore" \ 377 -samplecode $(sample_dir)/BluetoothChat \ 378 resources/samples/BluetoothChat "Bluetooth Chat" \ 379 -samplecode $(sample_dir)/BusinessCard \ 380 resources/samples/BusinessCard "Business Card" \ 381 -samplecode $(sample_dir)/ContactManager \ 382 resources/samples/ContactManager "Contact Manager" \ 383 -samplecode $(sample_dir)/CubeLiveWallpaper \ 384 resources/samples/CubeLiveWallpaper "Live Wallpaper" \ 385 -samplecode $(sample_dir)/Home \ 386 resources/samples/Home "Home" \ 387 -samplecode $(sample_dir)/HeavyWeight \ 388 resources/samples/HeavyWeight "Heavy Weight App" \ 389 -samplecode $(sample_dir)/JetBoy \ 390 resources/samples/JetBoy "JetBoy" \ 391 -samplecode $(sample_dir)/LunarLander \ 392 resources/samples/LunarLander "Lunar Lander" \ 393 -samplecode $(sample_dir)/MultiResolution \ 394 resources/samples/MultiResolution "Multiple Resolutions" \ 395 -samplecode $(sample_dir)/NotePad \ 396 resources/samples/NotePad "Note Pad" \ 397 -samplecode $(sample_dir)/SampleSyncAdapter \ 398 resources/samples/SampleSyncAdapter "Sample Sync Adapter" \ 399 -samplecode $(sample_dir)/SearchableDictionary \ 400 resources/samples/SearchableDictionary "Searchable Dictionary v2" \ 401 -samplecode $(sample_dir)/Snake \ 402 resources/samples/Snake "Snake" \ 403 -samplecode $(sample_dir)/SoftKeyboard \ 404 resources/samples/SoftKeyboard "Soft Keyboard" \ 405 -samplecode $(sample_dir)/Spinner \ 406 resources/samples/Spinner "Spinner" \ 407 -samplecode $(sample_dir)/SpinnerTest \ 408 resources/samples/SpinnerTest "SpinnerTest" \ 409 -samplecode $(sample_dir)/TicTacToeLib \ 410 resources/samples/TicTacToeLib "TicTacToeLib" \ 411 -samplecode $(sample_dir)/TicTacToeMain \ 412 resources/samples/TicTacToeMain "TicTacToeMain" \ 413 -samplecode $(sample_dir)/Wiktionary \ 414 resources/samples/Wiktionary "Wiktionary" \ 415 -samplecode $(sample_dir)/WiktionarySimple \ 416 resources/samples/WiktionarySimple "Wiktionary (Simplified)" \ 417 -samplecode $(sample_dir)/VoiceRecognitionService \ 418 resources/samples/VoiceRecognitionService "Voice Recognition Service" \ 419 -samplecode $(sample_dir)/XmlAdapters \ 420 resources/samples/XmlAdapters "XML Adapters" 421 422## SDK version identifiers used in the published docs 423 # major[.minor] version for current SDK. (full releases only) 424framework_docs_SDK_VERSION:=2.2 425 # release version (ie "Release x") (full releases only) 426framework_docs_SDK_REL_ID:=1 427 # name of current SDK directory (full releases only) 428framework_docs_SDK_CURRENT_DIR:=$(framework_docs_SDK_VERSION)_r$(framework_docs_SDK_REL_ID) 429 # flag to build offline docs for a preview release 430framework_docs_SDK_PREVIEW:=0 431 432## Latest ADT version identifiers, for reference from published docs 433framework_docs_ADT_VERSION:=0.9.7 434framework_docs_ADT_DOWNLOAD:=ADT-0.9.7.zip 435framework_docs_ADT_BYTES:=8033750 436framework_docs_ADT_CHECKSUM:=de2431c8d4786d127ae5bfc95b4605df 437 438framework_docs_LOCAL_DROIDDOC_OPTIONS += \ 439 -hdf sdk.version $(framework_docs_SDK_VERSION) \ 440 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \ 441 -hdf sdk.current $(framework_docs_SDK_CURRENT_DIR) \ 442 -hdf adt.zip.version $(framework_docs_ADT_VERSION) \ 443 -hdf adt.zip.download $(framework_docs_ADT_DOWNLOAD) \ 444 -hdf adt.zip.bytes $(framework_docs_ADT_BYTES) \ 445 -hdf adt.zip.checksum $(framework_docs_ADT_CHECKSUM) 446 447# ==== the api stubs and current.xml =========================== 448include $(CLEAR_VARS) 449 450LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) 451LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) 452LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) 453LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) 454LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) 455LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) 456LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) 457 458LOCAL_MODULE := api-stubs 459 460LOCAL_DROIDDOC_OPTIONS:=\ 461 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ 462 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src \ 463 -apixml $(INTERNAL_PLATFORM_API_FILE) \ 464 -nodocs 465 466LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk 467LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk 468 469include $(BUILD_DROIDDOC) 470 471# $(gen), i.e. framework.aidl, is also needed while building against the current stub. 472$(full_target): $(framework_built) $(gen) 473$(INTERNAL_PLATFORM_API_FILE): $(full_target) 474$(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE)) 475 476# ==== static html in the sdk ================================== 477include $(CLEAR_VARS) 478 479LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) 480LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) 481LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) 482LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) 483LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) 484LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) 485LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) 486 487LOCAL_MODULE := offline-sdk 488 489LOCAL_DROIDDOC_OPTIONS:=\ 490 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ 491 $(web_docs_sample_code_flags) \ 492 -offlinemode \ 493 -title "Android SDK" \ 494 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ 495 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \ 496 -sdkvalues $(OUT_DOCS) \ 497 -hdf android.whichdoc offline 498 499ifeq ($(framework_docs_SDK_PREVIEW),true) 500 LOCAL_DROIDDOC_OPTIONS += -hdf sdk.current preview 501endif 502 503LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk 504LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk 505 506include $(BUILD_DROIDDOC) 507 508static_doc_index_redirect := $(out_dir)/index.html 509$(static_doc_index_redirect): \ 510 $(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP) 511 $(hide) mkdir -p $(dir $@) 512 $(hide) $(ACP) $< $@ 513 514$(full_target): $(static_doc_index_redirect) 515$(full_target): $(framework_built) 516 517 518# ==== docs for the web (on the google app engine server) ======================= 519include $(CLEAR_VARS) 520 521LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) 522LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) 523LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) 524LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) 525LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) 526LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) 527LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) 528LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) 529 530LOCAL_MODULE := online-sdk 531 532LOCAL_DROIDDOC_OPTIONS:= \ 533 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ 534 $(web_docs_sample_code_flags) \ 535 -toroot / \ 536 -hdf android.whichdoc online \ 537 -hdf template.showLanguageMenu true 538 539LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk 540LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk 541 542include $(BUILD_DROIDDOC) 543 544# explicitly specify that online-sdk depends on framework-res. 545$(full_target): framework-res-package-target 546 547# ==== docs that have all of the stuff that's @hidden ======================= 548include $(CLEAR_VARS) 549 550LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) 551LOCAL_INTERMEDIATE_SOURCES:=$(framework_docs_LOCAL_INTERMEDIATE_SOURCES) 552LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) framework 553LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) 554LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) 555LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) 556LOCAL_ADDITIONAL_JAVA_DIR:=$(call intermediates-dir-for,JAVA_LIBRARIES,framework) 557 558LOCAL_MODULE := hidden 559LOCAL_DROIDDOC_OPTIONS:=\ 560 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ 561 -title "Android SDK - Including hidden APIs." 562# -hidden 563 564LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk 565LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=assets-sdk 566 567include $(BUILD_DROIDDOC) 568 569# Build ext.jar 570# ============================================================ 571 572ext_dirs := \ 573 ../../external/apache-http/src \ 574 ../../external/tagsoup/src \ 575 ../../external/libphonenumber/java/src 576 577ext_src_files := $(call all-java-files-under,$(ext_dirs)) 578 579ext_res_dirs := \ 580 ../../external/libphonenumber/java/src 581 582# ==== the library ========================================= 583include $(CLEAR_VARS) 584 585LOCAL_SRC_FILES := $(ext_src_files) 586 587LOCAL_NO_STANDARD_LIBRARIES := true 588LOCAL_JAVA_LIBRARIES := core 589LOCAL_JAVA_RESOURCE_DIRS := $(ext_res_dirs) 590LOCAL_MODULE := ext 591 592LOCAL_NO_EMMA_INSTRUMENT := true 593LOCAL_NO_EMMA_COMPILE := true 594 595include $(BUILD_JAVA_LIBRARY) 596 597 598# Include subdirectory makefiles 599# ============================================================ 600 601# If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 602# team really wants is to build the stuff defined by this makefile. 603ifeq (,$(ONE_SHOT_MAKEFILE)) 604include $(call first-makefiles-under,$(LOCAL_PATH)) 605endif 606