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

Unified Diff: tools/llvm/chrome.cc.arm.sh

Issue 10736073: Rename tools/llvm to tools/trusted_cross_toolchains (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 5 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 | « no previous file | tools/llvm/chrome.cc.host.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/llvm/chrome.cc.arm.sh
===================================================================
--- tools/llvm/chrome.cc.arm.sh (revision 9137)
+++ tools/llvm/chrome.cc.arm.sh (working copy)
@@ -1,38 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# This is wrapper around arm-linux-gnueabi-gcc/g++ so we can easily sneak
-# in some extra flags required for building chrome using the nacl
-# arm trusted TC.
-# This script will be copied into the the arm trusted TC jail
-# and changes behavior slightly depending on what name is used to invoke it.
-
-set -o nounset
-set -o errexit
-
-readonly JAIL=$(dirname $0)
-
-if [[ $(basename $0) == *c++* ]] ; then
- readonly COMPILER=arm-linux-gnueabi-g++-4.5
-else
- readonly COMPILER=arm-linux-gnueabi-gcc-4.5
-fi
-
-# NOTE: the glib-2.0 gdk-pixbuf-2.0 should be inferred via pkg-config
-# but something is not quite right yet with jail setup
-
-${COMPILER} \
- -isystem ${JAIL}/usr/include \
- -I${JAIL}/usr/lib/arm-linux-gnueabi/glib-2.0/include \
- -I${JAIL}/usr/include/gdk-pixbuf-2.0 \
- -Wl,-rpath-link=${JAIL}/usr/lib/arm-linux-gnueabi \
- -Wl,-rpath-link=${JAIL}/usr/lib \
- -Wl,-rpath-link=${JAIL}/lib/arm-linux-gnueabi \
- -L${JAIL}/lib \
- -L${JAIL}/usr/lib \
- -L${JAIL}/lib/arm-linux-gnueabi \
- -L${JAIL}/usr/lib/arm-linux-gnueabi \
- "$@"
« no previous file with comments | « no previous file | tools/llvm/chrome.cc.host.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698