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

Side by Side Diff: libraries/scons

Issue 12088091: Remove legacy docs and gallery (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 10 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 | « gallery/static/supported_versions.js ('k') | no next file » | 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 readonly SCRIPT_DIR="$(dirname "$0")"
8 readonly SCRIPT_DIR_ABS="$(cd "${SCRIPT_DIR}" ; pwd -P)"
9
10 # NACL_SDK_ROOT must be set.
11 if [ x"${NACL_SDK_ROOT}"x == "xx" ] ; then
12 echo "Error: NACL_SDK_ROOT is not set."
13 exit 1;
14 fi
15
16 # NACL_TARGET_PLATFORM is really the name of a folder with the base dir -
17 # usually NACL_SDK_ROOT - within which the toolchain for the target platform
18 # are found.
19 # Replace the platform with the name of your target platform. For example, to
20 # build applications that target the pepper_17 API, set
21 # NACL_TARGET_PLATFORM="pepper_17"
22 if [ x"${NACL_TARGET_PLATFORM}"x == "xx" ] ; then
23 export NACL_TARGET_PLATFORM="pepper_17"
24 fi
25
26 readonly NACL_PLATFORM_DIR="${NACL_SDK_ROOT}/${NACL_TARGET_PLATFORM}"
27 readonly BASE_SCRIPT="${NACL_PLATFORM_DIR}/third_party/scons-2.0.1/script/scons"
28
29 export SCONS_LIB_DIR="${NACL_PLATFORM_DIR}/third_party/scons-2.0.1/engine"
30 export PYTHONPATH="${NACL_PLATFORM_DIR}/third_party/scons-2.0.1/engine:${NACL_PL ATFORM_DIR}/build_tools"
31 # We have to do this because scons overrides PYTHONPATH and does not preserve
32 # what is provided by the OS. The custom variable name won't be overwritten.
33 export PYMOX="${NACL_PLATFORM_DIR}/third_party/pymox"
34
35 "${BASE_SCRIPT}" --file=build.scons \
36 --site-dir="${NACL_PLATFORM_DIR}/build_tools/nacl_sdk_scons" \
37 $*
38
OLDNEW
« no previous file with comments | « gallery/static/supported_versions.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698