# Presence of a jni directory without buildjni=yes might
# indicate a problem...
if (os.path.exists(os.path.join(root_dir, 'jni')) and
- thisbuild.get('buildjni', 'no') != 'yes'):
+ thisbuild.get('buildjni', 'no') == 'no'):
msg = 'Found jni directory, but buildjni is not enabled'
problems.append(msg)
<br><dt><code>initfun=yes</code><dd>Enables a selection of mad hacks to make com.funambol.android build.
Probably not useful for any other application.
- <br><dt><code>buildjni=yes</code><dd>Enables building of native code via the ndk-build script before doing
-the main ant build.
+ <br><dt><code>buildjni=[no|yes|force]</code><dd>Enables building of native code via the ndk-build script before doing
+the main ant build. The default is <code>no</code>.
+
+ <p>The build and scan processes will complain (refuse to build) if this is set
+to <code>no</code>, but there is a <code>jni</code> directory present. If the native code
+is being built by other means, you can specify <code>manual</code> here to avoid
+that. However, if the native code is actually not required, remove the
+directory instead.
<br><dt><code>submodules=yes</code><dd>Use if the project (git only) has submodules - causes git submodule
init and update to be executed after the source is cloned.
Enables a selection of mad hacks to make com.funambol.android build.
Probably not useful for any other application.
-@item buildjni=yes
+@item buildjni=[no|yes|force]
Enables building of native code via the ndk-build script before doing
-the main ant build.
+the main ant build. The default is @code{no}.
+
+The build and scan processes will complain (refuse to build) if this is set
+to @code{no}, but there is a @code{jni} directory present. If the native code
+is being built by other means, you can specify @code{manual} here to avoid
+that. However, if the native code is actually not required, remove the
+directory instead.
@item submodules=yes
Use if the project (git only) has submodules - causes git submodule