Git Product home page Git Product logo

grandpaul / android-cuttlefish Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/android-cuttlefish

0.0 1.0 0.0 2.36 MB

Cuttlefish host support debian package.

Home Page: https://source.android.com/setup/create/cuttlefish

License: Apache License 2.0

Shell 28.91% JavaScript 2.53% Ruby 0.36% C++ 24.88% Python 1.08% C 0.81% Go 32.81% TypeScript 5.06% Makefile 0.41% HTML 0.78% CMake 0.77% Dockerfile 0.92% SCSS 0.68%

android-cuttlefish's Introduction

Virtual Device for Android host-side utilities

This repository holds supporting tools that prepare a host to boot Cuttlefish, a configurable Android Virtual Device (AVD) that targets both locally hosted Linux x86/arm64 and remotely hosted Google Compute Engine (GCE) instances rather than physical hardware.

Debian packages

The following debian packages are provided:

  • cuttlefish-base - Creates static resources needed by the Cuttlefish devices
  • cuttlefish-user - Provides a local web server that enables interactions with the devices through the browser
  • cuttlefish-integration - Installs additional utilities to run Cuttlefish in Google Compute Engine
  • cuttlefish-orchestration - Replaces cuttlefish-user in the Orchestration project
  • cuttlefish-common - [DEPRECATED] Provided for compatibility only, it's a metapackage that depends on cuttlefish-base and cuttlefish-user

The packages can be built with the following command:

for dir in base frontend; do
    pushd $dir
    dpkg-buildpackage -uc -us
    popd
done

Cuttlefish requires only cuttlefish-base to be installed, but cuttlefish-user is recommended to enjoy a better user experience. These can be installed after building with the following command:

sudo apt install ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb

Google Compute Engine

The following script can be used to build a host image for Google Compute Engine:

device/google/cuttlefish/tools/create_base_image.go

Check out the AOSP tree to obtain the script.

Docker

The Debian packages can also be built in a the docker container. Dockerfile and build scripts are included in this repository, just run:

    docker/build.sh --build_debs_only --rebuild_debs_verbose

The command will build the container, if needed, that builds the Debian packages, and builds the Debian packages within the container. The resultant packages will be located under the docker/out directory.

This repository also contains a Dockerfile that can be used to construct an image for a privileged Docker container, which in turn can boot the cuttlefish device. Such an image allows one to develop for Cuttlefish without having to install a number of packages directly on the host machine. For more details, read the docker instructions.

android-cuttlefish's People

Contributors

tomasz-wiszkowski avatar ghartman17022 avatar ser-io avatar jemoreira avatar adelva1984 avatar kwstephenkim avatar ikicha avatar 0405ysj avatar k311093 avatar rmuthiah avatar databean avatar jmacnak avatar malchev avatar dependabot[bot] avatar dimorinny avatar rpavlik avatar tardyp avatar metti avatar pcc avatar mrfranklin avatar theandi666 avatar mztriz avatar chenz85 avatar skymage23 avatar hsinyichen-google avatar gongwuchun avatar zenczykowski avatar laverst avatar desprezj avatar

Watchers

 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.