Clone this repo:

Branches

  1. c92aa95 refactor(gallery): move gallery from modules/common to modules/drive by YoungSeok Yoon · 3 days ago master
  2. fc7fca3 Add PATENTS file by George Kulakowski · 5 months ago
  3. f066aab Update copyright for 2017 by Jason Campbell · 7 months ago
  4. bd622fe Initial commit by Adam Barth · 1 year ago

Drive

Status: Experimental

Structure

This repo contains code for running a [Fuchsia][fuchsia] specific set of Drive modules.

  • modules: Fuchsia application code using Modular APIs.
    • gallery: UI module for selecting images stored in the user's Drive.
  • services: FIDL service definition for gallery.

Development

Setup

This repo is already part of the default jiri manifest.

Follow the instructions for setting up a fresh Fuchsia checkout. Once you have the jiri tool installed and have imported the default manifest and updated return to these instructions.

It is recommended you set up the Fuchsia environment helpers in scripts/env.sh:

source scripts/env.sh

Workflow

There are Makefile tasks setup to help simplify common development tasks. Use make help to see what they are.

When you have changes you are ready to see in action you can build with:

make build

Once the system has been built you will need to run a bootserver to get it over to a connected Acer. You can use the env.sh helper to move the build from your host to the target device with:

freboot

Once that is done (it takes a while) you can run the application with:

make run

Optional: In another terminal you can tail the logs

${FUCHSIA_DIR}/out/build-magenta/tools/loglistener