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

Unified Diff: platform_tools/chromeos/bin/build_skia_in_chroot

Issue 16099011: GYP changes and scripts for compiling Skia for ChromeOS (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: platform_tools/chromeos/bin/build_skia_in_chroot
===================================================================
--- platform_tools/chromeos/bin/build_skia_in_chroot (revision 0)
+++ platform_tools/chromeos/bin/build_skia_in_chroot (revision 0)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# This script builds Skia inside of a ChromeOS chroot. It is intended to be run
+# either while inside the chroot or indirectly by running chromeos_make which
+# enters the chroot and runs this script.
+
+makeVars=""
+deviceID=""
+
+while (( "$#" )); do
+
+ if [[ $(echo "$1" | grep "^-d$") != "" ]];
+ then
+ deviceID="$2"
+ shift
+ else
+ makeVars="$makeVars $1"
+ fi
+
+shift
+done
+
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+source $SCRIPT_DIR/chromeos_setup.sh
+
+setup_device $deviceID
+returnVal=$?
+if [ $returnVal != 0 ]
+then
+ exit 1;
+fi
+
+make ${makeVars}
+returnVal=$?
+if [ $returnVal != 0 ]
+then
+ exit 1;
+fi
Property changes on: platform_tools/chromeos/bin/build_skia_in_chroot
___________________________________________________________________
Added: svn:executable
+ *

Powered by Google App Engine
This is Rietveld 408576698