xref: /third_party/skia/infra/bots/recipe_modules/build/resources/docker-compile.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/infra/bots/recipe_modules/build/resources/
1cb93a386Sopenharmony_ci#!/bin/bash
2cb93a386Sopenharmony_ci# Copyright 2019 Google LLC
3cb93a386Sopenharmony_ci#
4cb93a386Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be
5cb93a386Sopenharmony_ci# found in the LICENSE file.
6cb93a386Sopenharmony_ci
7cb93a386Sopenharmony_ci# This assumes it is being run inside a docker container with the following
8cb93a386Sopenharmony_ci# mounts:
9cb93a386Sopenharmony_ci#  /SRC: Swarming start dir
10cb93a386Sopenharmony_ci#  /OUT: output directory for gn and ninja
11cb93a386Sopenharmony_ci
12cb93a386Sopenharmony_ciset -e
13cb93a386Sopenharmony_ciset -x
14cb93a386Sopenharmony_ci
15cb93a386Sopenharmony_ciexport PATH="/SRC/recipe_bundle/depot_tools:${PATH}"
16cb93a386Sopenharmony_ci
17cb93a386Sopenharmony_cicd /SRC/skia
18cb93a386Sopenharmony_ci./bin/fetch-gn
19cb93a386Sopenharmony_ci./bin/gn gen /OUT "--args=$1"
20cb93a386Sopenharmony_cininja -C /OUT
21cb93a386Sopenharmony_ci
22cb93a386Sopenharmony_cichmod -R 0777 /OUT/*

Indexes created Thu Nov 07 10:32:03 CST 2024