js/moz.build
author Emilio Cobos Álvarez <emilio@crisal.io>
Thu, 05 Dec 2019 17:03:29 +0000
changeset 505664 ed92ceb9cb68d134de79f7e71aa70882e5a91f31
parent 502547 844f5970e24332e28bb8612930bf3521345f2ff9
permissions -rw-r--r--
Bug 1600735 - Make debug fuzzing builds use gcc 8. r=froydnj GCC8 happens not to generate the code that causes the crash, so do that for now to unblock fuzzers from hitting this. We still need to figure out what to do about the more general issue of course... Differential Revision: https://phabricator.services.mozilla.com/D55985

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

SPHINX_TREES["/js"] = "src/doc"