Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit bbe856e

Browse files
committed
Backed out 5 changesets (bug 1255485) for mochitest failures on test/mochitest/test_hangui.xul
Backed out changeset 90b7449882b6 (bug 1255485) Backed out changeset 5672cf8d324b (bug 1255485) Backed out changeset ed6dd4aefadb (bug 1255485) Backed out changeset 0ba36c0feddb (bug 1255485) Backed out changeset 51af06b6123c (bug 1255485)
1 parent 8dd83ab commit bbe856e

27 files changed

Lines changed: 36 additions & 154 deletions

File tree

browser/app/Makefile.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ MOZ_WINCONSOLE = 0
1717
endif
1818
endif
1919

20+
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
21+
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
22+
NSDISTMODE = copy
23+
2024
include $(topsrcdir)/config/config.mk
2125

2226
# If we are trying to show an error dialog about the lack of SSE2 support,
@@ -42,7 +46,7 @@ ifneq (,$(filter-out WINNT,$(OS_ARCH)))
4246

4347
ifdef COMPILE_ENVIRONMENT
4448
libs::
45-
cp -p $(DIST)/bin/$(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
49+
cp -p $(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
4650
endif
4751

4852
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, firefox.js)

config/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ else
328328

329329
# This isn't laid out as conditional directives so that NSDISTMODE can be
330330
# target-specific.
331-
INSTALL = $(if $(filter absolute_symlink, $(NSDISTMODE)), $(NSINSTALL) -L $(PWD), $(NSINSTALL) -R)
331+
INSTALL = $(if $(filter copy, $(NSDISTMODE)), $(NSINSTALL) -t, $(if $(filter absolute_symlink, $(NSDISTMODE)), $(NSINSTALL) -L $(PWD), $(NSINSTALL) -R))
332332

333333
endif # WINNT
334334

config/makefiles/target_binaries.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
ifndef NO_DIST_INSTALL
99

10-
ifneq (,$(strip $(SIMPLE_PROGRAMS)$(RUST_PROGRAMS)))
11-
PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(RUST_PROGRAMS)
10+
ifneq (,$(strip $(PROGRAM)$(SIMPLE_PROGRAMS)$(RUST_PROGRAMS)))
11+
PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(PROGRAM) $(RUST_PROGRAMS)
1212
PROGRAMS_DEST ?= $(FINAL_TARGET)
1313
PROGRAMS_TARGET := target
1414
INSTALL_TARGETS += PROGRAMS

config/rules.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,11 +552,11 @@ endef
552552
# PROGRAM = Foo
553553
# creates OBJS, links with LIBS to create Foo
554554
#
555-
$(PROGRAM): $(PROGOBJS) $(STATIC_LIBS_DEPS) $(EXTRA_DEPS) $(RESFILE) $(GLOBAL_DEPS) $(call mkdir_deps,$(FINAL_TARGET))
555+
$(PROGRAM): $(PROGOBJS) $(STATIC_LIBS_DEPS) $(EXTRA_DEPS) $(RESFILE) $(GLOBAL_DEPS)
556556
$(REPORT_BUILD)
557557
@$(RM) $@.manifest
558558
ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
559-
$(EXPAND_LINK) -NOLOGO -OUT:$@ -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $(PROGOBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
559+
$(EXPAND_LINK) -NOLOGO -OUT:$@ -PDB:$(LINK_PDBFILE) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $(PROGOBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
560560
ifdef MSMANIFEST_TOOL
561561
@if test -f $@.manifest; then \
562562
if test -f '$(srcdir)/$@.manifest'; then \
@@ -817,7 +817,7 @@ endif
817817
endif
818818

819819
ifdef MOZ_CRASHREPORTER
820-
$(foreach file,$(DUMP_SYMS_TARGETS),$(eval $(call syms_template,$(file),$(notdir $(file))_syms.track)))
820+
$(foreach file,$(DUMP_SYMS_TARGETS),$(eval $(call syms_template,$(file),$(file)_syms.track)))
821821
else ifneq (,$(and $(LLVM_SYMBOLIZER),$(filter WINNT,$(OS_ARCH)),$(MOZ_AUTOMATION)))
822822
$(foreach file,$(DUMP_SYMS_TARGETS),$(eval $(call syms_template,$(file),$(addsuffix .pdb,$(basename $(file))))))
823823
PDB_FILES = $(addsuffix .pdb,$(basename $(DUMP_SYMS_TARGETS)))

ipc/app/Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ MOZ_WINCONSOLE = 0
1010
endif
1111
endif
1212

13+
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
14+
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
15+
NSDISTMODE = copy
16+
1317
include $(topsrcdir)/config/config.mk
1418

1519
include $(topsrcdir)/config/rules.mk

ipc/ipdl/test/cxx/app/Makefile.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
5+
NSDISTMODE = copy

js/src/shell/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ FINAL_TARGET_PP_FILES += ['js-gdb.py.in']
6464
OBJDIR_FILES.js.src.shell += ['!/dist/bin/js-gdb.py']
6565

6666
# People expect the js shell to wind up in the top-level JS dir.
67-
OBJDIR_FILES.js.src += ['!/dist/bin/js%s' % CONFIG['BIN_SUFFIX']]
67+
OBJDIR_FILES.js.src += ['!js%s' % CONFIG['BIN_SUFFIX']]

js/xpconnect/shell/Makefile.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# This Source Code Form is subject to the terms of the Mozilla Public
3+
# License, v. 2.0. If a copy of the MPL was not distributed with this
4+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5+
6+
NSDISTMODE = copy

modules/libmar/tests/moz.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
88

99
if CONFIG['OS_TARGET'] != 'Android':
1010
TEST_HARNESS_FILES.xpcshell.modules.libmar.tests.unit += [
11-
'!/dist/bin/signmar%s' % CONFIG['BIN_SUFFIX'],
11+
'!../tool/signmar%s' % CONFIG['BIN_SUFFIX'],
1212
]

python/mozbuild/mozbuild/backend/recursivemake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ def _handle_idl_manager(self, manager):
11291129
))
11301130

11311131
def _process_program(self, obj, backend_file):
1132-
backend_file.write('PROGRAM = %s\n' % self._pretty_path(obj.output_path, backend_file))
1132+
backend_file.write('PROGRAM = %s\n' % obj.program)
11331133
if not obj.cxx_link and not self.environment.bin_suffix:
11341134
backend_file.write('PROG_IS_C_ONLY_%s := 1\n' % obj.program)
11351135

0 commit comments

Comments
 (0)