-
-
Save tcwu2005/f971d0a0f4cfd47a722d76281db317c4 to your computer and use it in GitHub Desktop.
Revisions
-
basharam revised this gist
Mar 12, 2014 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ #Link prebuilt static library Android LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -8,8 +9,11 @@ include $(CLEAR_VARS) LOCAL_MODULE := NameLib1 LOCAL_C_INCLUDES :=$(LOCAL_PATH)/testfolder LOCAL_SRC_FILES := location of /libNameLib1.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) @@ -20,11 +24,13 @@ LOCAL_MODULE := NameLib2 LOCAL_CPP_EXTENSION := .cpp LOCAL_SRC_FILES := file1.cpp \ file2.cpp LOCAL_STATIC_LIBRARIES= NameLib1 LOCAL_CFLAGS := -DANDROID=1 -fpermissive -fexceptions LOCAL_C_INCLUDES += $(LOCAL_PATH)/testfolder include $(BUILD_STATIC_LIBRARY) -
basharam created this gist
Mar 12, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ #Link prebuilt static library Android LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) #run scipt #ECHO_RESULT := $(info $(shell ($(LOCAL_PATH)/testscript.sh))) LOCAL_MODULE := NameLib1 LOCAL_C_INCLUDES :=$(LOCAL_PATH)/testfolder LOCAL_SRC_FILES := location of /libNameLib1.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := NameLib2 LOCAL_CPP_EXTENSION := .cpp LOCAL_SRC_FILES := file1.cpp \ file2.cpp LOCAL_STATIC_LIBRARIES= NameLib1 LOCAL_CFLAGS := -DANDROID=1 -fpermissive -fexceptions LOCAL_C_INCLUDES += $(LOCAL_PATH)/testfolder include $(BUILD_STATIC_LIBRARY)