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

Unified Diff: platform_tools/chromeos/bin/chromeos_setup.sh

Issue 1926163002: Delete ChromeOS code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/chromeos/bin/chromeos_make ('k') | tools/buildbot_spec.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/chromeos/bin/chromeos_setup.sh
diff --git a/platform_tools/chromeos/bin/chromeos_setup.sh b/platform_tools/chromeos/bin/chromeos_setup.sh
deleted file mode 100755
index 41267ecb0b3e6d7fb46b5d4b5d98bf79335e7c06..0000000000000000000000000000000000000000
--- a/platform_tools/chromeos/bin/chromeos_setup.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-# Set up the environment to build Skia for ChromeOS.
-###############################################################################
-# Copyright 2015 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-###############################################################################
-
-function exportVar {
- NAME=$1
- VALUE=$2
- echo export $NAME=\"$VALUE\"
- export $NAME="$VALUE"
-}
-
-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
-# Helper function to configure the GYP defines to the appropriate values
-# based on the target device.
-setup_device() {
- # Setup the build variation depending on the target device
- TARGET_DEVICE="${SDK_BOARD}"
-
- if [ -z "$TARGET_DEVICE" ]; then
- echo "ERROR: No target device specified!"
- return 1
- fi
-
- DEFINES="OS=linux host_os=linux skia_os=chromeos skia_gpu=0"
-
- case $TARGET_DEVICE in
- link)
- DEFINES="${DEFINES} skia_arch_type=x86_64"
- GENERIC_BOARD_TYPE="amd64-generic"
- ;;
- daisy)
- DEFINES="${DEFINES} skia_arch_type=arm arm_version=7 arm_neon=1"
- # TODO(borenet): We have to define skia_warnings_as_errors=0 for the arm
- # build, which throws lots of "mangling of va_list has changed" warnings.
- DEFINES="${DEFINES} skia_warnings_as_errors=0"
- GENERIC_BOARD_TYPE="arm-generic"
- ;;
- *)
- echo -n "ERROR: unknown device specified ($TARGET_DEVICE), valid values: "
- echo "x86-alex link daisy"
- return 1;
- ;;
- esac
-
- echo "The build is targeting the device: $TARGET_DEVICE"
-
- exportVar GENERIC_BOARD_TYPE ${GENERIC_BOARD_TYPE}
- exportVar GYP_DEFINES "$DEFINES"
- exportVar GYP_GENERATORS "ninja"
- exportVar GYP_GENERATOR_FLAGS ""
- SKIA_OUT=${SKIA_OUT:-out}
- exportVar SKIA_OUT "${SKIA_OUT}/config/chromeos-${TARGET_DEVICE}"
- exportVar builddir_name "."
-}
« no previous file with comments | « platform_tools/chromeos/bin/chromeos_make ('k') | tools/buildbot_spec.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698