summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks/compiler
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2006-06-12 07:04:33 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2006-06-12 07:04:33 +0000
commit5e2f6d72c482081af1ded500107397c2583df43c (patch)
tree8da6dca5888911465328ad88bee9536bba7d7677 /src/net/sf/antcontrib/cpptasks/compiler
parentc563ed37f1bfbe0119cf59b2a7010002757d8af9 (diff)
downloadcpptasks-parallel-5e2f6d72c482081af1ded500107397c2583df43c.tar.gz
cpptasks-parallel-5e2f6d72c482081af1ded500107397c2583df43c.tar.bz2
cpptasks-parallel-5e2f6d72c482081af1ded500107397c2583df43c.tar.xz
cpptasks-parallel-5e2f6d72c482081af1ded500107397c2583df43c.zip
Added jni type
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/compiler')
-rw-r--r--src/net/sf/antcontrib/cpptasks/compiler/LinkType.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
index d769431..31348f2 100644
--- a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
+++ b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
@@ -44,6 +44,12 @@ public class LinkType {
String value = outputType.getValue();
return value.equals("executable");
}
+// FREEHEP
+ public boolean isJNIModule() {
+ String value = outputType.getValue();
+ return value.equals("jni");
+ }
+
/**
* Gets whether the link should produce a plugin module.
*
@@ -60,7 +66,8 @@ public class LinkType {
*/
public boolean isSharedLibrary() {
String value = outputType.getValue();
- return value.equals("shared") || value.equals("plugin");
+// FREEHEP
+ return value.equals("shared") || value.equals("plugin") || value.equals("jni");
}
/**
* Gets whether the link should produce a static library.