|
214 | 214 | "workingSets": "WebAssembly",
|
215 | 215 | "javaCompliance" : "17+",
|
216 | 216 | "defaultBuild": False,
|
217 |
| - } |
| 217 | + }, |
| 218 | + |
| 219 | + "graalwasm_licenses": { |
| 220 | + "class": "StandaloneLicenses", |
| 221 | + "community_license_file": "LICENSE", |
| 222 | + "community_3rd_party_license_file": "THIRD_PARTY_LICENSE.txt", |
| 223 | + }, |
| 224 | + |
| 225 | + "graalwasm_thin_launcher": { |
| 226 | + "class": "ThinLauncherProject", |
| 227 | + "mainClass": "org.graalvm.wasm.launcher.WasmLauncher", |
| 228 | + "jar_distributions": ["wasm:WASM_LAUNCHER"], |
| 229 | + "relative_home_paths": { |
| 230 | + "wasm": "..", |
| 231 | + }, |
| 232 | + "relative_jre_path": "../jvm", |
| 233 | + "relative_module_path": "../modules", |
| 234 | + "relative_extracted_lib_paths": { |
| 235 | + "truffle.attach.library": "../jvmlibs/<lib:truffleattach>", |
| 236 | + }, |
| 237 | + "liblang_relpath": "../lib/<lib:wasmvm>", |
| 238 | + }, |
| 239 | + |
| 240 | + "libwasmvm": { |
| 241 | + "class": "LanguageLibraryProject", |
| 242 | + "dependencies": [ |
| 243 | + "GRAALWASM_STANDALONE_DEPENDENCIES", |
| 244 | + ], |
| 245 | + "build_args": [ |
| 246 | + # From mx.wasm/native-image.properties |
| 247 | + # Configure launcher |
| 248 | + "-Dorg.graalvm.launcher.class=org.graalvm.wasm.launcher.WasmLauncher", |
| 249 | + ], |
| 250 | + }, |
218 | 251 | },
|
219 | 252 |
|
220 | 253 | "externalProjects": {
|
|
388 | 421 | },
|
389 | 422 | "maven": False,
|
390 | 423 | },
|
| 424 | + |
| 425 | + "GRAALWASM_STANDALONE_DEPENDENCIES": { |
| 426 | + "description": "GraalWasm standalone dependencies", |
| 427 | + "class": "DynamicPOMDistribution", |
| 428 | + "distDependencies": [ |
| 429 | + "wasm:WASM_LAUNCHER", |
| 430 | + "wasm:WASM", |
| 431 | + "sdk:TOOLS_FOR_STANDALONE", |
| 432 | + ], |
| 433 | + "dynamicDistDependencies": "graalwasm_standalone_deps", |
| 434 | + "maven": False, |
| 435 | + }, |
| 436 | + |
| 437 | + "GRAALWASM_STANDALONE_COMMON": { |
| 438 | + "description": "Common layout for Native and JVM standalones", |
| 439 | + "type": "dir", |
| 440 | + "platformDependent": True, |
| 441 | + "platforms": "local", |
| 442 | + "layout": { |
| 443 | + "./": [ |
| 444 | + "extracted-dependency:WASM_GRAALVM_SUPPORT", |
| 445 | + "dependency:graalwasm_licenses/*", |
| 446 | + ], |
| 447 | + "bin/<exe:wasm>": "dependency:graalwasm_thin_launcher", |
| 448 | + "release": "dependency:sdk:STANDALONE_JAVA_HOME/release", |
| 449 | + }, |
| 450 | + }, |
| 451 | + |
| 452 | + "GRAALWASM_NATIVE_STANDALONE": { |
| 453 | + "description": "GraalWasm Native standalone", |
| 454 | + "type": "dir", |
| 455 | + "platformDependent": True, |
| 456 | + "platforms": "local", |
| 457 | + "layout": { |
| 458 | + "./": [ |
| 459 | + "dependency:GRAALWASM_STANDALONE_COMMON/*", |
| 460 | + ], |
| 461 | + "lib/": "dependency:libwasmvm", |
| 462 | + }, |
| 463 | + }, |
| 464 | + |
| 465 | + "GRAALWASM_JVM_STANDALONE": { |
| 466 | + "description": "GraalWasm JVM standalone", |
| 467 | + "type": "dir", |
| 468 | + "platformDependent": True, |
| 469 | + "platforms": "local", |
| 470 | + "layout": { |
| 471 | + "./": [ |
| 472 | + "dependency:GRAALWASM_STANDALONE_COMMON/*", |
| 473 | + ], |
| 474 | + "jvm/": { |
| 475 | + "source_type": "dependency", |
| 476 | + "dependency": "sdk:STANDALONE_JAVA_HOME", |
| 477 | + "path": "*", |
| 478 | + "exclude": [ |
| 479 | + # Native Image-related |
| 480 | + "bin/native-image*", |
| 481 | + "lib/static", |
| 482 | + "lib/svm", |
| 483 | + "lib/<lib:native-image-agent>", |
| 484 | + "lib/<lib:native-image-diagnostics-agent>", |
| 485 | + # Unnecessary and big |
| 486 | + "lib/src.zip", |
| 487 | + "jmods", |
| 488 | + ], |
| 489 | + }, |
| 490 | + "jvmlibs/": [ |
| 491 | + "extracted-dependency:truffle:TRUFFLE_ATTACH_GRAALVM_SUPPORT", |
| 492 | + ], |
| 493 | + "modules/": [ |
| 494 | + "classpath-dependencies:GRAALWASM_STANDALONE_DEPENDENCIES", |
| 495 | + ], |
| 496 | + }, |
| 497 | + }, |
| 498 | + |
| 499 | + "GRAALWASM_NATIVE_STANDALONE_RELEASE_ARCHIVE": { |
| 500 | + "class": "DeliverableStandaloneArchive", |
| 501 | + "platformDependent": True, |
| 502 | + "standalone_dist": "GRAALWASM_NATIVE_STANDALONE", |
| 503 | + "community_archive_name": "graalwasm-community", |
| 504 | + "enterprise_archive_name": "graalwasm", |
| 505 | + }, |
| 506 | + |
| 507 | + "GRAALWASM_JVM_STANDALONE_RELEASE_ARCHIVE": { |
| 508 | + "class": "DeliverableStandaloneArchive", |
| 509 | + "platformDependent": True, |
| 510 | + "standalone_dist": "GRAALWASM_JVM_STANDALONE", |
| 511 | + "community_archive_name": "graalwasm-community-jvm", |
| 512 | + "enterprise_archive_name": "graalwasm-jvm", |
| 513 | + }, |
391 | 514 | }
|
392 | 515 | }
|
0 commit comments