js/moz.build
author Ben Kelly <ben@wanderview.com>
Wed, 31 Jan 2018 09:10:26 -0800
changeset 401847 edfc00999a3afac47595e1389f35d8b7903739b6
parent 398289 976c7e62b6378202ad609d74bb7af904da83ac9a
child 502547 844f5970e24332e28bb8612930bf3521345f2ff9
permissions -rw-r--r--
Bug 1434342 P5 Support caching the ServiceWorker DOM instance on the global. r=asuth

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']