Skip to content

Commit 318c7ae

Browse files
committed
Move support for the scripting API to a dedicated component.
1 parent 50a5862 commit 318c7ae

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
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',
@@ -377,6 +378,21 @@ def is_included(path):
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)