Ignore:
Timestamp:
Jul 26, 2013 5:54:33 AM (9 years ago)
Author:
ming
Message:

JNI projects:

  • Fix project setup for Android sample app
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/jni/pjsip-apps/src/jni/jni/Android.mk

    r4571 r4574  
    5353 
    5454# Android build settings 
    55 LOCAL_PATH      := $(call my-dir)/pjsip-apps/src/jni 
     55LOCAL_PATH      := $(PJDIR)/pjsip-apps/src/jni 
     56include $(CLEAR_VARS) 
    5657LOCAL_MODULE    := libpjsua 
    5758LOCAL_MODULE_FILENAME := libpjsua 
     
    6061LOCAL_LDLIBS    := $(APP_LDLIBS) 
    6162LOCAL_SRC_FILES := $(MY_SWIG_WRAPPER).cpp $(MY_OUT_DIR)/callbacks.cpp 
    62  
    63 MY_JNI_WRAP     := $(LOCAL_PATH)/$(MY_SWIG_WRAPPER).cpp 
    6463 
    6564jni: $(MY_JNI_LIB) java 
     
    9998        $(MY_JAVA) -cp $(MY_PACKAGE_BIN) -Djava.library.path="$(MY_PACKAGE_BIN)" hello 
    10099 
    101 $(MY_JNI_WRAP): $(MY_SWIG_WRAPPER).cpp 
     100$(LOCAL_PATH)/$(MY_SWIG_WRAPPER).cpp: $(MY_SWIG_WRAPPER).cpp 
    102101 
    103 .PHONY: $(MY_JNI_WRAP) 
     102$(LOCAL_PATH)/$(MY_OUT_DIR)/callbacks.cpp: $(MY_OUT_DIR)/callbacks.cpp 
    104103 
    105104include $(BUILD_SHARED_LIBRARY) 
Note: See TracChangeset for help on using the changeset viewer.