зеркало из https://github.com/mozilla/gecko-dev.git
Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner
This commit is contained in:
Родитель
74e1599ac6
Коммит
a47bee840c
|
@ -55,6 +55,16 @@ include $(topsrcdir)/config/rules.mk
|
|||
TARGET_DEPTH = ../..
|
||||
include $(topsrcdir)/build/automation-build.mk
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
ifdef MOZ_DEBUG
|
||||
browser_path = \"$(TARGET_DIST)/$(MOZ_APP_NAME)/$(MOZ_APP_DISPLAYNAME)Debug.app/Contents/MacOS/$(PROGRAM)\"
|
||||
else
|
||||
browser_path = \"$(TARGET_DIST)/$(MOZ_APP_NAME)/$(MOZ_APP_DISPLAYNAME).app/Contents/MacOS/$(PROGRAM)\"
|
||||
endif
|
||||
else
|
||||
browser_path = \"$(TARGET_DIST)/$(MOZ_APP_NAME)/$(PROGRAM)\"
|
||||
endif
|
||||
|
||||
# Stuff to make a build with a profile
|
||||
|
||||
_PGO_FILES = \
|
||||
|
|
|
@ -211,6 +211,7 @@ endif
|
|||
|
||||
profiledbuild::
|
||||
$(MAKE) -f $(TOPSRCDIR)/client.mk build MOZ_PROFILE_GENERATE=1
|
||||
$(MAKE) -C $(PGO_OBJDIR) package
|
||||
OBJDIR=${PGO_OBJDIR} $(PROFILE_GEN_SCRIPT)
|
||||
$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
|
||||
$(MAKE) -f $(TOPSRCDIR)/client.mk build MOZ_PROFILE_USE=1
|
||||
|
|
|
@ -975,11 +975,11 @@ ifneq (,$(SHARED_LIBRARY)$(PROGRAM))
|
|||
export::
|
||||
ifdef PROGRAM
|
||||
$(PYTHON) $(topsrcdir)/build/win32/pgomerge.py \
|
||||
$(PROGRAM:$(BIN_SUFFIX)=) $(DIST)/bin
|
||||
$(PROGRAM:$(BIN_SUFFIX)=) $(DIST)/$(MOZ_APP_NAME)
|
||||
endif
|
||||
ifdef SHARED_LIBRARY
|
||||
$(PYTHON) $(topsrcdir)/build/win32/pgomerge.py \
|
||||
$(SHARED_LIBRARY_NAME) $(DIST)/bin
|
||||
$(SHARED_LIBRARY_NAME) $(DIST)/$(MOZ_APP_NAME)
|
||||
endif
|
||||
endif # SHARED_LIBRARY || PROGRAM
|
||||
endif # WINNT_
|
||||
|
|
|
@ -975,11 +975,11 @@ ifneq (,$(SHARED_LIBRARY)$(PROGRAM))
|
|||
export::
|
||||
ifdef PROGRAM
|
||||
$(PYTHON) $(topsrcdir)/build/win32/pgomerge.py \
|
||||
$(PROGRAM:$(BIN_SUFFIX)=) $(DIST)/bin
|
||||
$(PROGRAM:$(BIN_SUFFIX)=) $(DIST)/$(MOZ_APP_NAME)
|
||||
endif
|
||||
ifdef SHARED_LIBRARY
|
||||
$(PYTHON) $(topsrcdir)/build/win32/pgomerge.py \
|
||||
$(SHARED_LIBRARY_NAME) $(DIST)/bin
|
||||
$(SHARED_LIBRARY_NAME) $(DIST)/$(MOZ_APP_NAME)
|
||||
endif
|
||||
endif # SHARED_LIBRARY || PROGRAM
|
||||
endif # WINNT_
|
||||
|
|
Загрузка…
Ссылка в новой задаче