Add a dependency in building notification-service for android.
authorJihun Ha <jihun.ha@samsung.com>
Sun, 11 Sep 2016 11:49:59 +0000 (20:49 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 12 Sep 2016 01:53:41 +0000 (01:53 +0000)
After libnotification_provider_wrapper.so is created, its android SDK
should be built.

Change-Id: I6df993e6ccd60f29017cd2e47fe75b2d3cc78892
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11657
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/android/SConscript [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 3b23482..778e089
@@ -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') +