<!--
#
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
#
-->
<project name="javamobilemedia" default="deploy" basedir=".">
<import file="../../../build/utilities.xml"/>
<!-- Needed by the utilities.xml. See the description form the utilities.xml
file -->
<target name="compile">
<omj.javac classpath="${classpath}:${compile.result.root}/eswtqt/classes/first:${compile.result.root}/openlcdui/classes/first:${compile.result.root}/javautils/classes/first"/>
</target>
<!-- conditional compilation variation depending upon the platform
-->
<target name="init.component.properties">
<condition property="java.src.paths" value="../baseline/javasrc:../volumekeys/javasrc:../baseline/javasrc.emc" else="../baseline/javasrc:../volumekeys/javasrc:../baseline/javasrc.mmf">
<isset property="RD_JAVA_HTTP_EMC_ENABLED"/>
</condition>
<echo message="java.src.paths = ${java.src.paths}"/>
</target>
<condition property="javah.classnames" value="com.nokia.microedition.media.BufferDataSource,
com.nokia.microedition.media.BufferSourceStream,
com.nokia.microedition.media.ConnectorDataSource,
com.nokia.microedition.media.ControlContainer,
com.nokia.microedition.media.HttpDataSource,
com.nokia.microedition.media.InputStreamDataSource,
com.nokia.microedition.media.InputStreamSeekControl,
com.nokia.microedition.media.InputStreamSourceStream,
com.nokia.microedition.media.InternalPlayer,
com.nokia.microedition.media.Locator,
com.nokia.microedition.media.ManagerImpl,
com.nokia.microedition.media.MMAInvokeListener,
com.nokia.microedition.media.NativePlayerFactory,
com.nokia.microedition.media.PlayerBase,
com.nokia.microedition.media.PlayerImpl,
com.nokia.microedition.media.PlayerListenerImpl,
com.nokia.microedition.media.PlugIn,
com.nokia.microedition.media.SeekControl,
com.nokia.microedition.media.Setup,
com.nokia.microedition.media.SourcePlayer,
com.nokia.microedition.media.SystemTimeBase,
com.nokia.microedition.media.control.ControlImpl,
com.nokia.microedition.media.control.FramePositioningControl,
com.nokia.microedition.media.control.MetaDataControl,
com.nokia.microedition.media.control.MIDIControl,
com.nokia.microedition.media.control.MMACanvasDisplay,
com.nokia.microedition.media.control.BaseDisplay,
com.nokia.microedition.media.control.MMAGUIFactory,
com.nokia.microedition.media.control.PitchControl,
com.nokia.microedition.media.control.RateControl,
com.nokia.microedition.media.control.RecordControl,
com.nokia.microedition.media.control.StopTimeControl,
com.nokia.microedition.media.control.TempoControl,
com.nokia.microedition.media.control.VideoControl,
com.nokia.microedition.media.control.VideoItem,
com.nokia.microedition.media.control.VolumeControl,
com.nokia.microedition.media.protocol.capture.audio.Protocol,
com.nokia.microedition.media.protocol.capture.devcam0.Protocol,
com.nokia.microedition.media.protocol.capture.devcam1.Protocol,
com.nokia.microedition.media.protocol.capture.video.Protocol,
com.nokia.microedition.media.protocol.capture.Protocol,
com.nokia.microedition.media.protocol.device.midi.Protocol,
com.nokia.microedition.media.protocol.device.tone.Protocol,
com.nokia.microedition.media.protocol.device.Protocol,
com.nokia.microedition.media.protocol.file.Protocol,
com.nokia.microedition.media.protocol.http.Protocol,
com.nokia.microedition.media.protocol.https.Protocol,
com.nokia.microedition.media.protocol.rtsp.Protocol,
com.nokia.microedition.media.protocol.ConnectorProtocol,
com.nokia.microedition.media.protocol.NativeBase,
com.nokia.microedition.media.protocol.OutputStreamWriter,
com.nokia.microedition.media.protocol.Protocol,
com.nokia.microedition.media.protocol.ProtocolFactory,
com.nokia.microedition.media.protocol.ProtocolPackage,
com.nokia.microedition.media.protocol.SeekThread,
com.nokia.microedition.media.protocol.SourceStreamReader,
com.nokia.microedition.media.tone.BlockEndEvent,
com.nokia.microedition.media.tone.BlockStartEvent,
com.nokia.microedition.media.tone.Event,
com.nokia.microedition.media.tone.EventList,
com.nokia.microedition.media.tone.MidiSequence,
com.nokia.microedition.media.tone.MidiSequenceException,
com.nokia.microedition.media.tone.MidiToneConstants,
com.nokia.microedition.media.tone.PlayBlockEvent,
com.nokia.microedition.media.tone.PlayToneImpl,
com.nokia.microedition.media.tone.RepeatEvent,
com.nokia.microedition.media.tone.ToneEvent,
com.nokia.microedition.media.tone.TonePlayer,
com.nokia.microedition.media.tone.ToneSequence,
com.nokia.microedition.media.tone.VolumeEvent,
com.nokia.microedition.volumekeys.ForegroundListener,
com.nokia.microedition.media.protocol.EMCSourceInfo"
else="com.nokia.microedition.media.BufferDataSource,
com.nokia.microedition.media.BufferSourceStream,
com.nokia.microedition.media.ConnectorDataSource,
com.nokia.microedition.media.ControlContainer,
com.nokia.microedition.media.HttpDataSource,
com.nokia.microedition.media.InputStreamDataSource,
com.nokia.microedition.media.InputStreamSeekControl,
com.nokia.microedition.media.InputStreamSourceStream,
com.nokia.microedition.media.InternalPlayer,
com.nokia.microedition.media.Locator,
com.nokia.microedition.media.ManagerImpl,
com.nokia.microedition.media.MMAInvokeListener,
com.nokia.microedition.media.NativePlayerFactory,
com.nokia.microedition.media.PlayerBase,
com.nokia.microedition.media.PlayerImpl,
com.nokia.microedition.media.PlayerListenerImpl,
com.nokia.microedition.media.PlugIn,
com.nokia.microedition.media.SeekControl,
com.nokia.microedition.media.Setup,
com.nokia.microedition.media.SourcePlayer,
com.nokia.microedition.media.SystemTimeBase,
com.nokia.microedition.media.control.ControlImpl,
com.nokia.microedition.media.control.FramePositioningControl,
com.nokia.microedition.media.control.MetaDataControl,
com.nokia.microedition.media.control.MIDIControl,
com.nokia.microedition.media.control.MMAGUIFactory,
com.nokia.microedition.media.control.PitchControl,
com.nokia.microedition.media.control.RateControl,
com.nokia.microedition.media.control.RecordControl,
com.nokia.microedition.media.control.StopTimeControl,
com.nokia.microedition.media.control.TempoControl,
com.nokia.microedition.media.control.VideoControl,
com.nokia.microedition.media.control.VideoItem,
com.nokia.microedition.media.control.VolumeControl,
com.nokia.microedition.media.protocol.capture.audio.Protocol,
com.nokia.microedition.media.protocol.capture.devcam0.Protocol,
com.nokia.microedition.media.protocol.capture.devcam1.Protocol,
com.nokia.microedition.media.protocol.capture.video.Protocol,
com.nokia.microedition.media.protocol.capture.Protocol,
com.nokia.microedition.media.protocol.device.midi.Protocol,
com.nokia.microedition.media.protocol.device.tone.Protocol,
com.nokia.microedition.media.protocol.device.Protocol,
com.nokia.microedition.media.protocol.file.Protocol,
com.nokia.microedition.media.protocol.http.Protocol,
com.nokia.microedition.media.protocol.https.Protocol,
com.nokia.microedition.media.protocol.rtsp.Protocol,
com.nokia.microedition.media.protocol.ConnectorProtocol,
com.nokia.microedition.media.protocol.NativeBase,
com.nokia.microedition.media.protocol.OutputStreamWriter,
com.nokia.microedition.media.protocol.Protocol,
com.nokia.microedition.media.protocol.ProtocolFactory,
com.nokia.microedition.media.protocol.ProtocolPackage,
com.nokia.microedition.media.protocol.SeekThread,
com.nokia.microedition.media.protocol.SourceStreamReader,
com.nokia.microedition.media.tone.BlockEndEvent,
com.nokia.microedition.media.tone.BlockStartEvent,
com.nokia.microedition.media.tone.Event,
com.nokia.microedition.media.tone.EventList,
com.nokia.microedition.media.tone.MidiSequence,
com.nokia.microedition.media.tone.MidiSequenceException,
com.nokia.microedition.media.tone.MidiToneConstants,
com.nokia.microedition.media.tone.PlayBlockEvent,
com.nokia.microedition.media.tone.PlayToneImpl,
com.nokia.microedition.media.tone.RepeatEvent,
com.nokia.microedition.media.tone.ToneEvent,
com.nokia.microedition.media.tone.TonePlayer,
com.nokia.microedition.media.tone.ToneSequence,
com.nokia.microedition.media.tone.VolumeEvent,
com.nokia.microedition.volumekeys.ForegroundListener,
com.nokia.microedition.volumekeys.LCDUIForegroundListener">
<isset property="RD_JAVA_HTTP_EMC_ENABLED"/>
</condition>
<target name="system.properties">
<properties>
audio.encodings=:mobilemedia.DynamicPropertyHandler
supports.video.capture=:mobilemedia.DynamicPropertyHandler
video.encodings=:mobilemedia.DynamicPropertyHandler
microedition.media.version=1.2
supports.audio.capture=true
supports.mixing=true
supports.recording=true
video.snapshot.encodings=encoding=png encoding=jpeg encoding=image/png encoding=image/jpeg encoding=image/jpg encoding=image/gif encoding=image/bmp
</properties>
</target>
<target name="create.internal.api.jar">
<omj.internal.apis includes="com/nokia/microedition/media/control/ControlImpl.class,
com/nokia/microedition/media/control/MMAGUIFactory.class"/>
</target>
</project>