CMSDK: Only target specific packages for checkapi.

Change-Id: I0dce0c9ff92f6b5fb670c17660ffa9dfaca79d79
This commit is contained in:
Adnan Begovic 2015-06-22 20:34:55 -07:00
parent 3ca85b345d
commit f1f9f25a34
3 changed files with 10 additions and 37279 deletions

View File

@ -127,12 +127,6 @@ cmplat_docs_SDK_REL_ID := 0
cmplat_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES
cmplat_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \
$(call intermediates-dir-for,JAVA_LIBRARIES,org.cyanogenmod.platform,,COMMON)
cmplat_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \
$(cmplat_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR)
cmplat_docs_LOCAL_DROIDDOC_SOURCE_PATH := \
$(cmplat_docs_src_files)
@ -157,9 +151,11 @@ LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= build/tools/droiddoc/templates-sdk
LOCAL_DROIDDOC_OPTIONS:= \
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/cmsdk_stubs_current_intermediates/src \
-stubpackages cyanogenmod.app:cyanogenmod.os:cyanogenmod.platform:org.cyanogenmod.platform \
-api $(INTERNAL_CM_PLATFORM_API_FILE) \
-removedApi $(INTERNAL_CM_PLATFORM_REMOVED_API_FILE) \
-nodocs
-nodocs \
-verbose
LOCAL_UNINSTALLABLE_MODULE := true
@ -179,16 +175,17 @@ LOCAL_JAVA_LIBRARIES:= $(cmplat_docs_java_libraries)
LOCAL_MODULE_CLASS:= $(cmplat_docs_LOCAL_MODULE_CLASS)
LOCAL_DROIDDOC_SOURCE_PATH:= $(cmplat_docs_LOCAL_DROIDDOC_SOURCE_PATH)
LOCAL_ADDITIONAL_JAVA_DIR:= $(intermediates.COMMON)/src
LOCAL_ADDITIONAL_DEPENDENCIES:= $(cmplat_docs_LOCAL_ADDITIONAL_DEPENDENCIES)
LOCAL_MODULE := cm-system-api-stubs
LOCAL_DROIDDOC_OPTIONS:=\
-stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/cmsdk_system_stubs_current_intermediates/src \
-stubpackages cyanogenmod.app:cyanogenmod.os:cyanogenmod.platform:org.cyanogenmod.platform \
-showAnnotation android.annotation.SystemApi \
-api $(INTERNAL_CM_PLATFORM_SYSTEM_API_FILE) \
-removedApi $(INTERNAL_CM_PLATFORM_SYSTEM_REMOVED_API_FILE) \
-nodocs
-nodocs \
-verbose
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:= build/tools/droiddoc/templates-sdk

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff