javauis/mmapi_qt/build/build.xml
branchRCL_3
changeset 18 9ac0a0a7da70
parent 17 0fd27995241b
child 19 71c436fe3ce0
equal deleted inserted replaced
17:0fd27995241b 18:9ac0a0a7da70
     1 <!--
       
     2 #
       
     3 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 #
       
    10 # Initial Contributors:
       
    11 # Nokia Corporation - initial contribution.
       
    12 #
       
    13 # Contributors:
       
    14 #
       
    15 # Description: 
       
    16 #
       
    17 -->
       
    18 
       
    19 <project name="javamobilemedia" default="deploy" basedir=".">
       
    20 
       
    21   <import file="../../../build/utilities.xml"/>
       
    22 
       
    23  
       
    24   <!-- Needed by the utilities.xml. See the description form the utilities.xml
       
    25        file -->
       
    26 
       
    27   <target name="compile">
       
    28     <omj.javac classpath="${classpath}:${compile.result.root}/eswtqt/classes/first:${compile.result.root}/openlcdui/classes/first:${compile.result.root}/javautils/classes/first"/>
       
    29   </target>
       
    30 
       
    31 <!-- conditional compilation variation depending upon the platform
       
    32 -->
       
    33   <target name="init.component.properties">
       
    34     <condition property="java.src.paths" value="../baseline/javasrc:../volumekeys/javasrc:../baseline/javasrc.emc" else="../baseline/javasrc:../volumekeys/javasrc:../baseline/javasrc.mmf">
       
    35       <isset property="RD_JAVA_HTTP_EMC_ENABLED"/>
       
    36     </condition>
       
    37     <echo message="java.src.paths = ${java.src.paths}"/>
       
    38   </target>
       
    39   
       
    40     <condition property="javah.classnames" value="com.nokia.microedition.media.BufferDataSource,
       
    41                    com.nokia.microedition.media.BufferSourceStream,
       
    42                    com.nokia.microedition.media.ConnectorDataSource,
       
    43                    com.nokia.microedition.media.ControlContainer,
       
    44                    com.nokia.microedition.media.HttpDataSource,
       
    45                    com.nokia.microedition.media.InputStreamDataSource,
       
    46                    com.nokia.microedition.media.InputStreamSeekControl,
       
    47                    com.nokia.microedition.media.InputStreamSourceStream,
       
    48                    com.nokia.microedition.media.InternalPlayer,
       
    49                    com.nokia.microedition.media.Locator,
       
    50                    com.nokia.microedition.media.ManagerImpl,
       
    51                    com.nokia.microedition.media.MMAInvokeListener,
       
    52                    com.nokia.microedition.media.NativePlayerFactory,
       
    53                    com.nokia.microedition.media.PlayerBase,
       
    54                    com.nokia.microedition.media.PlayerImpl,
       
    55                    com.nokia.microedition.media.PlayerListenerImpl,
       
    56                    com.nokia.microedition.media.PlugIn,
       
    57                    com.nokia.microedition.media.SeekControl,
       
    58                    com.nokia.microedition.media.Setup,
       
    59                    com.nokia.microedition.media.SourcePlayer,
       
    60                    com.nokia.microedition.media.SystemTimeBase,
       
    61                    com.nokia.microedition.media.control.ControlImpl,
       
    62                    com.nokia.microedition.media.control.FramePositioningControl,
       
    63                    com.nokia.microedition.media.control.MetaDataControl,
       
    64                    com.nokia.microedition.media.control.MIDIControl,
       
    65                    com.nokia.microedition.media.control.MMACanvasDisplay,
       
    66                    com.nokia.microedition.media.control.BaseDisplay,
       
    67                    com.nokia.microedition.media.control.MMAGUIFactory,
       
    68                    com.nokia.microedition.media.control.PitchControl,
       
    69                    com.nokia.microedition.media.control.RateControl,
       
    70                    com.nokia.microedition.media.control.RecordControl,
       
    71                    com.nokia.microedition.media.control.StopTimeControl,
       
    72                    com.nokia.microedition.media.control.TempoControl,
       
    73                    com.nokia.microedition.media.control.VideoControl,
       
    74                    com.nokia.microedition.media.control.VideoItem,
       
    75                    com.nokia.microedition.media.control.VolumeControl,
       
    76                    com.nokia.microedition.media.protocol.capture.audio.Protocol,
       
    77                    com.nokia.microedition.media.protocol.capture.devcam0.Protocol,
       
    78                    com.nokia.microedition.media.protocol.capture.devcam1.Protocol,
       
    79                    com.nokia.microedition.media.protocol.capture.video.Protocol,
       
    80                    com.nokia.microedition.media.protocol.capture.Protocol,
       
    81                    com.nokia.microedition.media.protocol.device.midi.Protocol,
       
    82                    com.nokia.microedition.media.protocol.device.tone.Protocol,
       
    83                    com.nokia.microedition.media.protocol.device.Protocol,
       
    84                    com.nokia.microedition.media.protocol.file.Protocol,
       
    85                    com.nokia.microedition.media.protocol.http.Protocol,
       
    86                    com.nokia.microedition.media.protocol.https.Protocol,
       
    87                    com.nokia.microedition.media.protocol.rtsp.Protocol,
       
    88                    com.nokia.microedition.media.protocol.ConnectorProtocol,
       
    89                    com.nokia.microedition.media.protocol.NativeBase,
       
    90                    com.nokia.microedition.media.protocol.OutputStreamWriter,
       
    91                    com.nokia.microedition.media.protocol.Protocol,
       
    92                    com.nokia.microedition.media.protocol.ProtocolFactory,
       
    93                    com.nokia.microedition.media.protocol.ProtocolPackage,
       
    94                    com.nokia.microedition.media.protocol.SeekThread,
       
    95                    com.nokia.microedition.media.protocol.SourceStreamReader,
       
    96                    com.nokia.microedition.media.tone.BlockEndEvent,
       
    97                    com.nokia.microedition.media.tone.BlockStartEvent,
       
    98                    com.nokia.microedition.media.tone.Event,
       
    99                    com.nokia.microedition.media.tone.EventList,
       
   100                    com.nokia.microedition.media.tone.MidiSequence,
       
   101                    com.nokia.microedition.media.tone.MidiSequenceException,
       
   102                    com.nokia.microedition.media.tone.MidiToneConstants,
       
   103                    com.nokia.microedition.media.tone.PlayBlockEvent,
       
   104                    com.nokia.microedition.media.tone.PlayToneImpl,
       
   105                    com.nokia.microedition.media.tone.RepeatEvent,
       
   106                    com.nokia.microedition.media.tone.ToneEvent,
       
   107                    com.nokia.microedition.media.tone.TonePlayer,
       
   108                    com.nokia.microedition.media.tone.ToneSequence,
       
   109                    com.nokia.microedition.media.tone.VolumeEvent,
       
   110                    com.nokia.microedition.volumekeys.ForegroundListener,
       
   111                    com.nokia.microedition.media.protocol.EMCSourceInfo" 
       
   112                    else="com.nokia.microedition.media.BufferDataSource,
       
   113                    com.nokia.microedition.media.BufferSourceStream,
       
   114                    com.nokia.microedition.media.ConnectorDataSource,
       
   115                    com.nokia.microedition.media.ControlContainer,
       
   116                    com.nokia.microedition.media.HttpDataSource,
       
   117                    com.nokia.microedition.media.InputStreamDataSource,
       
   118                    com.nokia.microedition.media.InputStreamSeekControl,
       
   119                    com.nokia.microedition.media.InputStreamSourceStream,
       
   120                    com.nokia.microedition.media.InternalPlayer,
       
   121                    com.nokia.microedition.media.Locator,
       
   122                    com.nokia.microedition.media.ManagerImpl,
       
   123                    com.nokia.microedition.media.MMAInvokeListener,
       
   124                    com.nokia.microedition.media.NativePlayerFactory,
       
   125                    com.nokia.microedition.media.PlayerBase,
       
   126                    com.nokia.microedition.media.PlayerImpl,
       
   127                    com.nokia.microedition.media.PlayerListenerImpl,
       
   128                    com.nokia.microedition.media.PlugIn,
       
   129                    com.nokia.microedition.media.SeekControl,
       
   130                    com.nokia.microedition.media.Setup,
       
   131                    com.nokia.microedition.media.SourcePlayer,
       
   132                    com.nokia.microedition.media.SystemTimeBase,
       
   133                    com.nokia.microedition.media.control.ControlImpl,
       
   134                    com.nokia.microedition.media.control.FramePositioningControl,
       
   135                    com.nokia.microedition.media.control.MetaDataControl,
       
   136                    com.nokia.microedition.media.control.MIDIControl,
       
   137                    com.nokia.microedition.media.control.MMAGUIFactory,
       
   138                    com.nokia.microedition.media.control.PitchControl,
       
   139                    com.nokia.microedition.media.control.RateControl,
       
   140                    com.nokia.microedition.media.control.RecordControl,
       
   141                    com.nokia.microedition.media.control.StopTimeControl,
       
   142                    com.nokia.microedition.media.control.TempoControl,
       
   143                    com.nokia.microedition.media.control.VideoControl,
       
   144                    com.nokia.microedition.media.control.VideoItem,
       
   145                    com.nokia.microedition.media.control.VolumeControl,
       
   146                    com.nokia.microedition.media.protocol.capture.audio.Protocol,
       
   147                    com.nokia.microedition.media.protocol.capture.devcam0.Protocol,
       
   148                    com.nokia.microedition.media.protocol.capture.devcam1.Protocol,
       
   149                    com.nokia.microedition.media.protocol.capture.video.Protocol,
       
   150                    com.nokia.microedition.media.protocol.capture.Protocol,
       
   151                    com.nokia.microedition.media.protocol.device.midi.Protocol,
       
   152                    com.nokia.microedition.media.protocol.device.tone.Protocol,
       
   153                    com.nokia.microedition.media.protocol.device.Protocol,
       
   154                    com.nokia.microedition.media.protocol.file.Protocol,
       
   155                    com.nokia.microedition.media.protocol.http.Protocol,
       
   156                    com.nokia.microedition.media.protocol.https.Protocol,
       
   157                    com.nokia.microedition.media.protocol.rtsp.Protocol,
       
   158                    com.nokia.microedition.media.protocol.ConnectorProtocol,
       
   159                    com.nokia.microedition.media.protocol.NativeBase,
       
   160                    com.nokia.microedition.media.protocol.OutputStreamWriter,
       
   161                    com.nokia.microedition.media.protocol.Protocol,
       
   162                    com.nokia.microedition.media.protocol.ProtocolFactory,
       
   163                    com.nokia.microedition.media.protocol.ProtocolPackage,
       
   164                    com.nokia.microedition.media.protocol.SeekThread,
       
   165                    com.nokia.microedition.media.protocol.SourceStreamReader,
       
   166                    com.nokia.microedition.media.tone.BlockEndEvent,
       
   167                    com.nokia.microedition.media.tone.BlockStartEvent,
       
   168                    com.nokia.microedition.media.tone.Event,
       
   169                    com.nokia.microedition.media.tone.EventList,
       
   170                    com.nokia.microedition.media.tone.MidiSequence,
       
   171                    com.nokia.microedition.media.tone.MidiSequenceException,
       
   172                    com.nokia.microedition.media.tone.MidiToneConstants,
       
   173                    com.nokia.microedition.media.tone.PlayBlockEvent,
       
   174                    com.nokia.microedition.media.tone.PlayToneImpl,
       
   175                    com.nokia.microedition.media.tone.RepeatEvent,
       
   176                    com.nokia.microedition.media.tone.ToneEvent,
       
   177                    com.nokia.microedition.media.tone.TonePlayer,
       
   178                    com.nokia.microedition.media.tone.ToneSequence,
       
   179                    com.nokia.microedition.media.tone.VolumeEvent,
       
   180                    com.nokia.microedition.volumekeys.ForegroundListener,
       
   181                    com.nokia.microedition.volumekeys.LCDUIForegroundListener">
       
   182       <isset property="RD_JAVA_HTTP_EMC_ENABLED"/>
       
   183     </condition>
       
   184   	
       
   185  
       
   186   <target name="system.properties">
       
   187     <properties>
       
   188         audio.encodings=:mobilemedia.DynamicPropertyHandler
       
   189         supports.video.capture=:mobilemedia.DynamicPropertyHandler
       
   190         video.encodings=:mobilemedia.DynamicPropertyHandler
       
   191         microedition.media.version=1.2
       
   192         supports.audio.capture=true
       
   193         supports.mixing=true
       
   194         supports.recording=true
       
   195         video.snapshot.encodings=encoding=png encoding=jpeg encoding=image/png encoding=image/jpeg encoding=image/jpg encoding=image/gif encoding=image/bmp
       
   196     </properties>
       
   197 
       
   198   </target>
       
   199 
       
   200   <target name="create.internal.api.jar">
       
   201     <omj.internal.apis includes="com/nokia/microedition/media/control/ControlImpl.class,
       
   202                                  com/nokia/microedition/media/control/MMAGUIFactory.class"/>
       
   203   </target>
       
   204 
       
   205 </project>