Merge "Set PRIVATE_TARGET_AAPT_CHARACTERISTICS even when running with the old aapt" into nyc-dev
This commit is contained in:
commit
19b8145447
2 changed files with 7 additions and 7 deletions
|
@ -272,9 +272,10 @@ aapt_flags :=
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_AAPT_FLAGS := $(LOCAL_AAPT_FLAGS) $(PRODUCT_AAPT_FLAGS)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_AAPT_FLAGS := $(LOCAL_AAPT_FLAGS) $(PRODUCT_AAPT_FLAGS)
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_MANIFEST_PACKAGE_NAME := $(LOCAL_MANIFEST_PACKAGE_NAME)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_TARGET_AAPT_CHARACTERISTICS := $(TARGET_AAPT_CHARACTERISTICS)
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_MANIFEST_INSTRUMENTATION_FOR := $(LOCAL_MANIFEST_INSTRUMENTATION_FOR)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_MANIFEST_PACKAGE_NAME := $(LOCAL_MANIFEST_PACKAGE_NAME)
|
||||||
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_MANIFEST_INSTRUMENTATION_FOR := $(LOCAL_MANIFEST_INSTRUMENTATION_FOR)
|
||||||
|
|
||||||
ifdef aidl_sources
|
ifdef aidl_sources
|
||||||
ALL_MODULES.$(my_register_name).AIDL_FILES := $(aidl_sources)
|
ALL_MODULES.$(my_register_name).AIDL_FILES := $(aidl_sources)
|
||||||
|
@ -284,7 +285,7 @@ ALL_MODULES.$(my_register_name).RS_FILES := $(renderscript_sources_fullpath)
|
||||||
endif
|
endif
|
||||||
endif # !LOCAL_IS_HOST_MODULE
|
endif # !LOCAL_IS_HOST_MODULE
|
||||||
|
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_ALL_JAVA_LIBRARIES := $(full_java_libs)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_ALL_JAVA_LIBRARIES := $(full_java_libs)
|
||||||
|
|
||||||
ALL_MODULES.$(my_register_name).INTERMEDIATE_SOURCE_DIR := \
|
ALL_MODULES.$(my_register_name).INTERMEDIATE_SOURCE_DIR := \
|
||||||
$(ALL_MODULES.$(my_register_name).INTERMEDIATE_SOURCE_DIR) $(LOCAL_INTERMEDIATE_SOURCE_DIR)
|
$(ALL_MODULES.$(my_register_name).INTERMEDIATE_SOURCE_DIR) $(LOCAL_INTERMEDIATE_SOURCE_DIR)
|
||||||
|
@ -381,8 +382,8 @@ endif # LOCAL_INSTRUMENTATION_FOR
|
||||||
endif # !LOCAL_IS_HOST_MODULE
|
endif # !LOCAL_IS_HOST_MODULE
|
||||||
|
|
||||||
# Propagate local configuration options to this target.
|
# Propagate local configuration options to this target.
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_ALL_JACK_LIBRARIES:= $(full_jack_libs)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_ALL_JACK_LIBRARIES:= $(full_jack_libs)
|
||||||
$(LOCAL_INTERMEDIATE_TARGETS) : PRIVATE_JARJAR_RULES := $(LOCAL_JARJAR_RULES)
|
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_JARJAR_RULES := $(LOCAL_JARJAR_RULES)
|
||||||
|
|
||||||
endif # need_compile_java
|
endif # need_compile_java
|
||||||
endif # LOCAL_JACK_ENABLED
|
endif # LOCAL_JACK_ENABLED
|
||||||
|
|
|
@ -337,7 +337,6 @@ my_generated_res_dirs := $(rs_generated_res_dir)
|
||||||
my_generated_res_dirs_deps := $(RenderScript_file_stamp)
|
my_generated_res_dirs_deps := $(RenderScript_file_stamp)
|
||||||
# Add AAPT2 link specific flags.
|
# Add AAPT2 link specific flags.
|
||||||
$(my_res_package): PRIVATE_AAPT_FLAGS := $(LOCAL_AAPT_FLAGS) --no-static-lib-packages
|
$(my_res_package): PRIVATE_AAPT_FLAGS := $(LOCAL_AAPT_FLAGS) --no-static-lib-packages
|
||||||
$(my_res_package): PRIVATE_TARGET_AAPT_CHARACTERISTICS := $(TARGET_AAPT_CHARACTERISTICS)
|
|
||||||
include $(BUILD_SYSTEM)/aapt2.mk
|
include $(BUILD_SYSTEM)/aapt2.mk
|
||||||
else # LOCAL_USE_AAPT2
|
else # LOCAL_USE_AAPT2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue