<commit_before>(cd external/openssl;

    if [ ! ${ANDROID_NDK_ROOT} ]; then
        echo "ANDROID_NDK_ROOT environment variable not set, set and rerun"
        exit 1
    fi

    HOST_INFO=`uname -a`
    case ${HOST_INFO} in
        Darwin*)
            TOOLCHAIN_SYSTEM=darwin-x86
            ;;
        Linux*)
            if [[ "${HOST_INFO}" == *i686* ]]
            then
                TOOLCHAIN_SYSTEM=linux-x86
            else
                TOOLCHAIN_SYSTEM=linux-x86_64
            fi
            ;;
        *)
            echo "Toolchain unknown for host system"
            exit 1
            ;;
    esac

    rm ../android-libs/armeabi/libcrypto.a \
        ../android-libs/x86/libcrypto.a

    git clean -dfx && git checkout -f
    ./Configure dist

    ANDROID_PLATFORM_VERSION=android-14
    ANDROID_TOOLCHAIN_DIR=/tmp/sqlcipher-android-toolchain<commit_msg>Fix to use NDK r9c to build standalone toolchain<commit_after>(cd external/openssl;

    if [ ! ${ANDROID_NDK_ROOT} ]; then
        echo "ANDROID_NDK_ROOT environment variable not set, set and rerun"
        exit 1
    fi

    HOST_INFO=`uname -a`
    case ${HOST_INFO} in
        Darwin*)
            TOOLCHAIN_SYSTEM=darwin-x86_64
            ;;
        Linux*)
            if [[ "${HOST_INFO}" == *i686* ]]
            then
                TOOLCHAIN_SYSTEM=linux-x86
            else
                TOOLCHAIN_SYSTEM=linux-x86_64
            fi
            ;;
        *)
            echo "Toolchain unknown for host system"
            exit 1
            ;;
    esac

    rm ../android-libs/armeabi/libcrypto.a \
        ../android-libs/x86/libcrypto.a

    git clean -dfx && git checkout -f
    ./Configure dist

    ANDROID_PLATFORM_VERSION=android-19
    ANDROID_TOOLCHAIN_DIR=/tmp/sqlcipher-android-toolchain
{'fraction_non_alphanumeric': 0.09375, 'fraction_numerical': 0.020647321428571428, 'mean_word_length': 1.602322206095791, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5255329', 'n_tokens_mistral': 620, 'n_tokens_neox': 550, 'n_words': 117}