Debian Codegraph @

infra/bots/recipe_modules/build/resources/docker-chromeos-compile.sh

raw
1 #!/bin/bash
2 # Copyright 2020 Google LLC
3 #
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # This assumes it is being run inside a docker container with the following
8 # mounts:
9 # /SRC: Swarming start dir
10 # /OUT: output directory for gn and ninja
11
12 set -e
13 set -x
14
15 export PATH="/SRC/recipe_bundle/depot_tools:${PATH}"
16
17 cd /SRC/skia
18 ./bin/fetch-gn
19 ./bin/gn gen /OUT "--args=$1"
20 ninja -C /OUT nanobench dm