notification_env.AppendUnique(CPPPATH = ['../../resource/csdk/stack/include'])
notification_env.AppendUnique(CPPPATH = ['../../resource/csdk/connectivity/api'])
-if target_os == 'linux':
- notification_env.AppendUnique(CPPPATH = ['src/provider/cache/linux'])
- notification_env.AppendUnique(CPPPATH = ['src/consumer/cache/linux'])
-
-# [TO-DO] change to android DB.
-if target_os == 'android':
- notification_env.AppendUnique(CPPPATH = ['src/provider/cache/linux'])
- notification_env.AppendUnique(CPPPATH = ['src/consumer/cache/linux'])
-
notification_env.PrependUnique(LIBS = [
'octbstack',
'oc_logger',
# Source files and Targets
######################################################################
-if target_os == 'linux':
- PROVIDER_CACHE = File('src/provider/cache/linux/NSProviderMemoryCache.c')
- CONSUMER_CACHE = File('src/consumer/cache/linux/NSConsumerMemoryCache.c')
-
-if target_os == 'android':
- PROVIDER_CACHE = File('src/provider/cache/linux/NSProviderMemoryCache.c')
- CONSUMER_CACHE = File('src/consumer/cache/linux/NSConsumerMemoryCache.c')
-
notification_provider_src = [
- env.Glob('src/provider/*.c'),
- env.Glob('src/common/*.c'), PROVIDER_CACHE]
+ env.Glob('src/provider/*.c'), env.Glob('src/common/*.c')]
notification_consumer_src = [
- env.Glob('src/consumer/*.c'),
- env.Glob('src/common/*.c'), CONSUMER_CACHE]
+ env.Glob('src/consumer/*.c'), env.Glob('src/common/*.c')]
providersdk = notification_env.SharedLibrary('notification_provider', notification_provider_src)
notification_env.InstallTarget(providersdk, 'libnotification_provider')