1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_MODULE_TAGS := optional 5 LOCAL_SDK_VERSION := 21 6 7 LOCAL_SRC_FILES := $(call all-java-files-under, src) 8 9 10 LOCAL_JAVA_LIBRARIES := \ 11 android-support-v4 12 13 LOCAL_MODULE := android-support-recommendation 14 15 LOCAL_JAVA_LANGUAGE_VERSION := 1.7 16 include $(BUILD_STATIC_JAVA_LIBRARY) 17 18 # =========================================================== 19 # Common Droiddoc vars 20 recommendation.docs.src_files := \ 21 $(call all-java-files-under, src) \ 22 $(call all-html-files-under, src) 23 recommendation.docs.java_libraries := \ 24 android-support-v4 \ 25 android-support-recommendation 26 27 # Documentation 28 # =========================================================== 29 include $(CLEAR_VARS) 30 31 LOCAL_MODULE := android-support-recommendation 32 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 33 LOCAL_MODULE_TAGS := optional 34 35 LOCAL_SRC_FILES := $(recommendation.docs.src_files) 36 37 LOCAL_SDK_VERSION := 21 38 LOCAL_IS_HOST_MODULE := false 39 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR := build/tools/droiddoc/templates-sdk 40 41 LOCAL_JAVA_LIBRARIES := $(recommendation.docs.java_libraries) 42 43 LOCAL_DROIDDOC_OPTIONS := \ 44 -offlinemode \ 45 -hdf android.whichdoc offline \ 46 -federate Android http://developer.android.com \ 47 -federationapi Android prebuilts/sdk/api/21.txt \ 48 -hide 113 49 50 include $(BUILD_DROIDDOC) 51 52