Ignore:
Timestamp:
May 28, 2013 12:20:21 PM (11 years ago)
Author:
riza
Message:

Re #1655:

  • Optimize android make file
  • Modify android project file to enable native debugging on eclipse
  • Add pjsua.cpp to svn ignore
Location:
pjproject/trunk/pjsip-apps/src/pjsua/android
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/android/.project

    r4496 r4526  
    66        </projects> 
    77        <buildSpec> 
    8                 <buildCommand> 
    9                         <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> 
    10                         <triggers>clean,full,incremental,</triggers> 
    11                         <arguments> 
    12                                 <dictionary> 
    13                                         <key>?name?</key> 
    14                                         <value></value> 
    15                                 </dictionary> 
    16                                 <dictionary> 
    17                                         <key>org.eclipse.cdt.make.core.append_environment</key> 
    18                                         <value>true</value> 
    19                                 </dictionary> 
    20                                 <dictionary> 
    21                                         <key>org.eclipse.cdt.make.core.autoBuildTarget</key> 
    22                                         <value>all</value> 
    23                                 </dictionary> 
    24                                 <dictionary> 
    25                                         <key>org.eclipse.cdt.make.core.buildArguments</key> 
    26                                         <value></value> 
    27                                 </dictionary> 
    28                                 <dictionary> 
    29                                         <key>org.eclipse.cdt.make.core.buildCommand</key> 
    30                                         <value>make</value> 
    31                                 </dictionary> 
    32                                 <dictionary> 
    33                                         <key>org.eclipse.cdt.make.core.cleanBuildTarget</key> 
    34                                         <value>clean</value> 
    35                                 </dictionary> 
    36                                 <dictionary> 
    37                                         <key>org.eclipse.cdt.make.core.contents</key> 
    38                                         <value>org.eclipse.cdt.make.core.activeConfigSettings</value> 
    39                                 </dictionary> 
    40                                 <dictionary> 
    41                                         <key>org.eclipse.cdt.make.core.enableAutoBuild</key> 
    42                                         <value>false</value> 
    43                                 </dictionary> 
    44                                 <dictionary> 
    45                                         <key>org.eclipse.cdt.make.core.enableCleanBuild</key> 
    46                                         <value>true</value> 
    47                                 </dictionary> 
    48                                 <dictionary> 
    49                                         <key>org.eclipse.cdt.make.core.enableFullBuild</key> 
    50                                         <value>true</value> 
    51                                 </dictionary> 
    52                                 <dictionary> 
    53                                         <key>org.eclipse.cdt.make.core.fullBuildTarget</key> 
    54                                         <value>all</value> 
    55                                 </dictionary> 
    56                                 <dictionary> 
    57                                         <key>org.eclipse.cdt.make.core.stopOnError</key> 
    58                                         <value>true</value> 
    59                                 </dictionary> 
    60                                 <dictionary> 
    61                                         <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> 
    62                                         <value>true</value> 
    63                                 </dictionary> 
    64                         </arguments> 
    65                 </buildCommand> 
    668                <buildCommand> 
    679                        <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> 
     
    8426                        </arguments> 
    8527                </buildCommand> 
    86                 <buildCommand> 
    87                         <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> 
    88                         <triggers>full,incremental,</triggers> 
    89                         <arguments> 
    90                         </arguments> 
    91                 </buildCommand> 
    9228        </buildSpec> 
    9329        <natures> 
    9430                <nature>com.android.ide.eclipse.adt.AndroidNature</nature> 
    9531                <nature>org.eclipse.jdt.core.javanature</nature> 
    96                 <nature>org.eclipse.cdt.core.cnature</nature> 
    97                 <nature>org.eclipse.cdt.core.ccnature</nature> 
    98                 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> 
    99                 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> 
    10032        </natures> 
    10133</projectDescription> 
  • pjproject/trunk/pjsip-apps/src/pjsua/android/jni

    • Property svn:ignore
      •  

        old new  
        11pjsua_wrap.h 
        22pjsua_wrap.cpp 
        3  
         3pjsua.cpp 
         4.* 
  • pjproject/trunk/pjsip-apps/src/pjsua/android/jni/Android.mk

    r4496 r4526  
    1 # $id$ 
     1# $Id$ 
    22 
    33LOCAL_PATH      := $(call my-dir) 
     
    1111MY_SWIG         := swig 
    1212 
    13 #======================================================================== 
    14 # Choose console application to load 
    15 #======================================================================== 
    16  
    17 # pjlib test 
    18 #MY_MODULE :=  $(PJDIR)/pjlib/build/output/pjlib-test-$(TARGET_NAME)/*.o 
    19  
    20 # pjlib-util test 
    21 #MY_MODULE :=  $(PJDIR)/pjlib-util/build/output/pjlib-util-test-$(TARGET_NAME)/*.o 
    22  
    23 # pjsip test 
    24 #MY_MODULE :=  $(PJDIR)/pjsip/build/output/pjsip-test-$(TARGET_NAME)/*.o 
    25  
    26 # pjnath test 
    27 #MY_MODULE :=  $(PJDIR)/pjnath/build/output/pjnath-test-$(TARGET_NAME)/*.o 
    28  
    29 # pjmedia test 
    30 # Note: jbuf test requires Jbtest.dat, this jbuf test must be disabled (for now). 
    31 #MY_MODULE :=  $(PJDIR)/pjmedia/build/output/pjmedia-test-$(TARGET_NAME)/*.o 
    32  
    33 # pjsystest app (not supported yet) 
    34 # Todo: this test requires some input and output files (log & WAV). 
    35 #MY_MODULE := $(PJDIR)/pjsip-apps/build/output/pjsystest-$(TARGET_NAME)/*.o 
    36  
    37 # pjsua app 
    38 # Note: must set USE_GUI to zero in config_site.h 
    39 MY_MODULE := $(PJDIR)/pjsip-apps/build/output/pjsua-$(TARGET_NAME)/*.o 
    40  
    41 #======================================================================== 
     13MY_MODULE_PATH  := $(PJDIR)/pjsip-apps/build/output/pjsua-$(TARGET_NAME) 
     14MY_MODULES      := $(MY_MODULE_PATH)/pjsua_app.o \ 
     15                   $(MY_MODULE_PATH)/pjsua_app_cli.o \ 
     16                   $(MY_MODULE_PATH)/pjsua_app_common.o \ 
     17                   $(MY_MODULE_PATH)/pjsua_app_config.o \ 
     18                   $(MY_MODULE_PATH)/pjsua_app_legacy.o 
    4219 
    4320# Constants 
     
    4926LOCAL_CFLAGS    := -Werror $(APP_CFLAGS) -frtti 
    5027LOCAL_LDFLAGS   := $(APP_LDFLAGS) 
    51 LOCAL_LDLIBS    := $(MY_MODULE) $(APP_LDLIBS) 
     28LOCAL_LDLIBS    := $(MY_MODULES) $(APP_LDLIBS) 
    5229LOCAL_SRC_FILES := $(MY_JNI_WRAP) pjsua_app_callback.cpp 
    5330 
Note: See TracChangeset for help on using the changeset viewer.