author | Nathan Froyd <froydnj@mozilla.com> |
Thu, 05 Sep 2013 11:18:55 -0400 | |
changeset 146418 | dc86c80d01c05309daada4b95283dbf748fa35cb |
parent 146417 | 3ade0212edd0ecb9fedde60740a6c9202384d49b |
child 146419 | 1272d731770cc082aa98d6146f1d0aaefb3ac7ab |
push id | 25260 |
push user | ryanvm@gmail.com |
push date | Wed, 11 Sep 2013 00:29:30 +0000 |
treeherder | mozilla-central@f73bed2856a8 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | gps |
bugs | 912197 |
milestone | 26.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/python/mozbuild/mozbuild/frontend/data.py +++ b/python/mozbuild/mozbuild/frontend/data.py @@ -176,16 +176,65 @@ class IPDLFile(SandboxDerived): 'basename', ) def __init__(self, sandbox, path): SandboxDerived.__init__(self, sandbox) self.basename = path +class WebIDLFile(SandboxDerived): + """Describes an individual .webidl source file.""" + + __slots__ = ( + 'basename', + ) + + def __init__(self, sandbox, path): + SandboxDerived.__init__(self, sandbox) + + self.basename = path + +class TestWebIDLFile(SandboxDerived): + """Describes an individual test-only .webidl source file.""" + + __slots__ = ( + 'basename', + ) + + def __init__(self, sandbox, path): + SandboxDerived.__init__(self, sandbox) + + self.basename = path + +class PreprocessedWebIDLFile(SandboxDerived): + """Describes an individual .webidl source file that requires preprocessing.""" + + __slots__ = ( + 'basename', + ) + + def __init__(self, sandbox, path): + SandboxDerived.__init__(self, sandbox) + + self.basename = path + +class GeneratedWebIDLFile(SandboxDerived): + """Describes an individual .webidl source file that is generated from + build rules.""" + + __slots__ = ( + 'basename', + ) + + def __init__(self, sandbox, path): + SandboxDerived.__init__(self, sandbox) + + self.basename = path + class Program(SandboxDerived): """Sandbox container object for PROGRAM, which is a unicode string. This class handles automatically appending BIN_SUFFIX to the PROGRAM value. If BIN_SUFFIX is not defined, PROGRAM is unchanged. Otherwise, if PROGRAM ends in BIN_SUFFIX, it is unchanged Otherwise, BIN_SUFFIX is appended to PROGRAM """