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

Side by Side Diff: build_tools/naclports.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 11 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 | « build_tools/nacl_env.sh ('k') | ports/DevIL/build.sh » ('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 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 #
6 # Executable entry point for building nacl ports.
7 # This script must be run from the indivdual port directory (containing
8 # pkg_info and build.sh). Most of the code and heavy lifting is in
9 # common.sh.
10
11 readonly SCRIPT_DIR=$(cd "$(dirname "$BASH_SOURCE")" ; pwd)
12
13 if [ ! -f pkg_info ]; then
14 echo "No pkg_info found in current directory"
15 exit 1
16 fi
17 source pkg_info
18
19 source ${SCRIPT_DIR}/common.sh
20
21 if [ -f build.sh ]; then
22 source build.sh
23 fi
24
25 NaclportsMain "$@"
OLDNEW
« no previous file with comments | « build_tools/nacl_env.sh ('k') | ports/DevIL/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698