mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Allow for manual native code building
This commit is contained in:
parent
479362aa55
commit
ce1deec8dd
@ -954,7 +954,7 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
# 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)
|
||||
|
||||
|
@ -613,8 +613,14 @@ tools.
|
||||
<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.
|
||||
|
@ -505,9 +505,15 @@ Be aware of any customisations in build.xml when using update=force.
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user