From 14a67ec6ca9ab489a9120cbf36cc25d33f5f872b Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Sun, 11 Sep 2016 20:49:59 +0900 Subject: [PATCH] Add a dependency in building notification-service for android. After libnotification_provider_wrapper.so is created, its android SDK should be built. Change-Id: I6df993e6ccd60f29017cd2e47fe75b2d3cc78892 Signed-off-by: Jihun Ha Reviewed-on: https://gerrit.iotivity.org/gerrit/11657 Tested-by: jenkins-iotivity Reviewed-by: Hun-je Yeon Reviewed-by: Uze Choi --- service/notification/android/SConscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 service/notification/android/SConscript diff --git a/service/notification/android/SConscript b/service/notification/android/SConscript old mode 100644 new mode 100755 index 3b23482..778e089 --- a/service/notification/android/SConscript +++ b/service/notification/android/SConscript @@ -44,7 +44,11 @@ if not os.path.exists(android_home + '/platforms/android-21') or not os.path.exi def ensure_libs(target, source, env): - return target, [source, env.get('BUILD_DIR') + 'liboc.so', env.get('BUILD_DIR') + 'liboc_logger.so'] + return target, [source, env.get('BUILD_DIR') + 'liboc.so', + env.get('BUILD_DIR') + 'liboc_logger.so', + env.get('BUILD_DIR') + 'libnotification_provider_wrapper.so', + env.get('BUILD_DIR') + 'libnotification_consumer.so'] + jdk_env = Environment(ENV=os.environ) jdk_env['BUILDERS']['Gradle'] = Builder(action = env.get('ANDROID_GRADLE') + -- 2.7.4