зеркало из https://github.com/mozilla/pjs.git
Bug 474703 - mochitest broken when TOPSRCDIR is relative. r=ted
This commit is contained in:
Родитель
22b89824fd
Коммит
1d2f492217
|
@ -22,7 +22,15 @@ endif
|
|||
endif
|
||||
|
||||
_PROFILE_DIR = $(TARGET_DEPTH)/_profile/pgo
|
||||
_CERTS_SRC_DIR = $(topsrcdir)/build/pgo/certs
|
||||
|
||||
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
|
||||
_CERTS_SRC_DIR = $(ABSOLUTE_TOPSRCDIR)/build/pgo/certs
|
||||
|
||||
AUTOMATION_PPARGS = \
|
||||
-DBROWSER_PATH=$(browser_path) \
|
||||
|
|
Загрузка…
Ссылка в новой задаче