Bug 912438 - Part c: Sort files in CSRCS; r=mshal

This commit is contained in:
Ms2ger 2013-10-03 09:10:02 +02:00
Родитель 05e32dc9a4
Коммит 0199108bb0
3 изменённых файлов: 35 добавлений и 50 удалений

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

@ -38,28 +38,18 @@ if CONFIG['VPX_NEED_OBJ_INT_EXTRACT']:
LIBRARY_NAME = 'vpx' LIBRARY_NAME = 'vpx'
def sorted(l): CSRCS += [
l = l[:]
l.sort()
return l
CSRCS += sorted([
'vp8/common/alloccommon.c', 'vp8/common/alloccommon.c',
'vp8/common/blockd.c', 'vp8/common/blockd.c',
'vp8/decoder/dboolhuff.c',
'vp8/common/debugmodes.c', 'vp8/common/debugmodes.c',
'vp8/decoder/decodemv.c',
'vp8/decoder/decodframe.c',
'vp8/common/dequantize.c', 'vp8/common/dequantize.c',
'vp8/decoder/detokenize.c',
'vp8/decoder/generic/dsystemdependent.c',
'vp8/common/entropy.c', 'vp8/common/entropy.c',
'vp8/common/entropymode.c', 'vp8/common/entropymode.c',
'vp8/common/entropymv.c', 'vp8/common/entropymv.c',
'vp8/common/extend.c', 'vp8/common/extend.c',
'vp8/common/filter.c', 'vp8/common/filter.c',
'vp8/common/findnearmv.c', 'vp8/common/findnearmv.c',
'vpx_scale/generic/gen_scalers.c', 'vp8/common/generic/systemdependent.c',
'vp8/common/idct_blk.c', 'vp8/common/idct_blk.c',
'vp8/common/idctllm.c', 'vp8/common/idctllm.c',
'vp8/common/loopfilter.c', 'vp8/common/loopfilter.c',
@ -67,33 +57,38 @@ CSRCS += sorted([
'vp8/common/mbpitch.c', 'vp8/common/mbpitch.c',
'vp8/common/modecont.c', 'vp8/common/modecont.c',
'vp8/common/modecontext.c', 'vp8/common/modecontext.c',
'vp8/decoder/onyxd_if.c',
'vp8/common/postproc.c', 'vp8/common/postproc.c',
'vp8/common/quant_common.c', 'vp8/common/quant_common.c',
'vp8/common/reconinter.c', 'vp8/common/reconinter.c',
'vp8/common/reconintra.c', 'vp8/common/reconintra.c',
'vp8/common/reconintra4x4.c', 'vp8/common/reconintra4x4.c',
'vp8/decoder/reconintra_mt.c',
'vp8/common/sad_c.c', 'vp8/common/sad_c.c',
'vpx_scale/generic/scalesystemdependent.c',
'vp8/common/setupintrarecon.c', 'vp8/common/setupintrarecon.c',
'vp8/common/swapyv12buffer.c', 'vp8/common/swapyv12buffer.c',
'vp8/common/generic/systemdependent.c',
'vp8/decoder/threading.c',
'vp8/common/treecoder.c', 'vp8/common/treecoder.c',
'vp8/common/variance_c.c', 'vp8/common/variance_c.c',
'vp8/decoder/dboolhuff.c',
'vp8/decoder/decodemv.c',
'vp8/decoder/decodframe.c',
'vp8/decoder/detokenize.c',
'vp8/decoder/generic/dsystemdependent.c',
'vp8/decoder/onyxd_if.c',
'vp8/decoder/reconintra_mt.c',
'vp8/decoder/threading.c',
'vp8/vp8_dx_iface.c', 'vp8/vp8_dx_iface.c',
'vpx/src/vpx_codec.c', 'vpx/src/vpx_codec.c',
'vpx_config_c.c',
'vpx/src/vpx_decoder.c', 'vpx/src/vpx_decoder.c',
'vpx/src/vpx_decoder_compat.c', 'vpx/src/vpx_decoder_compat.c',
'vpx/src/vpx_encoder.c', 'vpx/src/vpx_encoder.c',
'vpx/src/vpx_image.c', 'vpx/src/vpx_image.c',
'vpx_config_c.c',
'vpx_mem/vpx_mem.c', 'vpx_mem/vpx_mem.c',
'vpx_scale/generic/gen_scalers.c',
'vpx_scale/generic/scalesystemdependent.c',
'vpx_scale/generic/vpxscale.c', 'vpx_scale/generic/vpxscale.c',
'vpx_scale/generic/yv12config.c', 'vpx_scale/generic/yv12config.c',
'vpx_scale/generic/yv12extend.c', 'vpx_scale/generic/yv12extend.c',
]) ]
MSVC_ENABLE_PGO = True MSVC_ENABLE_PGO = True

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

@ -12,13 +12,7 @@ EXPORTS.mozilla.net += [
'usrsctp.h', 'usrsctp.h',
] ]
def sorted(l): CSRCS += [
l = l[:]
l.sort()
return l
CSRCS += sorted([
'netinet6/sctp6_usrreq.c',
'netinet/sctp_asconf.c', 'netinet/sctp_asconf.c',
'netinet/sctp_auth.c', 'netinet/sctp_auth.c',
'netinet/sctp_bsd_addr.c', 'netinet/sctp_bsd_addr.c',
@ -38,12 +32,13 @@ CSRCS += sorted([
'netinet/sctp_userspace.c', 'netinet/sctp_userspace.c',
'netinet/sctp_usrreq.c', 'netinet/sctp_usrreq.c',
'netinet/sctputil.c', 'netinet/sctputil.c',
'netinet6/sctp6_usrreq.c',
'user_environment.c', 'user_environment.c',
'user_mbuf.c', 'user_mbuf.c',
'user_recv_thread.c', 'user_recv_thread.c',
'user_sctp_timer_iterate.c', 'user_sctp_timer_iterate.c',
'user_socket.c', 'user_socket.c',
]) ]
if CONFIG['OS_TARGET'] == 'Android': if CONFIG['OS_TARGET'] == 'Android':
CPP_SOURCES += [ CPP_SOURCES += [

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

@ -8,37 +8,32 @@ XPIDL_MODULE = 'necko_srtp'
MODULE = 'necko' MODULE = 'necko'
def sorted(l): CSRCS += [
l = l[:]
l.sort()
return l
CSRCS += sorted([
'crypto/cipher/aes.c', 'crypto/cipher/aes.c',
'crypto/cipher/aes_cbc.c', 'crypto/cipher/aes_cbc.c',
'crypto/cipher/aes_icm.c', 'crypto/cipher/aes_icm.c',
'crypto/kernel/alloc.c',
'crypto/hash/auth.c',
'crypto/cipher/cipher.c', 'crypto/cipher/cipher.c',
'crypto/kernel/crypto_kernel.c',
'crypto/rng/ctr_prng.c',
'crypto/math/datatypes.c',
'srtp/ekt.c',
'crypto/kernel/err.c',
'crypto/math/gf2_8.c',
'crypto/hash/hmac.c',
'crypto/kernel/key.c',
'crypto/hash/null_auth.c',
'crypto/cipher/null_cipher.c', 'crypto/cipher/null_cipher.c',
'crypto/rng/prng.c', 'crypto/hash/auth.c',
'crypto/rng/rand_source.c', 'crypto/hash/hmac.c',
'crypto/hash/null_auth.c',
'crypto/hash/sha1.c',
'crypto/kernel/alloc.c',
'crypto/kernel/crypto_kernel.c',
'crypto/kernel/err.c',
'crypto/kernel/key.c',
'crypto/math/datatypes.c',
'crypto/math/gf2_8.c',
'crypto/math/stat.c',
'crypto/replay/rdb.c', 'crypto/replay/rdb.c',
'crypto/replay/rdbx.c', 'crypto/replay/rdbx.c',
'crypto/hash/sha1.c',
'srtp/srtp.c',
'crypto/math/stat.c',
'crypto/replay/ut_sim.c', 'crypto/replay/ut_sim.c',
]) 'crypto/rng/ctr_prng.c',
'crypto/rng/prng.c',
'crypto/rng/rand_source.c',
'srtp/ekt.c',
'srtp/srtp.c',
]
LIBXUL_LIBRARY = True LIBXUL_LIBRARY = True