author Ehsan Akhgari <ehsan@mozilla.com>
Tue, 27 Nov 2018 10:06:05 +0000
changeset 448213 9f44e47ef7b33c059d076f81bac45dd7e528ce15
parent 398289 976c7e62b6378202ad609d74bb7af904da83ac9a
permissions -rw-r--r--
Bug 1510124 - Ignore files generated by protobuf in the tree r=sylvestre These are autogenerated files so we shouldn't try to reformat them. Differential Revision: https://phabricator.services.mozilla.com/D13043

component_engine = ('Core', 'JavaScript Engine')
component_gc     = ('Core', 'JavaScript: GC')
component_jit    = ('Core', 'JavaScript Engine: JIT')

with Files("**"):
    BUG_COMPONENT = component_engine

for header in ('GCAnnotations.h', 'GCAPI.h', 'HeapAPI.h', 'RootingAPI.h', 'SliceBudget.h', 'SweepingAPI.h', 'TraceKind.h', 'TracingAPI.h', 'WeakMapPtr.h', 'GCHashTable.h', 'GCPolicyAPI.h', 'GCVariant.h', 'GCVector.h'):
    with Files('public/' + header):
        BUG_COMPONENT = component_gc

with Files('public/TrackedOptimizationInfo.h'):
    BUG_COMPONENT = component_jit

with Files("src/**"):
    SCHEDULES.inclusive += ['jittest', 'jsreftest']

with Files("public/**"):
    SCHEDULES.inclusive += ['jittest', 'jsreftest']