forked from openkylin/platform_build
Revert "Add LOCAL_ASSET_DIR support (-A) to aapt2"
This reverts commit 996bc3ce7b
.
Reason for revert: Need to update prebuilts, but prebuilts not built by server yet...
Change-Id: I87deb3ed9512278ff40c185059230dbd66524989
This commit is contained in:
parent
996bc3ce7b
commit
7932676215
|
@ -5,8 +5,6 @@
|
|||
# - my_res_resources
|
||||
# - my_overlay_resources
|
||||
# - my_compiled_res_base_dir
|
||||
# - my_asset_dirs
|
||||
# - my_full_asset_paths
|
||||
# - my_res_package
|
||||
# - R_file_stamp
|
||||
# - proguard_options_file
|
||||
|
@ -68,9 +66,7 @@ $(my_res_package): PRIVATE_RES_FLAT := $(my_res_resources_flat)
|
|||
$(my_res_package): PRIVATE_OVERLAY_FLAT := $(my_static_library_resources) $(my_generated_resources_flata) $(my_overlay_resources_flat)
|
||||
$(my_res_package): PRIVATE_SHARED_ANDROID_LIBRARIES := $(my_shared_library_resources)
|
||||
$(my_res_package): PRIVATE_PROGUARD_OPTIONS_FILE := $(proguard_options_file)
|
||||
$(my_res_package): PRIVATE_ASSET_DIRS := $(my_asset_dirs)
|
||||
$(my_res_package) : $(full_android_manifest) $(my_static_library_resources) $(my_shared_library_resources)
|
||||
$(my_res_package): $(my_full_asset_paths)
|
||||
$(my_res_package) : $(my_res_resources_flat) $(my_overlay_resources_flat) \
|
||||
$(my_generated_resources_flata) $(my_static_library_resources) \
|
||||
$(AAPT2)
|
||||
|
|
|
@ -2110,7 +2110,6 @@ $(hide) $(AAPT2) link -o $@ \
|
|||
$(addprefix --manifest ,$(PRIVATE_ANDROID_MANIFEST)) \
|
||||
$(addprefix -I ,$(PRIVATE_AAPT_INCLUDES)) \
|
||||
$(addprefix -I ,$(PRIVATE_SHARED_ANDROID_LIBRARIES)) \
|
||||
$(addprefix -A ,$(PRIVATE_ASSET_DIR)) \
|
||||
$(addprefix --java ,$(PRIVATE_SOURCE_INTERMEDIATES_DIR)) \
|
||||
$(addprefix --proguard ,$(PRIVATE_PROGUARD_OPTIONS_FILE)) \
|
||||
$(addprefix --min-sdk-version ,$(PRIVATE_DEFAULT_APP_TARGET_SDK)) \
|
||||
|
|
|
@ -355,8 +355,6 @@ ifdef LOCAL_USE_AAPT2
|
|||
my_compiled_res_base_dir := $(intermediates)/flat-res
|
||||
my_generated_res_dirs := $(rs_generated_res_dir)
|
||||
my_generated_res_dirs_deps := $(RenderScript_file_stamp)
|
||||
my_asset_dirs := $(LOCAL_ASSET_DIR)
|
||||
my_full_asset_paths := $(all_assets)
|
||||
# Add AAPT2 link specific flags.
|
||||
$(my_res_package): PRIVATE_AAPT_FLAGS := $(LOCAL_AAPT_FLAGS) --no-static-lib-packages
|
||||
include $(BUILD_SYSTEM)/aapt2.mk
|
||||
|
|
Loading…
Reference in New Issue