| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 # Copyright 2014 Google Inc. | 3 # Copyright 2014 Google Inc. |
| 4 # | 4 # |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 set -e # When any command fails, the shell will immediately exit. |
| 9 |
| 8 usage() { | 10 usage() { |
| 9 cat >&2 <<EOF | 11 cat >&2 <<EOF |
| 10 arm64_make - this script builds a ARMv7 Aarch64 version of skia that | 12 arm64_make - this script builds a ARMv7 Aarch64 version of skia that |
| 11 does not depend on external libraries, perfect for putting in an | 13 does not depend on external libraries, perfect for putting in an |
| 12 embedded system running Linux. | 14 embedded system running Linux. |
| 13 | 15 |
| 14 Assumes that you have already run the download_deps script. | 16 Assumes that you have already run the download_deps script. |
| 15 | 17 |
| 16 Usage: | 18 Usage: |
| 17 $0 \\ | 19 $0 \\ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 46 export GYP_DEFINES="${GYP_DEFINES} \ | 48 export GYP_DEFINES="${GYP_DEFINES} \ |
| 47 skia_gpu=0 \ | 49 skia_gpu=0 \ |
| 48 skia_arch_type=arm \ | 50 skia_arch_type=arm \ |
| 49 skia_arch_width=64 \ | 51 skia_arch_width=64 \ |
| 50 armv7=1 \ | 52 armv7=1 \ |
| 51 armv8=1 \ | 53 armv8=1 \ |
| 52 arm_neon=0 \ | 54 arm_neon=0 \ |
| 53 arm_thumb=0 \ | 55 arm_thumb=0 \ |
| 54 " | 56 " |
| 55 | 57 |
| 56 "$(dirname "$0")/barelinux_make" -t "$BUILD_TYPE" | 58 . "$(dirname "$0")/barelinux_make" -t "$BUILD_TYPE" |
| 57 | 59 |
| OLD | NEW |