Skip to content

Commit 26dc1c9

Browse files
committed
[GR-40422] Move support for the scripting API to a dedicated component.
PullRequest: js/2593
2 parents 50a5862 + c9402a3 commit 26dc1c9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

graal-js/mx.graal-js/mx_graal_js.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def is_included(path):
349349
license_files=['LICENSE_GRAALJS.txt'],
350350
third_party_license_files=['THIRD_PARTY_LICENSE_GRAALJS.txt'],
351351
dependencies=[
352+
'Graal.js Scripting API',
352353
'Truffle',
353354
'TRegex',
354355
'ICU4J',
@@ -372,11 +373,26 @@ def is_included(path):
372373
language='js',
373374
)
374375
],
375-
boot_jars=['graal-js:GRAALJS_SCRIPTENGINE'],
376+
boot_jars=[],
376377
installable=True,
377378
stability="supported",
378379
))
379380

381+
mx_sdk.register_graalvm_component(mx_sdk.GraalVmLanguage(
382+
suite=_suite,
383+
name='Graal.js Scripting API',
384+
short_name='jss',
385+
license_files=[],
386+
third_party_license_files=[],
387+
dependencies=['Graal SDK'],
388+
truffle_jars=[],
389+
support_distributions=[],
390+
library_configs=[],
391+
boot_jars=['graal-js:GRAALJS_SCRIPTENGINE'],
392+
installable=False,
393+
stability="supported",
394+
))
395+
380396
def verify_ci(args):
381397
"""Verify CI configuration"""
382398
mx.verify_ci(args, mx.suite('regex'), _suite, 'common.json')

0 commit comments

Comments
 (0)