am 6c703628: Allow packages to place manifest files in any directory
* commit '6c703628c54275797caf2b524686d3dd2e34385c': Allow packages to place manifest files in any directory
This commit is contained in:
commit
db8698be85
|
@ -104,6 +104,7 @@ LOCAL_PROGUARD_FLAGS:=
|
|||
LOCAL_PROGUARD_FLAG_FILES:=
|
||||
LOCAL_EMMA_COVERAGE_FILTER:=
|
||||
LOCAL_WARNINGS_ENABLE:=
|
||||
LOCAL_FULL_MANIFEST_FILE:=
|
||||
LOCAL_MANIFEST_FILE:=
|
||||
LOCAL_RENDERSCRIPT_INCLUDES:=
|
||||
LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
|
||||
|
|
|
@ -65,6 +65,12 @@ ifeq ($(strip $(LOCAL_MANIFEST_FILE)),)
|
|||
LOCAL_MANIFEST_FILE := AndroidManifest.xml
|
||||
endif
|
||||
|
||||
# If you need to put the MANIFEST_FILE outside of LOCAL_PATH
|
||||
# you can use FULL_MANIFEST_FILE
|
||||
ifeq ($(strip $(LOCAL_FULL_MANIFEST_FILE)),)
|
||||
LOCAL_FULL_MANIFEST_FILE := $(LOCAL_PATH)/$(LOCAL_MANIFEST_FILE)
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LOCAL_MODULE_CLASS)),)
|
||||
$(error $(LOCAL_PATH): Package modules may not set LOCAL_MODULE_CLASS)
|
||||
endif
|
||||
|
@ -171,7 +177,7 @@ ifeq ($(LOCAL_SDK_RES_VERSION),)
|
|||
LOCAL_SDK_RES_VERSION:=$(LOCAL_SDK_VERSION)
|
||||
endif
|
||||
|
||||
full_android_manifest := $(LOCAL_PATH)/$(LOCAL_MANIFEST_FILE)
|
||||
full_android_manifest := $(LOCAL_FULL_MANIFEST_FILE)
|
||||
$(LOCAL_INTERMEDIATE_TARGETS): \
|
||||
PRIVATE_ANDROID_MANIFEST := $(full_android_manifest)
|
||||
ifneq (,$(filter-out current, $(LOCAL_SDK_VERSION)))
|
||||
|
|
Loading…
Reference in New Issue