harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r465546 - /incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml
Date Thu, 19 Oct 2006 09:44:51 GMT
Author: hindessm
Date: Thu Oct 19 02:44:49 2006
New Revision: 465546

URL: http://svn.apache.org/viewvc?view=rev&rev=465546
Log:
Added test target to match api of other modules.
Simplified copy-native-includes target.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml?view=diff&rev=465546&r1=465545&r2=465546
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/portlib/build.xml Thu Oct 19 02:44:49
2006
@@ -30,6 +30,14 @@
 
     <target name="build" /> <!-- depends="compile-java, copy-resources, build-jar"
-->
 
+    <target name="test" >
+        <!--
+             This target exists to match the API of other module
+             build.xml files.  However, we should probably write some
+             (native) portlib tests to aid porting.
+          -->
+    </target>
+
     <target name="copy-native-includes">
         <copy todir="${hy.hdk}/include" overwrite="yes">
             <fileset dir="${hy.portlib.src.main.native}/include/shared">
@@ -38,27 +46,10 @@
                 <include name="hycomp.h" />
                 <include name="hyporterror.h" />
                 <include name="hypool.h" />
-
             </fileset>
         </copy>
-
-        <antcall target="copy-native-includes-windows" />
-        <antcall target="copy-native-includes-linux" />
-    </target>
-
-    <target name="copy-native-includes-windows" if="is.windows">
-        <copy todir="${hy.hdk}/include" overwrite="yes">
-            <fileset dir="${hy.portlib.src.main.native}/include/windows">
-                <include name="hymutex.h" />
-                <include name="hysock.h" />
-                <include name="hyportpg.h" />
-            </fileset>
-        </copy>
-    </target>
-
-    <target name="copy-native-includes-linux" if="is.linux">
         <copy todir="${hy.hdk}/include" overwrite="yes">
-            <fileset dir="${hy.portlib.src.main.native}/include/linux">
+            <fileset dir="${hy.portlib.src.main.native}/include/${hy.os}">
                 <include name="hymutex.h" />
                 <include name="hysock.h" />
                 <include name="hyportpg.h" />



Mime
View raw message