Skip to content

Commit 0a24bb3

Browse files
wirthiansalond
authored andcommitted
remove PolyglotNativeAPI
1 parent 3c46c03 commit 0a24bb3

39 files changed

+21
-4626
lines changed

Diff for: substratevm/mx.substratevm/mx_substratevm.py

-20
Original file line numberDiff line numberDiff line change
@@ -1378,26 +1378,6 @@ def _native_image_launcher_extra_jvm_args():
13781378
)
13791379
mx_sdk_vm.register_graalvm_component(truffle_runtime_svm)
13801380

1381-
mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVmJreComponent(
1382-
suite=suite,
1383-
name='Polyglot Native API',
1384-
short_name='polynative',
1385-
dir_name='polyglot',
1386-
license_files=[],
1387-
third_party_license_files=[],
1388-
dependencies=[],
1389-
jar_distributions=['substratevm:POLYGLOT_NATIVE_API'],
1390-
support_distributions=[
1391-
"substratevm:POLYGLOT_NATIVE_API_HEADERS",
1392-
],
1393-
polyglot_lib_jar_dependencies=[
1394-
"substratevm:POLYGLOT_NATIVE_API",
1395-
],
1396-
has_polyglot_lib_entrypoints=True,
1397-
stability="earlyadopter",
1398-
jlink=False,
1399-
))
1400-
14011381
mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVMSvmMacro(
14021382
suite=suite,
14031383
name='Native Image JUnit',

Diff for: substratevm/mx.substratevm/suite.py

-55
Original file line numberDiff line numberDiff line change
@@ -1289,28 +1289,6 @@
12891289
"jacoco" : "exclude",
12901290
},
12911291

1292-
"org.graalvm.polyglot.nativeapi" : {
1293-
"subDir": "src",
1294-
"sourceDirs" : [
1295-
"src",
1296-
"resources",
1297-
],
1298-
"dependencies" : [
1299-
"sdk:POLYGLOT",
1300-
"sdk:NATIVEIMAGE",
1301-
"com.oracle.svm.hosted",
1302-
],
1303-
"checkstyle": "com.oracle.svm.core",
1304-
"javaCompliance" : "21+",
1305-
"annotationProcessors" : [
1306-
"compiler:GRAAL_PROCESSOR",
1307-
"SVM_PROCESSOR",
1308-
],
1309-
"workingSets" : "SVM",
1310-
"spotbugs": "false",
1311-
"jacoco" : "exclude",
1312-
},
1313-
13141292
"com.oracle.svm.graal.hotspot" : {
13151293
"subDir": "src",
13161294
"sourceDirs" : [
@@ -2260,39 +2238,6 @@
22602238
"testDistribution" : True,
22612239
},
22622240

2263-
"POLYGLOT_NATIVE_API" : {
2264-
"subDir": "src",
2265-
"dependencies": [
2266-
"org.graalvm.polyglot.nativeapi",
2267-
],
2268-
"distDependencies": [
2269-
"sdk:NATIVEIMAGE",
2270-
"sdk:POLYGLOT",
2271-
"SVM",
2272-
],
2273-
"moduleInfo" : {
2274-
"name" : "org.graalvm.polyglot.nativeapi",
2275-
"requires" : [
2276-
"org.graalvm.polyglot",
2277-
"org.graalvm.nativeimage",
2278-
"org.graalvm.nativeimage.builder",
2279-
],
2280-
},
2281-
"useModulePath": True,
2282-
"maven": False,
2283-
},
2284-
2285-
"POLYGLOT_NATIVE_API_HEADERS" : {
2286-
"native" : True,
2287-
"platformDependent" : True,
2288-
"description" : "polyglot.nativeapi header files for the GraalVM build process",
2289-
"layout" : {
2290-
"./" : [
2291-
"extracted-dependency:POLYGLOT_NATIVE_API/*.h",
2292-
],
2293-
},
2294-
},
2295-
22962241
"SVM_GRAALVM_SUPPORT" : {
22972242
"native" : True,
22982243
"platformDependent" : True,

Diff for: substratevm/src/org.graalvm.polyglot.nativeapi/resources/polyglot_types.h

-79
This file was deleted.

Diff for: substratevm/src/org.graalvm.polyglot.nativeapi/src/META-INF/native-image/org.graalvm.polyglot.nativeapi/native-image.properties

-21
This file was deleted.

Diff for: substratevm/src/org.graalvm.polyglot.nativeapi/src/org/graalvm/polyglot/nativeapi/PolyglotAPIHeader.java

-66
This file was deleted.

Diff for: substratevm/src/org.graalvm.polyglot.nativeapi/src/org/graalvm/polyglot/nativeapi/PolyglotIsolateHeader.java

-50
This file was deleted.

0 commit comments

Comments
 (0)