Git Product home page Git Product logo

android_multi-build's Introduction

Android multi-build

Android multi-build is a very simple build-system built on top of the normal Android build-system tailored for those who need to maintain multiple Android builds.

Features

  • Near zero learning-curve.
  • Build system 100% external to source-trees being built.
  • Automatically generate changelogs for builds.
  • Intelligent build: Dont build when there are no changes since last build.
  • Automatic deployment of builds to hosting provider (FTP only for now).
  • Automatic (and optional) Linaro toolchain support.
  • Ability to non-destructively inject Linaro toolchain seamlessly into existing source-trees.
  • Simple (very simple), declarative build format.
  • Low error tolerance: Builds fails immediately, where the error occured.

Assumptions / tested configurations

  • You already have one or several Android source-trees and you know how to build them.
  • Existing trees are pre-primed, have vendor-binaries, etc and are ready to build.
  • Tree is a CyanogenMod or similar AOSP-based tree which can be built with the normal Android build procedures.
  • One tree is used for one device only. While re-using the same tree for multiple devices will produce good builds, the changelogs might include things they shouldn't.

Usage

  1. Ensure you have one or more properly prepared Android source-trees.

  2. Clone repo.

    $ git clone https://github.com/josteink/android_multi-build

  3. Do a local branch to store your configs/customizations.

    $ git checkout -b production

  4. Customize builds in run_all_builds.sh. Instructions and examples can be found in the file itself.

  5. Customize target server in data/server.cfg.

  6. Execute build.

    $ ./run_all_builds.sh

  7. Wait for builds to finish.

Update

Updates are done simply by pulling updates from github:

$ git pull origin master

Changes should then be merged into your production config.

Ambitions / Todo:

Not making any promises, but these are things I might want to do in the future:

  • Better documentation, in code and elsewhere.
  • Extensibility (kernel variations, SSH/SCP upload).
  • Email reports.
  • Forum posting of builds.

Contributions welcome.

android_multi-build's People

Contributors

josteink avatar munirrani avatar

Watchers

 avatar  avatar  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.