mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 872087: move HOST_LIBRARY to moz.build (logic) r=ted
This commit is contained in:
parent
4ed98b9610
commit
a772126bdd
@ -86,6 +86,7 @@ class TreeMetadataEmitter(object):
|
||||
DEFINES='DEFINES',
|
||||
EXTRA_COMPONENTS='EXTRA_COMPONENTS',
|
||||
HOST_CSRCS='HOST_CSRCS',
|
||||
HOST_LIBRARY_NAME='HOST_LIBRARY_NAME',
|
||||
MODULE='MODULE',
|
||||
SIMPLE_PROGRAMS='SIMPLE_PROGRAMS',
|
||||
XPIDL_FLAGS='XPIDL_FLAGS',
|
||||
|
@ -119,6 +119,10 @@ VARIABLES = {
|
||||
likely go away.
|
||||
"""),
|
||||
|
||||
'HOST_LIBRARY_NAME': (unicode, unicode, "",
|
||||
"""Name of target library generated when cross compiling.
|
||||
"""),
|
||||
|
||||
'SIMPLE_PROGRAMS': (StrictOrderingOnAppendList, list, [],
|
||||
"""Generate a list of binaries from source.
|
||||
|
||||
|
@ -14,6 +14,8 @@ EXTRA_COMPONENTS = ['bar.js', 'foo.js']
|
||||
|
||||
HOST_CSRCS = ['bar.c', 'foo.c']
|
||||
|
||||
HOST_LIBRARY_NAME = 'host_bar'
|
||||
|
||||
SIMPLE_PROGRAMS = ['bar.x', 'foo.x']
|
||||
|
||||
CSRCS += ['bar.c', 'foo.c']
|
||||
|
@ -162,6 +162,9 @@ class TestRecursiveMakeBackend(BackendTester):
|
||||
'HOST_CSRCS += bar.c',
|
||||
'HOST_CSRCS += foo.c',
|
||||
],
|
||||
'HOST_LIBRARY_NAME': [
|
||||
'HOST_LIBRARY_NAME := host_bar',
|
||||
],
|
||||
'SIMPLE_PROGRAMS': [
|
||||
'SIMPLE_PROGRAMS += bar.x',
|
||||
'SIMPLE_PROGRAMS += foo.x',
|
||||
|
@ -14,6 +14,8 @@ EXTRA_COMPONENTS=['fans.js', 'tans.js']
|
||||
|
||||
HOST_CSRCS += ['fans.c', 'tans.c']
|
||||
|
||||
HOST_LIBRARY_NAME = 'host_fans'
|
||||
|
||||
SIMPLE_PROGRAMS += ['fans.x', 'tans.x']
|
||||
|
||||
CSRCS += ['fans.c', 'tans.c']
|
||||
|
@ -131,6 +131,7 @@ class TestEmitterBasic(unittest.TestCase):
|
||||
DEFINES=['-Dfans', '-Dtans'],
|
||||
EXTRA_COMPONENTS=['fans.js', 'tans.js'],
|
||||
HOST_CSRCS=['fans.c', 'tans.c'],
|
||||
HOST_LIBRARY_NAME='host_fans',
|
||||
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