From 725e5824618c120094d019be34fdf7572813723c Mon Sep 17 00:00:00 2001 From: "michaelbai@google.com" Date: Fri, 16 May 2014 17:56:10 +0000 Subject: [PATCH] Use the new gyp_var_prefix local variable set by gyp instead of the global GYP_VAR_PREFIX set by the makefiles, since the latter is not guaranteed to still be the same value at the time the command is executed. Also, use abspath instead of realpath to convert paths to absolute, since realpath expands to the empty string if the target file doesn't exist, complicating build debugging. BUG= R=andrew@webrtc.org, torne@chromium.org Review URL: https://webrtc-codereview.appspot.com/12559004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6186 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/lib_core_neon_offsets.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/lib_core_neon_offsets.gypi b/webrtc/modules/audio_processing/lib_core_neon_offsets.gypi index ce257a812..f32ddd47f 100644 --- a/webrtc/modules/audio_processing/lib_core_neon_offsets.gypi +++ b/webrtc/modules/audio_processing/lib_core_neon_offsets.gypi @@ -14,7 +14,7 @@ 'lib_intermediate_name': '', 'conditions' : [ ['android_webview_build==1', { - 'lib_intermediate_name' : '$(realpath $(call intermediates-dir-for, STATIC_LIBRARIES, lib_core_neon_offsets,,, $(GYP_VAR_PREFIX)))/lib_core_neon_offsets.a', + 'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,lib_core_neon_offsets,,,$(gyp_var_prefix)))/lib_core_neon_offsets.a', }], ], },