js/moz.build
author Emilio Cobos Álvarez <emilio@crisal.io>
Wed, 29 Aug 2018 22:49:04 +0000
changeset 434014 48f88e237b4e94be9f85a52abb5cc13071dd8cc0
parent 398326 976c7e62b6378202ad609d74bb7af904da83ac9a
permissions -rw-r--r--
Bug 1487198 - Measure memory usage of the identifier map in ShadowRoot as well. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D4615

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