Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: platform_tools/chromeos/bin/chromeos_setup.sh

Issue 206463007: change default build (in "make" wrapper) to ninja on all platforms (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « make.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Set up the environment to build Skia for ChromeOS. 1 # Set up the environment to build Skia for ChromeOS.
2 2
3 function exportVar { 3 function exportVar {
4 NAME=$1 4 NAME=$1
5 VALUE=$2 5 VALUE=$2
6 echo export $NAME=\"$VALUE\" 6 echo export $NAME=\"$VALUE\"
7 export $NAME="$VALUE" 7 export $NAME="$VALUE"
8 } 8 }
9 9
10 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 10 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 echo -n "ERROR: unknown device specified ($TARGET_DEVICE), valid values: " 42 echo -n "ERROR: unknown device specified ($TARGET_DEVICE), valid values: "
43 echo "x86-alex link daisy" 43 echo "x86-alex link daisy"
44 return 1; 44 return 1;
45 ;; 45 ;;
46 esac 46 esac
47 47
48 echo "The build is targeting the device: $TARGET_DEVICE" 48 echo "The build is targeting the device: $TARGET_DEVICE"
49 49
50 exportVar GENERIC_BOARD_TYPE ${GENERIC_BOARD_TYPE} 50 exportVar GENERIC_BOARD_TYPE ${GENERIC_BOARD_TYPE}
51 exportVar GYP_DEFINES "$DEFINES" 51 exportVar GYP_DEFINES "$DEFINES"
52 exportVar GYP_GENERATORS "make" 52 exportVar GYP_GENERATORS "ninja"
53 exportVar GYP_GENERATOR_FLAGS "" 53 exportVar GYP_GENERATOR_FLAGS ""
54 exportVar SKIA_OUT "out/config/chromeos-${TARGET_DEVICE}" 54 exportVar SKIA_OUT "out/config/chromeos-${TARGET_DEVICE}"
55 exportVar builddir_name "." 55 exportVar builddir_name "."
56 } 56 }
OLDNEW
« no previous file with comments | « make.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698