Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: BjUeavdJkFP
  • Loading branch information
jmaher committed Mar 24, 2017
1 parent 91d640d commit ecefe9e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
3 changes: 3 additions & 0 deletions js/ductwork/debugger/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files("**"):
BUG_COMPONENT = ("Core", "JavaScript Engine")

XPIDL_SOURCES += [
'IJSDebugger.idl',
]
Expand Down
13 changes: 13 additions & 0 deletions js/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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
8 changes: 0 additions & 8 deletions js/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ component_stl = ('Core', 'JavaScript: Standard Library')

FILES_PER_UNIFIED_FILE = 6

with Files('../public/**'):
BUG_COMPONENT = component_engine
with Files('*'):
BUG_COMPONENT = component_engine

Expand All @@ -33,9 +31,6 @@ with Files('jit/**'):
for gcfile in ['jsgc*', 'devtools/rootAnalysis', 'devtools/gc-ubench', 'devtools/gctrace']:
with Files(gcfile):
BUG_COMPONENT = component_gc
for header in ('GCAnnotations.h', 'GCAPI.h', 'HeapAPI.h', 'RootingAPI.h', 'SliceBudget.h', 'SweepingAPI.h', 'TraceKind.h', 'TracingAPI.h', 'WeakMapPtr.h'):
with Files('../public/' + header):
BUG_COMPONENT = component_gc

for stlfile in ['jsarray.*', 'jsbool*', 'jsdate.*', 'jsnum.*', 'json.*', 'jsstr.*']:
with Files(stlfile):
Expand All @@ -46,9 +41,6 @@ with Files('builtin/Intl*'):
with Files('builtin/make_intl_data.py'):
BUG_COMPONENT = component_intl

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


if CONFIG['JS_BUNDLED_EDITLINE']:
DIRS += ['editline']
Expand Down

0 comments on commit ecefe9e

Please sign in to comment.