mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
bug 872086-2: move SIMPLE_PROGRAMS to moz.build (file batch #2) r=mshal
This commit is contained in:
parent
7c48823e90
commit
2616658199
@ -10,7 +10,7 @@ VPATH = @srcdir@
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
ifdef MOZ_LINKER
|
||||
SIMPLE_PROGRAMS := TestZip$(BIN_SUFFIX)
|
||||
DISABLE_SIMPLE_PROGRAMS := TestZip$(BIN_SUFFIX)
|
||||
NO_DIST_INSTALL = 1
|
||||
STL_FLAGS =
|
||||
|
||||
|
@ -8,3 +8,6 @@ if CONFIG['MOZ_LINKER']:
|
||||
CPP_SOURCES += [
|
||||
'TestZip.cpp',
|
||||
]
|
||||
SIMPLE_PROGRAMS += [
|
||||
'TestZip%s' % CONFIG['BIN_SUFFIX'],
|
||||
]
|
||||
|
@ -33,7 +33,7 @@ cppsrcs = \
|
||||
$(NULL)
|
||||
|
||||
# TODO: Base off of CPP_SOURCES in moz.build
|
||||
SIMPLE_PROGRAMS = $(cppsrcs:.cpp=$(BIN_SUFFIX))
|
||||
DISABLED_SIMPLE_PROGRAMS = $(cppsrcs:.cpp=$(BIN_SUFFIX))
|
||||
|
||||
INI_TEST_FILES = \
|
||||
TestAUSReadStrings1.ini \
|
||||
|
@ -12,3 +12,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
||||
programs = [
|
||||
fyl[0:-4] for fyl in CPP_SOURCES
|
||||
]
|
||||
programs.sort()
|
||||
SIMPLE_PROGRAMS += programs
|
||||
|
@ -12,7 +12,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
FAIL_ON_WARNINGS = 1
|
||||
|
||||
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
||||
DISABLED_SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
|
@ -17,3 +17,8 @@ if CONFIG['OS_ARCH'] != 'Darwin':
|
||||
CPP_SOURCES += [
|
||||
'WriteArgument.cpp',
|
||||
]
|
||||
|
||||
bin_suffix = CONFIG['BIN_SUFFIX']
|
||||
SIMPLE_PROGRAMS += [
|
||||
"%s%s" % (fyl[0:-4], bin_suffix) for fyl in CPP_SOURCES
|
||||
]
|
||||
|
@ -41,7 +41,7 @@ cppsrcs += TestSTLWrappers.cpp
|
||||
endif
|
||||
|
||||
# TODO: Use CPPSRCS from moz.build
|
||||
SIMPLE_PROGRAMS := $(cppsrcs:.cpp=$(BIN_SUFFIX))
|
||||
DISABLED_SIMPLE_PROGRAMS := $(cppsrcs:.cpp=$(BIN_SUFFIX))
|
||||
|
||||
CPP_UNIT_TESTS = \
|
||||
ShowAlignments.cpp \
|
||||
|
2
xpcom/tests/external/Makefile.in
vendored
2
xpcom/tests/external/Makefile.in
vendored
@ -9,7 +9,7 @@ VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
||||
DISABLED_SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
3
xpcom/tests/external/moz.build
vendored
3
xpcom/tests/external/moz.build
vendored
@ -10,3 +10,6 @@ CPP_SOURCES += [
|
||||
'TestMinStringAPI.cpp',
|
||||
]
|
||||
|
||||
SIMPLE_PROGRAMS += [
|
||||
fyl[0:-4] for fyl in CPP_SOURCES
|
||||
]
|
||||
|
@ -45,3 +45,9 @@ CPP_SOURCES += [
|
||||
'TestUnicodeArguments.cpp',
|
||||
'nsIFileEnumerator.cpp',
|
||||
]
|
||||
|
||||
programs = [
|
||||
fyl[0:-4] for fyl in CPP_SOURCES
|
||||
]
|
||||
programs.sort()
|
||||
SIMPLE_PROGRAMS += programs
|
||||
|
Loading…
Reference in New Issue
Block a user