if target_os == 'android':
notification_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
notification_env.PrependUnique(LIBS = ['gnustl_shared', 'log'])
+ notification_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,libnotification_consumer_wrapper.so'])
if not env.get('RELEASE') and target_os not in ['ios']:
notification_env.PrependUnique(LIBS = ['gcov'])
if target_os == 'android':
notification_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
notification_env.PrependUnique(LIBS = ['gnustl_shared', 'log'])
+ notification_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,libnotification_provider_wrapper.so'])
if not env.get('RELEASE') and target_os not in ['ios']:
notification_env.PrependUnique(LIBS = ['gcov'])
resource_container_env.UserInstallTargetHeader('include/RCSBundleInfo.h', 'service/resource-container', 'RCSBundleInfo.h')
resource_container_env.UserInstallTargetHeader('include/RCSResourceContainer.h', 'service/resource-container', 'RCSResourceContainer.h')
+if target_os in ['android']:
+ resource_container_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,librcs_container.so'])
+
######################################################################
# build discomfort index sensor sample bundle
######################################################################
Command("THSensorApp", DI_SENSOR_BUNDLE_DIR + "src/inputSensors/THSensorApp/THSensorApp", Copy("$TARGET", "$SOURCE"))
Command("THSensorApp1", DI_SENSOR_BUNDLE_DIR + "src/inputSensors/THSensorApp1/THSensorApp1", Copy("$TARGET", "$SOURCE"))
+ if target_os in ['android']:
+ resource_container_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,libDISensorBundle.so'])
+
######################################################################
# build BMI sensor sample bundle
######################################################################
Command("HeightSensorApp", BMI_SENSOR_BUNDLE_DIR + "src/inputSensors/HeightSensorApp/HeightSensorApp", Copy("$TARGET", "$SOURCE"))
Command("WeightSensorApp", BMI_SENSOR_BUNDLE_DIR + "src/inputSensors/WeightSensorApp/WeightSensorApp", Copy("$TARGET", "$SOURCE"))
+ if target_os in ['android']:
+ resource_container_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,libBMISensorBundle.so'])
+
######################################################################
# build hue sample bundle
######################################################################
if target_os in ['android']:
resourceClient_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
resourceClient_env.PrependUnique(LIBS = ['gnustl_shared', 'log'])
+ resourceClient_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,librcs_client.so'])
if target_os in ['linux']:
if not env.get('RELEASE'):
if target_os in ['android']:
server_builder_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
server_builder_env.PrependUnique(LIBS = ['gnustl_shared', 'log'])
+ server_builder_env.AppendUnique(LINKFLAGS = ['-Wl,-soname,librcs_server.so'])
if server_builder_env.get('SECURED') == '1':
if server_builder_env.get('WITH_TCP') == True: