tree: 66d3e551df1e3f774b41cf9f2c807408cd5a763a [path history] [tgz]
  1. template/
  2. BUILD.gn
  3. OWNERS
  4. README.md
build/secondary/third_party/grpc/README.md

Adapted from Chromium.

Steps to upgrade to a new version of GRPC, all relative to this directory:

  1. Update $FUCHSIA_DIR/integration/fuchsia/third_party/flower to reference a new GRPC revision.
  2. Install prerequisites:
    sudo apt install python3-mako`
    
  3. Rebuild BUILD.gn:
    git -C $FUCHSIA_DIR/third_party/grpc submodule update --init
    cp template/BUILD.fuchsia.gn.template $FUCHSIA_DIR/third_party/grpc/templates
    (cd $FUCHSIA_DIR/third_party/grpc && tools/buildgen/generate_projects.sh)
    rm $FUCHSIA_DIR/third_party/grpc/templates/BUILD.fuchsia.gn.template
    mv $FUCHSIA_DIR/third_party/grpc/BUILD.fuchsia.gn BUILD.gn
    fx gn format --in-place BUILD.gn
    git -C $FUCHSIA_DIR/third_party/grpc submodule deinit --all