Changes between Version 4 and Version 5 of AndroidBuildClient


Ignore:
Timestamp:
Feb 18, 2013, 11:42:18 AM (12 years ago)
Author:
romw
Comment:

Update for new build scripts

Legend:

Unmodified
Added
Removed
Modified
  • AndroidBuildClient

    v4 v5  
    1717calculated on participating devices.
    1818
    19 
    2019== Requirements ==
    2120
     
    2423 * Android NKD: http://developer.android.com/tools/sdk/ndk/index.html
    2524 * BOINC Client source code: http://boinc.berkeley.edu/trac/wiki/SourceCode
    26  * AndroidBOINC source code: https://github.com/novarow/AndroidBOINC/tree/master/android
    27  * AndroidBOINC build script: https://github.com/novarow/AndroidBOINC/blob/master/native/build_android.sh
    28 
    2925
    3026== Used versions ==
     
    5248(headers and libraries which are present on the targeted Android device,
    5349for more information see "Android NDK stable APIs").
    54 To do so, run the following command from the Android NDK root directory:
     50
     51Our build scripts depend on the NDKROOT environment variable to point to the
     52installed NDK. Please make sure that environment variable is set before
     53executing the build_androidtc.sh shell script.
     54
     55Run the following command from the boinc/android directory:
    5556{{{
    56 build/tools/make-standalone-toolchain.sh --platform=android-4 --install-dir=/tmp/tc
     57./build_androidtc.sh
    5758}}}
    58 This will install a toolchain for ARM devices
    59 (default, use e.g. "--arch=x86" to change) with minimum Android version 1.6
    60 in the given installation directory.
     59This will install a toolchain for ARM devices with minimum Android version 2.3
     60in the ~/android-tc directory.
    6161
    62 A map of NDK Android platform version (e.g. android-4)
    63 to common Android versions (e.g. Android 1.6) can be found in under "Stable APIs"
     62A map of NDK Android platform version (e.g. android-9)
     63to common Android versions (e.g. Android 2.3) can be found in under "Stable APIs"
    6464of the Android NDK documentation.
    6565
     
    7373Before first execution, configure the build script with the following information:
    7474
    75  * BPNAME: name of the BOINC platform.
    76   This can be use to distinct different Android architecutres or platform
    77   versions by your project's scheduler. (use e.g. "android-arm-4")
    78  * ANDROIDTC: location of the standalone toolchain, set up in 1.1
    7975 * OPENSSL: location of openSSL sources, openSSL is required by BOINC Client.
    8076  (Tested with version 1.0.0d)
    8177 * CURL: location of CURL sources, Curl is required by BOINC Client.
    8278  (Tested with 7.27.0)
    83  * BOINC: location of BOINC sources, no adjustments for Android necessary,
    84   use source code from BOINC repository
    85  * BAPP: location of BOINC app, optional. Not required to build the Client.
    86  * BOINCINSTALL: destination directory for BOINC binaries.
    87  * TARGETAPK: location of AndroidBOINC sources.
    88   Script copies the BOINC Client binary to the Android project's "assets" directory.
    8979
    9080Run script and verify that "boinc_client" executable got created.