if target_os == 'android':
plugin_manager_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions', '-DANDROID'])
- plugin_manager_env.AppendUnique(LIBS = ['boost_thread', 'boost_system', 'gnustl_shared', 'log'])
+ plugin_manager_env.AppendUnique(LIBS = ['gnustl_shared', 'log'])
plugin_manager_env.AppendUnique(CPPDEFINES = ['CP_C_API=CP_EXPORT',
'CP_HOST=\"\\"'+env.get('TARGET_OS')+'\\"\"',
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
-LOCAL_MODULE := libboost_thread
-LOCAL_SRC_FILES := ../../../../../../dep/android/armeabi/usr/lib/libboost_thread.a
-include $(PREBUILT_STATIC_LIBRARY)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := libboost_system
-LOCAL_SRC_FILES := ../../../../../../dep/android/armeabi/usr/lib/libboost_system.a
-include $(PREBUILT_STATIC_LIBRARY)
-
-include $(CLEAR_VARS)
LOCAL_MODULE := libcpluff
LOCAL_SRC_FILES := ../../../../../../out/android/armeabi/release/libcpluff.a
include $(PREBUILT_STATIC_LIBRARY)
LOCAL_STATIC_LIBRARIES := libcpluff
LOCAL_STATIC_LIBRARIES += libpmimpl
-LOCAL_STATIC_LIBRARIES += libboost_thread
-LOCAL_STATIC_LIBRARIES += libboost_system
LOCAL_STATIC_LIBRARIES += libexpat
-LOCAL_C_INCLUDES := ../../../../../../extlibs/boost/boost_1_58_0
-LOCAL_C_INCLUDES += ../../../../lib/cpluff/libcpluff
+LOCAL_C_INCLUDES := ../../../../lib/cpluff/libcpluff
LOCAL_C_INCLUDES += ../../../src
LOCAL_C_INCLUDES += ../../../../../../extlibs/rapidxml
######################################################################
ppm_jni_env.AppendUnique(CXXFLAGS = ['-std=c++0x', '-Wall', '-DLINUX', '-DNDEBUG'])
ppm_jni_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
-ppm_jni_env.PrependUnique(LIBS = ['pmimpl', 'ppm', 'expat', 'cpluff', 'boost_system', 'boost_thread', 'gnustl_shared', 'log'])
+ppm_jni_env.PrependUnique(LIBS = ['pmimpl', 'ppm', 'expat', 'cpluff', 'gnustl_shared', 'log'])
ppm_jni_env.AppendUnique(CPPPATH = [ppm_sdk+'/src'])
ppm_jni_env.AppendUnique(CPPPATH = [ppm_sdk+'/../lib/cpluff/libcpluff'])
}
if (plugin_compare_flag)
{
- //Auto plugin detection is disabled
- /*
- try
- {
- boost::thread *t = new boost::thread(boost::bind(&CpluffAdapter::observePluginPath,
- //this, (void *)path.c_str()));
- this, (void *)m_cp_plugins[i]->plugin_path));
- m_thread_g.add_thread(t);
- }
- catch (...)
- {
- printf("thread throw exception\n");
- }
- */
m_plugins.push_back(*plugin);
delete(plugin);
}
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
-#include <boost/thread.hpp>
-#include <boost/bind.hpp>
#include <internal.h>
#include "Plugin.h"
cp_status_t m_status;
cp_plugin_info_t **m_cp_plugins;
cp_plugin_info_t *m_plugin;
- //boost::thread_group m_thread_g;
static CpluffAdapter *s_pinstance;
/**
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
-#include <boost/thread.hpp>
-#include <boost/bind.hpp>
#include <internal.h>
#include <jni.h>
Config *config;
typedef std::map<std::string, bool> File_list;
std::vector<Plugin> m_plugins;
- boost::thread m_file_detect_thread;
static FelixAdapter *s_pinstance;
#include "Plugin.h"
#include "CpluffAdapter.h"
+#include <algorithm>
#ifdef ANDROID
#include "FelixAdapter.h"
sample_env.AppendUnique(LIBS = ['oc', 'oc_logger', 'octbstack',
'connectivity_abstraction', 'coap',
- 'ppm', 'boost_system', 'pmimpl', 'dl'])
+ 'ppm', 'pmimpl', 'dl'])
if env.get('SECURED') == '1':
sample_env.AppendUnique(LIBS = ['tinydtls'])
<listOptionValue builtIn="false" value="octbstack"/>
<listOptionValue builtIn="false" value="oc_logger"/>
<listOptionValue builtIn="false" value="connectivity_abstraction"/>
- <listOptionValue builtIn="false" value="boost_system"/>
- <listOptionValue builtIn="false" value="boost_thread"/>
</option>
<option id="sbi.gnu.cpp.linker.option.shared_flag.core.1600357455" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" value="true" valueType="boolean"/>
<option id="gnu.cpp.link.option.other.1278390791" name="Other options (-Xlinker [option])" superClass="gnu.cpp.link.option.other"/>
<listOptionValue builtIn="false" value="coap"/>
<listOptionValue builtIn="false" value="oc_logger"/>
<listOptionValue builtIn="false" value="oc_logger_core"/>
- <listOptionValue builtIn="false" value="boost_system"/>
- <listOptionValue builtIn="false" value="boost_thread"/>
</option>
<option id="sbi.gnu.cpp.linker.option.shared_flag.core.870017078" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" value="true" valueType="boolean"/>
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.204670616" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">