Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal

This commit is contained in:
Ms2ger 2013-08-22 08:56:02 +02:00
Родитель d2a26bacbc
Коммит 04a948975a
52 изменённых файлов: 331 добавлений и 329 удалений

Просмотреть файл

@ -24,11 +24,6 @@ HOST_CPPSRCS = \
OS_CXXFLAGS := $(filter-out -fno-exceptions,$(OS_CXXFLAGS)) -fexceptions
CSRCS := \
test-ctors.c \
test-array.c \
$(NULL)
ifndef CROSS_COMPILE
CSRCS += dummy.c
endif

Просмотреть файл

@ -6,3 +6,9 @@
NO_DIST_INSTALL = True
DIRS += ['inject']
CSRCS += [
'test-array.c',
'test-ctors.c',
]

Просмотреть файл

@ -60,10 +60,6 @@ ifeq ($(OS_ARCH),WINNT)
MODULE_OPTIMIZE_FLAGS = -O2
endif
CSRCS = \
sqlite3.c \
$(NULL)
# -DSQLITE_SECURE_DELETE=1 will cause SQLITE to 0-fill delete data so we
# don't have to vacuum to make sure the data is not visible in the file.
# -DSQLITE_ENABLE_FTS3=1 enables the full-text index module.

Просмотреть файл

