Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
bug 875549: mozbuild cleanup for HOST_CSRCS. r=gps
Browse files Browse the repository at this point in the history
  • Loading branch information
Joey Armstrong committed Jun 18, 2013
1 parent 4dfe5a4 commit 68f84d6
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 19 deletions.
1 change: 0 additions & 1 deletion config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ STDCXX_COMPAT =

ifneq (WINNT,$(HOST_OS_ARCH))
HOST_PROGRAM = nsinstall_real$(HOST_BIN_SUFFIX)
DISABLED_HOST_CSRCS = nsinstall.c pathsub.c
endif

ifndef CROSS_COMPILE
Expand Down
1 change: 1 addition & 0 deletions config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ endif
# responsibility between Makefile.in and mozbuild files.
_MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
HOST_CSRCS \
MODULE \
PARALLEL_DIRS \
TEST_DIRS \
Expand Down
1 change: 0 additions & 1 deletion js/src/config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ VISIBILITY_FLAGS =

ifneq (WINNT,$(HOST_OS_ARCH))
HOST_PROGRAM = nsinstall_real$(HOST_BIN_SUFFIX)
DISABLED_HOST_CSRCS = nsinstall.c pathsub.c
endif

# IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
Expand Down
1 change: 1 addition & 0 deletions js/src/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ endif
# responsibility between Makefile.in and mozbuild files.
_MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
HOST_CSRCS \
MODULE \
PARALLEL_DIRS \
TEST_DIRS \
Expand Down
1 change: 0 additions & 1 deletion media/libvpx/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ else
VPX_OIE_FORMAT := gas
endif

DISABLED_HOST_CSRCS = obj_int_extract.c
HOST_PROGRAM = host_obj_int_extract$(HOST_BIN_SUFFIX)

CSRCS += asm_com_offsets.c
Expand Down
1 change: 0 additions & 1 deletion modules/libbz2/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ CSRCS = \
randtable.c \
$(NULL)

DISABLED_HOST_CSRCS = $(CSRCS)

include $(topsrcdir)/config/rules.mk

Expand Down
15 changes: 5 additions & 10 deletions modules/libmar/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,11 @@ endif

# This makefile just builds support for reading archives.


DISABLED_HOST_CSRCS = \
mar_create.c \
mar_extract.c \
mar_read.c \
$(NULL)

CSRCS = \
$(HOST_CSRCS) \
$(NULL)
CSRCS = \
mar_create.c \
mar_extract.c \
mar_read.c \
$(NULL)

include $(topsrcdir)/config/rules.mk

Expand Down
3 changes: 0 additions & 3 deletions modules/libmar/tool/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ HOST_CFLAGS += \
$(DEFINES) \
$(NULL)

DISABLED_HOST_CSRCS = \
mar.c \
$(NULL)
DISABLED_CSRCS = $(HOST_CSRCS)

HOST_LIBS = $(DIST)/host/lib/$(LIB_PREFIX)hostmar.$(LIB_SUFFIX)
Expand Down
1 change: 0 additions & 1 deletion other-licenses/bsdiff/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ include $(DEPTH)/config/autoconf.mk
# This program is output to dist/host/bin because it is only needed by the
# build system and is not intended to be included in Mozilla distributions.
HOST_PROGRAM = mbsdiff$(BIN_SUFFIX)
DISABLED_HOST_CSRCS = bsdiff.c

ifdef MOZ_NATIVE_BZ2
HOST_LIBS += $(MOZ_BZ2_LIBS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ endif

ifneq (WINNT,$(OS_TARGET))
ifdef MOZ_CRASHREPORTER
DISABLED_HOST_CSRCS = $(CSRCS)
endif
endif

Expand Down

0 comments on commit 68f84d6

Please sign in to comment.