зеркало из https://github.com/mozilla/gecko-dev.git
bug 880773: move SSRCS to moz.build (logic). r=ted
This commit is contained in:
Родитель
cf143c6315
Коммит
34c71ef60b
|
@ -89,6 +89,7 @@ class TreeMetadataEmitter(object):
|
|||
HOST_LIBRARY_NAME='HOST_LIBRARY_NAME',
|
||||
MODULE='MODULE',
|
||||
SIMPLE_PROGRAMS='SIMPLE_PROGRAMS',
|
||||
SSRCS='SSRCS',
|
||||
XPIDL_FLAGS='XPIDL_FLAGS',
|
||||
XPIDL_MODULE='XPIDL_MODULE',
|
||||
XPIDLSRCS='XPIDL_SOURCES',
|
||||
|
|
|
@ -129,6 +129,12 @@ VARIABLES = {
|
|||
A list of sources, one per program, to compile & link with libs into standalone programs.
|
||||
"""),
|
||||
|
||||
'SSRCS': (StrictOrderingOnAppendList, list, [],
|
||||
"""Assembly source files.
|
||||
|
||||
This variable contains a list of files to invoke the assembler on.
|
||||
"""),
|
||||
|
||||
'TOOL_DIRS': (list, list, [],
|
||||
"""Like DIRS but for tools.
|
||||
|
||||
|
|
|
@ -21,3 +21,5 @@ SIMPLE_PROGRAMS = ['bar.x', 'foo.x']
|
|||
CSRCS += ['bar.c', 'foo.c']
|
||||
|
||||
CMMSRCS = ['bar.mm', 'foo.mm']
|
||||
|
||||
SSRCS = ['bar.S', 'foo.S']
|
||||
|
|
|
@ -169,6 +169,10 @@ class TestRecursiveMakeBackend(BackendTester):
|
|||
'SIMPLE_PROGRAMS += bar.x',
|
||||
'SIMPLE_PROGRAMS += foo.x',
|
||||
],
|
||||
'SSRCS': [
|
||||
'SSRCS += bar.S',
|
||||
'SSRCS += foo.S',
|
||||
],
|
||||
'XPIDL_FLAGS': [
|
||||
'XPIDL_FLAGS += -Idir1',
|
||||
'XPIDL_FLAGS += -Idir2',
|
||||
|
|
|
@ -21,3 +21,5 @@ SIMPLE_PROGRAMS += ['fans.x', 'tans.x']
|
|||
CSRCS += ['fans.c', 'tans.c']
|
||||
|
||||
CMMSRCS = ['fans.mm', 'tans.mm']
|
||||
|
||||
SSRCS = ['fans.S', 'tans.S']
|
||||
|
|
|
@ -133,6 +133,7 @@ class TestEmitterBasic(unittest.TestCase):
|
|||
HOST_CSRCS=['fans.c', 'tans.c'],
|
||||
HOST_LIBRARY_NAME='host_fans',
|
||||
SIMPLE_PROGRAMS=['fans.x', 'tans.x'],
|
||||
SSRCS=['fans.S', 'tans.S'],
|
||||
XPIDLSRCS=['bar.idl', 'biz.idl', 'foo.idl'],
|
||||
XPIDL_MODULE='module_name',
|
||||
XPIDL_FLAGS=['-Idir1', '-Idir2', '-Idir3'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче