Coder Social home page Coder Social logo

libs-build-tool's Introduction

Introduction

Build Status

License

Version

Convenient and fast library building tools.

Target Platform

  • Support Android
  • Support iOS

Android Guide Start

Prerequisite

  • NDK-18: android-ndk-r18b
  • MacOS

Help

❯ ./android.sh -h

'android.sh' builds some lib for Android platform. By default five Android ABIs (armeabi-v7a, armeabi-v7a-neon, arm64-v8a, x86 and x86_64) are built without any external libraries enabled. Options can be used to disable ABIs and/or enable external libraries.

Usage: ./android.sh [OPTION]...

Specify environment variables as VARIABLE=VALUE to override default build options.

Options:
  -h, --help			display this help and exit
  -v, --version			display version information and exit
  -c, --clean			clean build and prebuilt and exit
  -cb, --clean build		clean build and exit
  -cp, --clean prebuil		clean prebuilt and exit
Platforms:
  --arch-all			do build armeabi-v7a, armeabi-v7a-neon, arm64-v8a, x86 and x86_64 platform [yes]
  --arch-armeabi-v7a		do build armeabi-v7a platform [yes]
  --arch-armeabi-v7a-neon	do build armeabi-v7a-neon platform [yes]
  --arch-arm64-v8a		do build arm64-v8a platform [yes]
  --arch-x86			do build x86 platform [yes]
  --arch-x86_64			do build x86_64 platform [yes]

Libraries:
  --enable-libname			build with libname libraries

  				support libs : ffmpeg gsm iconv lame libdsm libtasn1 openjpeg openssl zlib

  				note: openssl library must be compiled independently

FFmpeg Configs:
  --ffmpeg-config-lite		build ffmpeg with lite config
  --ffmpeg-config-mp4		build ffmpeg with mp4 config
  --ffmpeg-config-mp3		build ffmpeg with mp3 config
  --ffmpeg-config-min		build ffmpeg with min config

GPL libraries:
  --lib-x264			build with x264 [no]
  --lib-x265			build with x265 [no]

Autohr:
  name				biezhihua
  email				[email protected]

Guide

./android.sh -h

Build FFmpeg with min config

./android.sh  --enable-ffmpeg --ffmpeg-config-min --arch-armeabi-v7a

Build Openssl lib

./android.sh --enable-openssl --arch-armeabi-v7a

Clean All

./android.sh --clean

Statement

Some code logic is referenced from third-party open source libraries

License


                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

libs-build-tool's People

Contributors

biezhihua avatar filenkovmaxim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.