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

Side by Side Diff: tools/llvm/chrome.cc.host.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/llvm/chrome.cc.arm.sh ('k') | tools/llvm/packagelist.amd64.crosstool » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 #
3 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # This is wrapper around gcc/g++ so we can easily sneak in some extra
8 # flags required for building chrome using the nacl arm trusted TC.
9 # This script will be copied into the the arm trusted TC jail
10 # and changes behavior slightly depending on what name is used to invoke it.
11
12 # NOTE: this script should not be necessary, c.f. below
13
14 set -o nounset
15 set -o errexit
16
17 if [[ $(basename $0) == *c++* ]] ; then
18 readonly COMPILER=g++
19 else
20 readonly COMPILER=gcc
21 fi
22
23 # NOTE: the host compiler seems to be invoked with flags from the
24 # target compiler which is wrong. We add the hacks below to work
25 # around this
26
27 ${COMPILER} -I/usr/lib/glib-2.0/include "$@"
OLDNEW
« no previous file with comments | « tools/llvm/chrome.cc.arm.sh ('k') | tools/llvm/packagelist.amd64.crosstool » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698