javaextensions/bluetooth/omjbluetooth/build/build.xml
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 <!--
       
     2 * Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 *
       
     4 * Licensed under the Apache License, Version 2.0 (the "License");
       
     5 * you may not use this file except in compliance with the License.
       
     6 * You may obtain a copy of the License at
       
     7 *
       
     8 *  http://www.apache.org/licenses/LICENSE-2.0
       
     9 *
       
    10 * Unless required by applicable law or agreed to in writing, software
       
    11 * distributed under the License is distributed on an "AS IS" BASIS,
       
    12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    13 * See the License for the specific language governing permissions and
       
    14 * limitations under the License. 
       
    15 -->
       
    16 <project name="javabluetooth" default="deploy" basedir=".">
       
    17     <description>
       
    18         Builds Bluetooth API
       
    19     </description>
       
    20 
       
    21   <import file="../../../../build/utilities.xml"/>
       
    22 
       
    23   <!-- Needed by the utilities.xml. See the description form the utilities.xml
       
    24        file -->
       
    25 
       
    26   <target name="create.internal.api.jar">
       
    27       <omj.internal.apis includes="
       
    28             com/nokia/mj/impl/bluetooth/BluetoothStackS60.class"/>
       
    29   </target>  
       
    30 
       
    31   <property name="javah.classnames" 
       
    32             value="com.nokia.mj.impl.bluetooth.BluetoothStackS60,
       
    33             com.nokia.mj.impl.bluetooth.BluetoothStackConstsS60"/>
       
    34 
       
    35   <target name="init.component.properties">
       
    36       <!--
       
    37           BluecoveStack property is used to detect stack dynamically. 
       
    38           In case of S60, it should be BluetoothStackS60.
       
    39           In case of Linux, it should be BluetoothStackLinux
       
    40           If in future, we have more platforms to support, we must set the
       
    41           property appropriately.
       
    42       -->
       
    43       <condition property="bluecove.stack"
       
    44                value="BluetoothStackS60" 
       
    45                  else="BluetoothStackLinux">
       
    46           <isset property="target.s60" />
       
    47       </condition>
       
    48   </target> 
       
    49 
       
    50 <!-- 
       
    51     Properties mandated by JSR-82
       
    52 -->
       
    53   <target name="system.properties">
       
    54     <properties>
       
    55         bluetooth.api.version=1.1
       
    56         obex.api.version=1.1
       
    57         bluetooth.l2cap.receiveMTU.max=:bluetooth.BtDynamicPropertyHandler
       
    58         bluetooth.connected.devices.max=:bluetooth.BtDynamicPropertyHandler
       
    59         bluetooth.connected.inquiry=:bluetooth.BtDynamicPropertyHandler
       
    60         bluetooth.connected.page=:bluetooth.BtDynamicPropertyHandler
       
    61         bluetooth.connected.inquiry.scan=:bluetooth.BtDynamicPropertyHandler
       
    62         bluetooth.connected.page.scan=:bluetooth.BtDynamicPropertyHandler
       
    63         bluetooth.master.switch=:bluetooth.BtDynamicPropertyHandler
       
    64         bluetooth.sd.trans.max=:bluetooth.BtDynamicPropertyHandler
       
    65         bluetooth.sd.attr.retrievable.max=:bluetooth.BtDynamicPropertyHandler
       
    66         
       
    67         <!-- Properties used to configure Bluetooth -->
       
    68         bluecove.stack=${bluecove.stack}
       
    69     </properties>
       
    70   </target>  
       
    71 
       
    72 </project>