Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Set up the environment to build Skia for ChromeOS. | 1 # Set up the environment to build Skia for ChromeOS. |
| 2 ############################################################################### | 2 ############################################################################### |
| 3 # Copyright 2015 Google Inc. | 3 # Copyright 2015 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 | 8 |
| 9 function exportVar { | 9 function exportVar { |
| 10 NAME=$1 | 10 NAME=$1 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 return 1; | 46 return 1; |
| 47 ;; | 47 ;; |
| 48 esac | 48 esac |
| 49 | 49 |
| 50 echo "The build is targeting the device: $TARGET_DEVICE" | 50 echo "The build is targeting the device: $TARGET_DEVICE" |
| 51 | 51 |
| 52 exportVar GENERIC_BOARD_TYPE ${GENERIC_BOARD_TYPE} | 52 exportVar GENERIC_BOARD_TYPE ${GENERIC_BOARD_TYPE} |
| 53 exportVar GYP_DEFINES "$DEFINES" | 53 exportVar GYP_DEFINES "$DEFINES" |
| 54 exportVar GYP_GENERATORS "ninja" | 54 exportVar GYP_GENERATORS "ninja" |
| 55 exportVar GYP_GENERATOR_FLAGS "" | 55 exportVar GYP_GENERATOR_FLAGS "" |
| 56 exportVar SKIA_OUT "out/config/chromeos-${TARGET_DEVICE}" | 56 SKIA_OUT=${SKIA_OUT:-out} |
| 57 exportVar SKIA_OUT "${SKIA_OUT}/config/chromeos-${TARGET_DEVICE}" | |
|
borenet
2015/05/04 13:46:27
I haven't been able to verify this locally due to
| |
| 57 exportVar builddir_name "." | 58 exportVar builddir_name "." |
| 58 } | 59 } |
| OLD | NEW |