diff options
Diffstat (limited to 'modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk')
-rw-r--r-- | modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk b/modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk index dc731573..0010edb8 100644 --- a/modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk +++ b/modules/audio_processing/gen_nsx_core_neon_offsets_h.target.darwin-arm.mk @@ -7,12 +7,13 @@ LOCAL_MODULE := third_party_webrtc_modules_audio_processing_gen_nsx_core_neon_of LOCAL_MODULE_STEM := gen_nsx_core_neon_offsets_h LOCAL_MODULE_SUFFIX := .stamp LOCAL_MODULE_TAGS := optional -gyp_intermediate_dir := $(call local-intermediates-dir) -gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) +LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) +gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) +gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) # Make sure our deps are built first. GYP_TARGET_DEPENDENCIES := \ - $(call intermediates-dir-for,STATIC_LIBRARIES,lib_core_neon_offsets)/lib_core_neon_offsets.a \ + $(call intermediates-dir-for,STATIC_LIBRARIES,lib_core_neon_offsets,,,$(GYP_VAR_PREFIX))/lib_core_neon_offsets.a \ $(gyp_shared_intermediate_dir)/libvpx_obj_int_extract ### Rules for action "unpack_lib_posix": @@ -36,10 +37,7 @@ $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offset $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.h: $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.o $(gyp_shared_intermediate_dir)/libvpx_obj_int_extract $(LOCAL_PATH)/third_party/libvpx/obj_int_extract.py $(GYP_TARGET_DEPENDENCIES) mkdir -p $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets; cd $(gyp_local_path)/third_party/webrtc/modules/audio_processing; python ../../../../third_party/libvpx/obj_int_extract.py -e "$(gyp_shared_intermediate_dir)/libvpx_obj_int_extract" -f cheader -b "$(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.o" -o "$(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.h" -.PHONY: third_party_webrtc_modules_audio_processing_gen_nsx_core_neon_offsets_h_gyp_rule_trigger -third_party_webrtc_modules_audio_processing_gen_nsx_core_neon_offsets_h_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.h -### Finished generating for all rules GYP_GENERATED_OUTPUTS := \ $(gyp_shared_intermediate_dir)/audio_processing/asm_offsets/nsx_core_neon_offsets.o \ @@ -48,8 +46,7 @@ GYP_GENERATED_OUTPUTS := \ # Make sure our deps and generated files are built first. LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) -LOCAL_GENERATED_SOURCES := \ - third_party_webrtc_modules_audio_processing_gen_nsx_core_neon_offsets_h_gyp_rule_trigger +LOCAL_GENERATED_SOURCES := GYP_COPIED_SOURCE_ORIGIN_DIRS := @@ -272,6 +269,7 @@ gen_nsx_core_neon_offsets_h: third_party_webrtc_modules_audio_processing_gen_nsx LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp LOCAL_UNINSTALLABLE_MODULE := true +LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) include $(BUILD_SYSTEM)/base_rules.mk @@ -279,3 +277,5 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) $(hide) echo "Gyp timestamp: $@" $(hide) mkdir -p $(dir $@) $(hide) touch $@ + +LOCAL_2ND_ARCH_VAR_PREFIX := |