1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Update docs for 'update' and 'buildjni' with dir list support info.

This commit is contained in:
Paul Sokolovsky 2012-03-07 08:54:47 +02:00
parent d26f2d1ffa
commit a85a741d53

View File

@ -611,23 +611,34 @@ build.xml file. Specifying update=no bypasses that.
Specifiying update=force forces rebuilding of the build.xml file at the Specifiying update=force forces rebuilding of the build.xml file at the
same time - this is frequently needed with r14 of the Android platform same time - this is frequently needed with r14 of the Android platform
tools. tools. Be aware of any customisations in build.xml when using
update=force.
Be aware of any customisations in build.xml when using update=force. Otherwise, value can be a semicol-separated list of directories in
which to run 'android update project' relative to the main
application directory (which may include '@code{subdir}' parameter).
Default value is '@code{.}', and passing non-default value may be
useful for multi-component projects. Note that @code{--subprojects}
switch is automatically passed to 'android update project', so using
explicit list may be needed only for peculiar source layouts.
@item initfun=yes @item initfun=yes
Enables a selection of mad hacks to make com.funambol.android build. Enables a selection of mad hacks to make com.funambol.android build.
Probably not useful for any other application. Probably not useful for any other application.
@item buildjni=[no|yes|force] @item buildjni=[yes|no|<dir list>]
Enables building of native code via the ndk-build script before doing Enables building of native code via the ndk-build script before doing
the main ant build. The default is @code{no}. the main ant build. The value may be a list of directories relative
to the main application directory in which to run ndk-build, or 'yes'
which corresponds to '.' . Using explicit list may be useful to build
multi-component projects.
The build and scan processes will complain (refuse to build) if this is set The build and scan processes will complain (refuse to build) if this
to @code{no}, but there is a @code{jni} directory present. If the native code parameter is not defined, but there is a @code{jni} directory present.
is being built by other means, you can specify @code{manual} here to avoid If the native code is being built by other means, you can specify
that. However, if the native code is actually not required, remove the @code{no} here to avoid that. However, if the native code is actually
directory instead. not required, remove the directory instead (using @code{prebuild} for
example).
@item submodules=yes @item submodules=yes
Use if the project (git only) has submodules - causes git submodule Use if the project (git only) has submodules - causes git submodule