From: Philippe Coval Date: Fri, 25 Nov 2016 16:41:27 +0000 (+0100) Subject: sqlite: Use in needed cases (RD and Secured) only X-Git-Tag: 1.3.0~1052^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f187b11c1a48567055341ea16e7c9ef3112e86c;p=platform%2Fupstream%2Fiotivity.git sqlite: Use in needed cases (RD and Secured) only Today, only a few modules are using it: * resource-directory (in Server mode) * provisioning Bug: https://jira.iotivity.org/browse/IOT-1296 Change-Id: I918c17820f78fe222d2410cdf7a820ef8f0b579d Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/14819 Tested-by: jenkins-iotivity Reviewed-by: jihwan seo Reviewed-by: Habib Virji Reviewed-by: Ziran Sun --- diff --git a/build_common/external_libs.scons b/build_common/external_libs.scons index 021df2a..85550d0 100644 --- a/build_common/external_libs.scons +++ b/build_common/external_libs.scons @@ -141,9 +141,6 @@ env.AddMethod(__download, "Download") env.AddMethod(__install_head_file, "InstallHeadFile") env.AddMethod(__install_lib, "InstallLib") -if env.get('SECURED') == '1' and target_os not in ['linux', 'tizen']: - SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript')) - -if 'CLIENT' in rd_mode or 'SERVER' in rd_mode: +if env.get('SECURED') == '1' or 'SERVER' in rd_mode: if target_os not in ['linux', 'tizen']: SConscript('#extlibs/sqlite3/SConscript')