Followup to bug 474703 for pymake: use core_abspath to get Windows-style absolute paths correct, r=ted
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 31 Mar 2009 12:04:53 -0400
changeset 26769 6eb615f284e0c34be4c73a6cae3ea593fea59628
parent 26768 bf28384f14442e923e7472d9459341164d13c495
child 26770 f6a23c2cb9474b7c13961190a09bd9adf449e845
child 26821 0bb389ac8a61b5661d8065ff8adf9d72a3027f83
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs474703
milestone1.9.2a1pre
Followup to bug 474703 for pymake: use core_abspath to get Windows-style absolute paths correct, r=ted
build/automation-build.mk
--- a/build/automation-build.mk
+++ b/build/automation-build.mk
@@ -19,23 +19,17 @@ endif
 else
 browser_path = \"$(TARGET_DIST)/bin/$(PROGRAM)\"
 endif
 endif
 
 _PROFILE_DIR = $(TARGET_DEPTH)/_profile/pgo
 _SYMBOLS_PATH = $(TARGET_DIST)/crashreporter-symbols
 
-ifneq (,$(filter /%,$(topsrcdir)))
-# $(topsrcdir) is already an absolute pathname.
-ABSOLUTE_TOPSRCDIR = $(topsrcdir)
-else
-# $(topsrcdir) is a relative pathname: prepend the current directory.
-ABSOLUTE_TOPSRCDIR = $(CURDIR)/$(topsrcdir)
-endif
+ABSOLUTE_TOPSRCDIR = $(call core_abspath,$(topsrcdir))
 _CERTS_SRC_DIR = $(ABSOLUTE_TOPSRCDIR)/build/pgo/certs
 
 AUTOMATION_PPARGS = 	\
 			-DBROWSER_PATH=$(browser_path) \
 			-DXPC_BIN_PATH=\"$(LIBXUL_DIST)/bin\" \
 			-DBIN_SUFFIX=\"$(BIN_SUFFIX)\" \
 			-DPROFILE_DIR=\"$(_PROFILE_DIR)\" \
 			-DCERTS_SRC_DIR=\"$(_CERTS_SRC_DIR)\" \