OSDN Git Service

docs: Complications guide for Wear Preview
[android-x86/frameworks-base.git] / Android.mk
index a016b84..0d4d65b 100644 (file)
@@ -90,6 +90,7 @@ LOCAL_SRC_FILES += \
        core/java/android/app/IWallpaperManager.aidl \
        core/java/android/app/IWallpaperManagerCallback.aidl \
        core/java/android/app/admin/IDevicePolicyManager.aidl \
+       core/java/android/app/trust/IStrongAuthTracker.aidl \
        core/java/android/app/trust/ITrustManager.aidl \
        core/java/android/app/trust/ITrustListener.aidl \
        core/java/android/app/backup/IBackupManager.aidl \
@@ -159,6 +160,7 @@ LOCAL_SRC_FILES += \
        core/java/android/hardware/fingerprint/IFingerprintDaemon.aidl \
        core/java/android/hardware/fingerprint/IFingerprintDaemonCallback.aidl \
        core/java/android/hardware/fingerprint/IFingerprintService.aidl \
+       core/java/android/hardware/fingerprint/IFingerprintServiceLockoutResetCallback.aidl \
        core/java/android/hardware/fingerprint/IFingerprintServiceReceiver.aidl \
        core/java/android/hardware/hdmi/IHdmiControlCallback.aidl \
        core/java/android/hardware/hdmi/IHdmiControlService.aidl \
@@ -171,7 +173,9 @@ LOCAL_SRC_FILES += \
        core/java/android/hardware/hdmi/IHdmiVendorCommandListener.aidl \
        core/java/android/hardware/input/IInputManager.aidl \
        core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
+       core/java/android/hardware/input/ITabletModeChangedListener.aidl \
        core/java/android/hardware/location/IActivityRecognitionHardware.aidl \
+       core/java/android/hardware/location/IActivityRecognitionHardwareClient.aidl \
        core/java/android/hardware/location/IActivityRecognitionHardwareSink.aidl \
        core/java/android/hardware/location/IActivityRecognitionHardwareWatcher.aidl \
        core/java/android/hardware/location/IFusedLocationHardware.aidl \
@@ -344,6 +348,7 @@ LOCAL_SRC_FILES += \
        media/java/android/media/IRingtonePlayer.aidl \
        media/java/android/media/IVolumeController.aidl \
        media/java/android/media/audiopolicy/IAudioPolicyCallback.aidl \
+       media/java/android/media/midi/IBluetoothMidiService.aidl \
        media/java/android/media/midi/IMidiDeviceListener.aidl \
        media/java/android/media/midi/IMidiDeviceOpenCallback.aidl \
        media/java/android/media/midi/IMidiDeviceServer.aidl \
@@ -664,6 +669,16 @@ dirs_to_check_apis := \
   $(fwbase_dirs_to_document) \
        $(non_base_dirs)
 
+###########################################################
+## Return all directories that have a 'NO_DOCS' file in
+## them, appending a '%' to them to form a pattern to
+## filter out files under those directories.
+## $(1): A list of base directories to look at.
+###########################################################
+define find-no-docs-pattern
+$(addsuffix %, $(dir $(foreach dir, $(1), $(shell cd $(LOCAL_PATH); find $(dir) -name NO_DOCS))))
+endef
+
 # These are relative to frameworks/base
 # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk
 dirs_to_document := \
@@ -671,6 +686,9 @@ dirs_to_document := \
   $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \
   $(addprefix ../../, $(FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS)) \
 
+patterns_to_not_document := \
+       $(call find-no-docs-pattern, $(dirs_to_document))
+
 # These are relative to frameworks/base
 html_dirs := \
        $(FRAMEWORKS_BASE_SUBDIRS) \
@@ -684,7 +702,7 @@ common_src_files := \
 
 # These are relative to frameworks/base
 framework_docs_LOCAL_SRC_FILES := \
-       $(call find-other-java-files, $(dirs_to_document)) \
+       $(filter-out $(patterns_to_not_document), $(call find-other-java-files, $(dirs_to_document))) \
        $(common_src_files)
 
 # These are relative to frameworks/base