@ -12,3 +12,7 @@ EXPORTS += [
LIBRARY_NAME = 'mozsqlite3'
CSRCS += [
'sqlite3.c',
]

Просмотреть файл

@ -16,79 +16,6 @@ endif
endif
CSRCS = \
cairo.c \
cairo-analysis-surface.c \
cairo-arc.c \
cairo-array.c \
cairo-atomic.c \
cairo-base64-stream.c \
cairo-bentley-ottmann.c \
cairo-bentley-ottmann-rectilinear.c \
cairo-bentley-ottmann-rectangular.c \
cairo-botor-scan-converter.c \
cairo-boxes.c \
cairo-cache.c \
cairo-clip.c \
cairo-color.c \
cairo-composite-rectangles.c \
cairo-debug.c \
cairo-device.c \
cairo-fixed.c \
cairo-font-face.c \
cairo-font-face-twin.c \
cairo-font-face-twin-data.c \
cairo-font-options.c \
cairo-freed-pool.c \
cairo-freelist.c \
cairo-gstate.c \
cairo-hash.c \
cairo-hull.c \
cairo-image-info.c \
cairo-image-surface.c \
cairo-lzw.c \
cairo-matrix.c \
cairo-misc.c \
cairo-mutex.c \
cairo-observer.c \
cairo-output-stream.c \
cairo-paginated-surface.c \
cairo-path.c \
cairo-path-bounds.c \
cairo-path-fill.c \
cairo-path-fixed.c \
cairo-path-in-fill.c \
cairo-path-stroke.c \
cairo-pattern.c \
cairo-pen.c \
cairo-polygon.c \
cairo-recording-surface.c \
cairo-rectangle.c \
cairo-rectangular-scan-converter.c \
cairo-region.c \
cairo-scaled-font.c \
cairo-scaled-font-subsets.c \
cairo-slope.c \
cairo-spans.c \
cairo-spline.c \
cairo-stroke-style.c \
cairo-surface.c \
cairo-surface-clipper.c \
cairo-surface-fallback.c \
cairo-surface-offset.c \
cairo-surface-snapshot.c \
cairo-surface-subsurface.c \
cairo-surface-wrapper.c \
cairo-tee-surface.c \
cairo-tor-scan-converter.c \
cairo-toy-font-face.c \
cairo-traps.c \
cairo-unicode.c \
cairo-user-font.c \
cairo-version.c \
cairo-wideint.c \
$(NULL)
ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
CSRCS += cairo-deflate-stream.c
endif

Просмотреть файл

@ -82,5 +82,78 @@ LIBRARY_NAME = 'mozcairo'
LIBXUL_LIBRARY = True
CSRCS += [
'cairo-analysis-surface.c',
'cairo-arc.c',
'cairo-array.c',
'cairo-atomic.c',
'cairo-base64-stream.c',
'cairo-bentley-ottmann-rectangular.c',
'cairo-bentley-ottmann-rectilinear.c',
'cairo-bentley-ottmann.c',
'cairo-botor-scan-converter.c',
'cairo-boxes.c',
'cairo-cache.c',
'cairo-clip.c',
'cairo-color.c',
'cairo-composite-rectangles.c',
'cairo-debug.c',
'cairo-device.c',
'cairo-fixed.c',
'cairo-font-face-twin-data.c',
'cairo-font-face-twin.c',
'cairo-font-face.c',
'cairo-font-options.c',
'cairo-freed-pool.c',
'cairo-freelist.c',
'cairo-gstate.c',
'cairo-hash.c',
'cairo-hull.c',
'cairo-image-info.c',
'cairo-image-surface.c',
'cairo-lzw.c',
'cairo-matrix.c',
'cairo-misc.c',
'cairo-mutex.c',
'cairo-observer.c',
'cairo-output-stream.c',
'cairo-paginated-surface.c',
'cairo-path-bounds.c',
'cairo-path-fill.c',
'cairo-path-fixed.c',
'cairo-path-in-fill.c',
'cairo-path-stroke.c',
'cairo-path.c',
'cairo-pattern.c',
'cairo-pen.c',
'cairo-polygon.c',
'cairo-recording-surface.c',
'cairo-rectangle.c',
'cairo-rectangular-scan-converter.c',
'cairo-region.c',
'cairo-scaled-font-subsets.c',
'cairo-scaled-font.c',
'cairo-slope.c',
'cairo-spans.c',
'cairo-spline.c',
'cairo-stroke-style.c',
'cairo-surface-clipper.c',
'cairo-surface-fallback.c',
'cairo-surface-offset.c',
'cairo-surface-snapshot.c',
'cairo-surface-subsurface.c',
'cairo-surface-wrapper.c',
'cairo-surface.c',
'cairo-tee-surface.c',
'cairo-tor-scan-converter.c',
'cairo-toy-font-face.c',
'cairo-traps.c',
'cairo-unicode.c',
'cairo-user-font.c',
'cairo-version.c',
'cairo-wideint.c',
'cairo.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -83,39 +83,6 @@ endif
endif
CSRCS = \
pixman-access.c \
pixman-access-accessors.c \
pixman-arm.c \
pixman-bits-image.c \
pixman.c \
pixman-combine16.c \
pixman-combine32.c \
pixman-combine-float.c \
pixman-conical-gradient.c \
pixman-edge.c \
pixman-edge-accessors.c \
pixman-fast-path.c \
pixman-filter.c \
pixman-general.c \
pixman-gradient-walker.c \
pixman-glyph.c \
pixman-image.c \
pixman-implementation.c \
pixman-linear-gradient.c \
pixman-matrix.c \
pixman-mips.c \
pixman-noop.c \
pixman-ppc.c \
pixman-radial-gradient.c \
pixman-region16.c \
pixman-region32.c \
pixman-solid-fill.c \
pixman-trap.c \
pixman-utils.c \
pixman-x86.c \
$(NULL)
ifdef USE_MMX
CSRCS += pixman-mmx.c
DEFINES += -DUSE_MMX

Просмотреть файл

@ -29,5 +29,38 @@ if CONFIG['OS_ARCH'] != 'Darwin' and CONFIG['GNU_CC']:
LIBXUL_LIBRARY = True
CSRCS += [
'pixman-access-accessors.c',
'pixman-access.c',
'pixman-arm.c',
'pixman-bits-image.c',
'pixman-combine-float.c',
'pixman-combine16.c',
'pixman-combine32.c',
'pixman-conical-gradient.c',
'pixman-edge-accessors.c',
'pixman-edge.c',
'pixman-fast-path.c',
'pixman-filter.c',
'pixman-general.c',
'pixman-glyph.c',
'pixman-gradient-walker.c',
'pixman-image.c',
'pixman-implementation.c',
'pixman-linear-gradient.c',
'pixman-matrix.c',
'pixman-mips.c',
'pixman-noop.c',
'pixman-ppc.c',
'pixman-radial-gradient.c',
'pixman-region16.c',
'pixman-region32.c',
'pixman-solid-fill.c',
'pixman-trap.c',
'pixman-utils.c',
'pixman-x86.c',
'pixman.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -9,14 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CSRCS = \
chain.c \
iccread.c \
matrix.c \
transform.c \
transform_util.c \
$(NULL)
ifeq (86,$(findstring 86,$(OS_TEST)))
CSRCS += transform-sse2.c
ifdef _MSC_VER

Просмотреть файл

@ -15,5 +15,13 @@ LIBRARY_NAME = 'mozqcms'
LIBXUL_LIBRARY = True
CSRCS += [
'chain.c',
'iccread.c',
'matrix.c',
'transform.c',
'transform_util.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -10,9 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CSRCS = iccjpeg.c \
$(NULL)
# Decoders need RasterImage.h
LOCAL_INCLUDES += -I$(topsrcdir)/image/src/

Просмотреть файл

@ -40,3 +40,7 @@ FAIL_ON_WARNINGS = True
LIBXUL_LIBRARY = True
CSRCS += [
'iccjpeg.c',
]

Просмотреть файл

@ -1,15 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CSRCS = hyphen.c \
$(NULL)
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -16,5 +16,9 @@ LIBRARY_NAME = 'hyphenation_s'
LIBXUL_LIBRARY = True
CSRCS += [
'hyphen.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -11,11 +11,5 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1
CSRCS = \
ugen.c \
uscan.c \
umap.c \
$(NULL)
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -17,5 +17,11 @@ LIBRARY_NAME = 'ucvutil_s'
LIBXUL_LIBRARY = True
CSRCS += [
'ugen.c',
'umap.c',
'uscan.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -10,8 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CSRCS = ucgendat.c
# XXX need configure test
EX_LIBS = $(shell $(GLIB_CONFIG) --libs)

Просмотреть файл

@ -8,3 +8,7 @@ MODULE = 'ucgendat'
PROGRAM = 'ucgendat'
CSRCS += [
'ucgendat.c',
]

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1
CSRCS = editline.c sysunix.c
DEFINES += -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX \
-DHAVE_STDLIB -DUNIQUE_HISTORY

Просмотреть файл

@ -6,3 +6,8 @@
LIBRARY_NAME = 'editline'
CSRCS += [
'editline.c',
'sysunix.c',
]

Просмотреть файл

@ -25,10 +25,6 @@ else
DEFINES += -DFLOATING_POINT
endif
CSRCS = \
resample.c \
$(NULL)
include $(topsrcdir)/config/rules.mk
# Only use SSE code when using floating point samples, and on x86

Просмотреть файл

@ -18,5 +18,9 @@ CPP_SOURCES += [
LIBRARY_NAME = 'speex_resampler'
CSRCS += [
'resample.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -29,22 +29,6 @@ endif
VPATH := $(srcdir)
CSRCS = \
apiwrapper.c \
bitpack.c \
decapiwrapper.c \
decinfo.c \
decode.c \
dequant.c \
fragment.c \
huffdec.c \
idct.c \
info.c \
internal.c \
quant.c \
state.c \
$(NULL)
ifeq ($(findstring 86,$(OS_TEST)), 86)
ifdef _MSC_VER
ifneq (64,$(findstring 64,$(OS_TEST)))

Просмотреть файл

@ -8,5 +8,21 @@ MODULE = 'theora'
LIBRARY_NAME = 'theora'
CSRCS += [
'apiwrapper.c',
'bitpack.c',
'decapiwrapper.c',
'decinfo.c',
'decode.c',
'dequant.c',
'fragment.c',
'huffdec.c',
'idct.c',
'info.c',
'internal.c',
'quant.c',
'state.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -12,21 +12,6 @@ include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB= 1
LOCAL_INCLUDES += -I$(topsrcdir)/media/libtremor/include/tremor
CSRCS = \
tremor_block.c \
tremor_codebook.c \
tremor_floor1.c \
tremor_floor0.c \
tremor_info.c \
tremor_mapping0.c \
tremor_mdct.c \
tremor_registry.c \
tremor_res012.c \
tremor_sharedbook.c \
tremor_synthesis.c \
tremor_window.c \
$(NULL)
ifeq ($(OS_ARCH),AIX)
DEFINES += -Dalloca=__alloca
endif

Просмотреть файл

@ -8,3 +8,18 @@ MODULE = 'tremor'
LIBRARY_NAME = 'tremor'
CSRCS += [
'tremor_block.c',
'tremor_codebook.c',
'tremor_floor0.c',
'tremor_floor1.c',
'tremor_info.c',
'tremor_mapping0.c',
'tremor_mdct.c',
'tremor_registry.c',
'tremor_res012.c',
'tremor_sharedbook.c',
'tremor_synthesis.c',
'tremor_window.c',
]

Просмотреть файл

@ -14,29 +14,6 @@ ifeq (WINNT,$(OS_TARGET))
VISIBILITY_FLAGS =
endif
CSRCS = \
vorbis_mdct.c \
vorbis_smallft.c \
vorbis_block.c \
vorbis_info.c \
vorbis_envelope.c \
vorbis_window.c \
vorbis_lsp.c \
vorbis_lpc.c \
vorbis_analysis.c \
vorbis_synthesis.c \
vorbis_psy.c \
vorbis_floor1.c \
vorbis_floor0.c \
vorbis_res0.c \
vorbis_mapping0.c \
vorbis_registry.c \
vorbis_codebook.c \
vorbis_sharedbook.c \
vorbis_lookup.c \
vorbis_bitrate.c \
$(NULL)
ifeq ($(OS_ARCH),AIX)
DEFINES += -Dalloca=__alloca
endif

Просмотреть файл

@ -8,5 +8,28 @@ MODULE = 'vorbis'
LIBRARY_NAME = 'vorbis'
CSRCS += [
'vorbis_analysis.c',
'vorbis_bitrate.c',
'vorbis_block.c',
'vorbis_codebook.c',
'vorbis_envelope.c',
'vorbis_floor0.c',
'vorbis_floor1.c',
'vorbis_info.c',
'vorbis_lookup.c',
'vorbis_lpc.c',
'vorbis_lsp.c',
'vorbis_mapping0.c',
'vorbis_mdct.c',
'vorbis_psy.c',
'vorbis_registry.c',
'vorbis_res0.c',
'vorbis_sharedbook.c',
'vorbis_smallft.c',
'vorbis_synthesis.c',
'vorbis_window.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -66,58 +66,6 @@ ASFLAGS=$(VPX_ASFLAGS) -I. -I$(topsrcdir)/media/libvpx/ -I$(topsrcdir)/media/lib
AS_DASH_C_FLAG=$(VPX_DASH_C_FLAG)
ASM_SUFFIX=$(VPX_ASM_SUFFIX)
CSRCS += \
vpx_config_c.c \
vp8_dx_iface.c \
alloccommon.c \
blockd.c \
debugmodes.c \
dequantize.c \
entropy.c \
entropymode.c \
entropymv.c \
extend.c \
filter.c \
findnearmv.c \
idct_blk.c \
idctllm.c \
loopfilter.c \
loopfilter_filters.c \
mbpitch.c \
modecont.c \
modecontext.c \
postproc.c \
quant_common.c \
reconinter.c \
reconintra.c \
reconintra4x4.c \
sad_c.c \
setupintrarecon.c \
swapyv12buffer.c \
treecoder.c \
variance_c.c \
systemdependent.c \
dboolhuff.c \
decodemv.c \
decodframe.c \
detokenize.c \
reconintra_mt.c \
onyxd_if.c \
threading.c \
dsystemdependent.c \
vpx_codec.c \
vpx_decoder.c \
vpx_decoder_compat.c \
vpx_encoder.c \
vpx_image.c \
vpx_mem.c \
gen_scalers.c \
vpxscale.c \
scalesystemdependent.c \
yv12config.c \
yv12extend.c \
$(NULL)
ifdef MOZ_VP8_ERROR_CONCEALMENT
CSRCS += \
error_concealment.c \

Просмотреть файл

@ -38,5 +38,57 @@ if CONFIG['VPX_NEED_OBJ_INT_EXTRACT']:
LIBRARY_NAME = 'vpx'
CSRCS += [
'alloccommon.c',
'blockd.c',
'dboolhuff.c',
'debugmodes.c',
'decodemv.c',
'decodframe.c',
'dequantize.c',
'detokenize.c',
'dsystemdependent.c',
'entropy.c',
'entropymode.c',
'entropymv.c',
'extend.c',
'filter.c',
'findnearmv.c',
'gen_scalers.c',
'idct_blk.c',
'idctllm.c',
'loopfilter.c',
'loopfilter_filters.c',
'mbpitch.c',
'modecont.c',
'modecontext.c',
'onyxd_if.c',
'postproc.c',
'quant_common.c',
'reconinter.c',
'reconintra.c',
'reconintra4x4.c',
'reconintra_mt.c',
'sad_c.c',
'scalesystemdependent.c',
'setupintrarecon.c',
'swapyv12buffer.c',
'systemdependent.c',
'threading.c',
'treecoder.c',
'variance_c.c',
'vp8_dx_iface.c',
'vpx_codec.c',
'vpx_config_c.c',
'vpx_decoder.c',
'vpx_decoder_compat.c',
'vpx_encoder.c',
'vpx_image.c',
'vpx_mem.c',
'vpxscale.c',
'yv12config.c',
'yv12extend.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -22,17 +22,6 @@ endif
# define it here anyways for consistency.
DEFINES += -D_FILE_OFFSET_BITS=64
CSRCS = \
blocksort.c \
bzlib.c \
compress.c \
crctable.c \
decompress.c \
huffman.c \
randtable.c \
$(NULL)
include $(topsrcdir)/config/rules.mk
# The intermediate (.ii/.s) files for host and target can have the same name...

Просмотреть файл

@ -26,3 +26,13 @@ HOST_LIBRARY_NAME = 'hostbz2'
LIBRARY_NAME = 'bz2'
CSRCS += [
'blocksort.c',
'bzlib.c',
'compress.c',
'crctable.c',
'decompress.c',
'huffman.c',
'randtable.c',
]

Просмотреть файл

@ -15,11 +15,6 @@ USE_STATIC_LIBS = 1
endif
# This makefile just builds support for reading archives.
CSRCS = \
mar_sign.c \
nss_secutil.c \
$(NULL)
LOCAL_INCLUDES += -I$(srcdir)/../src \
-I$(srcdir)/../verify \
-I$(topsrcdir)/dist/include \

Просмотреть файл

@ -8,3 +8,8 @@ MODULE = 'signmar'
LIBRARY_NAME = 'signmar'
CSRCS += [
'mar_sign.c',
'nss_secutil.c',
]

Просмотреть файл

@ -18,12 +18,6 @@ endif
# This makefile just builds support for reading archives.
CSRCS = \
mar_create.c \
mar_extract.c \
mar_read.c \
$(NULL)
include $(topsrcdir)/config/rules.mk
# The intermediate (.ii/.s) files for host and target can have the same name...

Просмотреть файл

@ -20,3 +20,9 @@ HOST_LIBRARY_NAME = 'hostmar'
LIBRARY_NAME = 'mar'
CSRCS += [
'mar_create.c',
'mar_extract.c',
'mar_read.c',
]

Просмотреть файл

@ -15,11 +15,6 @@ USE_STATIC_LIBS = 1
endif
# This makefile just builds support for reading archives.
CSRCS = \
mar_verify.c \
cryptox.c \
$(NULL)
LOCAL_INCLUDES += -I$(srcdir)/../src
ifneq ($(OS_ARCH),WINNT)

Просмотреть файл

@ -8,3 +8,8 @@ MODULE = 'verifymar'
LIBRARY_NAME = 'verifymar'
CSRCS += [
'cryptox.c',
'mar_verify.c',
]

Просмотреть файл

@ -11,23 +11,4 @@ include $(DEPTH)/config/autoconf.mk
FORCE_STATIC_LIB = 1
CSRCS = \
ev_streams.c \
ev_timers.c \
getaddrinfo.c \
ns_name.c \
ns_netint.c \
ns_parse.c \
ns_print.c \
ns_samedomain.c \
ns_ttl.c \
res_comp.c \
res_data.c \
res_debug.c \
res_init.c \
res_mkquery.c \
res_send.c \
res_state.c \
$(NULL)
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -8,3 +8,22 @@ MODULE = 'android'
LIBRARY_NAME = 'android'
CSRCS += [
'ev_streams.c',
'ev_timers.c',
'getaddrinfo.c',
'ns_name.c',
'ns_netint.c',
'ns_parse.c',
'ns_print.c',
'ns_samedomain.c',
'ns_ttl.c',
'res_comp.c',
'res_data.c',
'res_debug.c',
'res_init.c',
'res_mkquery.c',
'res_send.c',
'res_state.c',
]

Просмотреть файл

@ -9,12 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
CSRCS = \
xmlparse.c \
xmlrole.c \
xmltok.c \
$(NULL)
# We want only the static lib, not the shared lib
FORCE_STATIC_LIB = 1

Просмотреть файл

@ -13,5 +13,11 @@ EXPORTS += [
LIBRARY_NAME = 'mozexpat_s'
CSRCS += [
'xmlparse.c',
'xmlrole.c',
'xmltok.c',
]
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -12,8 +12,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = 1
CSRCS += md4.c
DEFINES += \
-DNSS_ENABLE_ECC \
-DDLL_PREFIX=\"$(DLL_PREFIX)\" \

Просмотреть файл

@ -85,5 +85,9 @@ if CONFIG['MOZ_XUL']:
LIBRARY_NAME = 'pipnss'
CSRCS += [
'md4.c',
]
LIBXUL_LIBRARY = True

Просмотреть файл

@ -21,10 +21,6 @@ NATIVE_THEME_SUPPORT = 1
CSRCS = \
mozcontainer.c \
$(NULL)
ifdef ACCESSIBILITY
CSRCS += maiRedundantObjectFactory.c
endif

Просмотреть файл

@ -56,5 +56,9 @@ if CONFIG['MOZ_X11']:
FAIL_ON_WARNINGS = True
CSRCS += [
'mozcontainer.c',
]
LIBXUL_LIBRARY = True

Просмотреть файл

@ -11,10 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = widget_shared_x11
CSRCS = \
keysym2ucs.c \
$(NULL)
include $(topsrcdir)/config/rules.mk
CXXFLAGS += $(TK_CFLAGS)

Просмотреть файл

@ -6,5 +6,9 @@
MODULE = 'widget'
CSRCS += [
'keysym2ucs.c',
]
LIBXUL_LIBRARY = True

Просмотреть файл

@ -12,10 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = xpcombase_s
MOZILLA_INTERNAL_API =1
CSRCS = \
nsErrorAssertsC.c \
$(NULL)
ifeq ($(OS_ARCH),WINNT)
ifdef MOZ_DEBUG

Просмотреть файл

@ -126,6 +126,11 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'nsCrashOnException.cpp',
]
CSRCS += [
'nsErrorAssertsC.c',
]
LIBXUL_LIBRARY = True
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
DIST_INSTALL = 1
USE_STATIC_LIBS = 1
CSRCS = xpt_arena.c xpt_struct.c xpt_xdr.c
include $(topsrcdir)/config/rules.mk
ifdef _MSC_VER

Просмотреть файл

@ -8,5 +8,11 @@ MODULE = 'xpcom'
LIBRARY_NAME = 'xpt'
CSRCS += [
'xpt_arena.c',
'xpt_struct.c',
'xpt_xdr.c',
]
LIBXUL_LIBRARY = True