You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.2 KiB
74 lines
2.2 KiB
7 months ago
|
LOCAL_PATH := $(call my-dir)
|
||
|
|
||
|
############################## DLNA.jar begin ##############################
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
include $(LOCAL_PATH)/cfg.mak
|
||
|
|
||
|
LOCAL_MODULE := DLNA
|
||
|
|
||
|
LOCAL_MULTILIB := both
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||
|
#LOCAL_NO_STANDARD_LIBRARIES := true
|
||
|
|
||
|
LOCAL_SRC_FILES := $(call all-java-files-under, DLNA/src/main/java)
|
||
|
LOCAL_SRC_FILES += $(call all-Iaidl-files-under, DLNA/src/main/aidl)
|
||
|
|
||
|
# FRAMEWORKS_BASE_JAVA_SRC_DIRS comes from build/core/pathmap.mk
|
||
|
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/DLNA/src/main/aidl
|
||
|
LOCAL_AIDL_INCLUDES += frameworks/base/core/java
|
||
|
|
||
|
LOCAL_JAVA_LIBRARIES += framework ext
|
||
|
|
||
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
|
||
|
|
||
|
LOCAL_SHARE_LIBARAIES += libvppdlna libupnp libixml
|
||
|
|
||
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||
|
############################### DLNA.jar end ###############################
|
||
|
|
||
|
|
||
|
############################## GalleryL_adapter.jar begin ##############################
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
include $(LOCAL_PATH)/cfg.mak
|
||
|
|
||
|
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) > 23 ))" )))
|
||
|
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) < 30 ))" )))
|
||
|
LOCAL_JAVA_LIBRARIES += core-oj
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) < 21 ))" )))
|
||
|
LOCAL_JAVA_LIBRARIES += core
|
||
|
else
|
||
|
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) < 30 ))" )))
|
||
|
LOCAL_JAVA_LIBRARIES += core-libart
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
LOCAL_MODULE := GalleryL_adapter
|
||
|
|
||
|
LOCAL_MULTILIB := both
|
||
|
LOCAL_MODULE_TAGS := optional
|
||
|
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
|
||
|
LOCAL_NO_STANDARD_LIBRARIES := true
|
||
|
|
||
|
LOCAL_SRC_FILES := $(call all-java-files-under, GalleryL_adapter/src/main/java)
|
||
|
LOCAL_SRC_FILES += DLNA/src/main/java/com/huanglong/dlna/util/LogTool.java
|
||
|
|
||
|
LOCAL_JAVA_LIBRARIES += framework ext
|
||
|
LOCAL_JNI_SHARED_LIBRARIES += libgallerycore
|
||
|
LOCAL_JNI_SHARED_LIBRARIES += liboffscreenobject
|
||
|
LOCAL_STATIC_JAVA_LIBRARIES := gallerycore
|
||
|
#AndroidK need the jar
|
||
|
ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) < 20 ))" )))
|
||
|
LOCAL_STATIC_JAVA_LIBRARIES += imani
|
||
|
endif
|
||
|
|
||
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||
|
############################### GalleryL_adapter.jar end ###############################
|
||
|
|
||
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|