mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 875549: move HOST_CSRCS to moz.build (logic) r=ted
This commit is contained in:
parent
e10a91cce0
commit
bd9b8237cd
@ -85,6 +85,7 @@ class TreeMetadataEmitter(object):
|
||||
CSRCS='CSRCS',
|
||||
DEFINES='DEFINES',
|
||||
EXTRA_COMPONENTS='EXTRA_COMPONENTS',
|
||||
HOST_CSRCS='HOST_CSRCS',
|
||||
MODULE='MODULE',
|
||||
SIMPLE_PROGRAMS='SIMPLE_PROGRAMS',
|
||||
XPIDL_FLAGS='XPIDL_FLAGS',
|
||||
|
@ -104,6 +104,12 @@ VARIABLES = {
|
||||
This variable contains a list of files to copy into $(FINAL_TARGET)/components/.
|
||||
"""),
|
||||
|
||||
'HOST_CSRCS': (StrictOrderingOnAppendList, list, [],
|
||||
"""C source files to compile with the host compiler.
|
||||
|
||||
This variable contains a list of C source files to compile.
|
||||
"""),
|
||||
|
||||
'PARALLEL_DIRS': (list, list, [],
|
||||
"""A parallel version of DIRS.
|
||||
|
||||
|
@ -12,6 +12,8 @@ DEFINES = ['-Dbar', '-Dfoo']
|
||||
|
||||
EXTRA_COMPONENTS = ['bar.js', 'foo.js']
|
||||
|
||||
HOST_CSRCS = ['bar.c', 'foo.c']
|
||||
|
||||
SIMPLE_PROGRAMS = ['bar.x', 'foo.x']
|
||||
|
||||
CSRCS += ['bar.c', 'foo.c']
|
||||
|
@ -158,6 +158,10 @@ class TestRecursiveMakeBackend(BackendTester):
|
||||
'EXTRA_COMPONENTS += bar.js',
|
||||
'EXTRA_COMPONENTS += foo.js',
|
||||
],
|
||||
'HOST_CSRCS': [
|
||||
'HOST_CSRCS += bar.c',
|
||||
'HOST_CSRCS += foo.c',
|
||||
],
|
||||
'SIMPLE_PROGRAMS': [
|
||||
'SIMPLE_PROGRAMS += bar.x',
|
||||
'SIMPLE_PROGRAMS += foo.x',
|
||||
|
@ -12,6 +12,8 @@ DEFINES=['-Dfans', '-Dtans']
|
||||
|
||||
EXTRA_COMPONENTS=['fans.js', 'tans.js']
|
||||
|
||||
HOST_CSRCS += ['fans.c', 'tans.c']
|
||||
|
||||
SIMPLE_PROGRAMS += ['fans.x', 'tans.x']
|
||||
|
||||
CSRCS += ['fans.c', 'tans.c']
|
||||
|
@ -130,6 +130,7 @@ class TestEmitterBasic(unittest.TestCase):
|
||||
CSRCS=['fans.c', 'tans.c'],
|
||||
DEFINES=['-Dfans', '-Dtans'],
|
||||
EXTRA_COMPONENTS=['fans.js', 'tans.js'],
|
||||
HOST_CSRCS=['fans.c', 'tans.c'],
|
||||
SIMPLE_PROGRAMS=['fans.x', 'tans.x'],
|
||||
XPIDLSRCS=['bar.idl', 'biz.idl', 'foo.idl'],
|
||||
XPIDL_MODULE='module_name',
|
||||
|
Loading…
Reference in New Issue
Block a user