# android-nginx **Repository Path**: ticpas/android-nginx ## Basic Information - **Project Name**: android-nginx - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-03-17 - **Last Updated**: 2024-10-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Nginx for Android ==================== Nginx Base Version ==================== Nginx release 1.7.0 Build Manual ==================== Install build tools -------------------- Install following build tools. * Android SDK - http://developer.android.com/sdk/index.html * Android NDK - http://developer.android.com/tools/sdk/ndk/index.html | name | value | | :--- | :---- | | HOME | Your home directory | | ANDROID_HOME | Android SDK install path | | ANDROID_NDK_HOME | Android NDK install path | And, make standalone toolchain. ``` #!sh % $ANDROID_NDK_HOME/build/tools/make-standalone-toolchain.sh \ --platform=android-19 --install-dir=$HOME/local/android-toolchain ``` Configuration nginx core and modules -------------------- Connect android device with USB cable, or launch android emulator. Run command to configure nginx core and libraries. ``` #!sh % auto/configure \ --crossbuild=android-arm \ --prefix=/sdcard/nginx \ --with-cc=$HOME/local/android-toolchain/arm-linux-androideabi/bin/gcc \ --without-pcre --without-http_rewrite_module --without-http_userid_module \ --with-cc-opt=-Wno-sign-compare ``` [developers.android.com]: http://developer.android.com/tools/sdk/ndk/index.html [nginx]: http://nginx.com/