| --- a/plugins/org.eclipse.swt/buildFragment.xml |
| +++ b/plugins/org.eclipse.swt/buildFragment.xml |
| @@ -558,4 +558,28 @@ |
| extraManifests="${extraManifests}" |
| extraSourceLocations="${extraSourceLocations}"/> |
| </target> |
| + |
| + <target name="build.cfiles" depends="init"> |
| + <mkdir dir="${build.result.folder}/library"/> |
| + <copy todir="${build.result.folder}/library"> |
| + <fileset dir="${plugindir}/Eclipse SWT/common/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT PI/common/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT Program/cde/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT Program/gnome/library"/> |
| + <fileset dir="${plugindir}/Eclipse SWT WebKit/gtk/library"/> |
| + </copy> |
| + </target> |
| + |
| + <target name="build.nativeLibraries" depends="build.cfiles"> |
| + <exec dir="${build.result.folder}/library" executable="sh"> |
| + <env key="OUTPUT_DIR" value="${build.result.folder}"/> |
| + <arg line="${build.result.folder}/library/build.sh"/> |
| + <arg line="install"/> |
| + </exec> |
| + </target> |
| </project> |