Commit 6dd982c1 authored by sbc's avatar sbc Committed by Commit bot

[NaCl SDK] Update naclports revision used to build gonacl.com examples

This fixed the build of lua and bullet which was
broken by the recent change in PNaCl toolchain
layout.

Review URL: https://codereview.chromium.org/613233002

Cr-Commit-Position: refs/heads/master@{#297436}
parent 5323fc4f
......@@ -13,7 +13,7 @@ include $(NACL_SDK_ROOT)/tools/common.mk
TARGET = NaClAMBullet
LIBS = BulletDynamics BulletCollision LinearMath ppapi pthread
USR_INCLUDE=$(NACL_SDK_ROOT)/toolchain/$(OSNAME)_pnacl/usr/local/include
USR_INCLUDE=$(NACL_SDK_ROOT)/toolchain/$(OSNAME)_pnacl/le32-nacl/local/include
BULLET_INCLUDE=$(USR_INCLUDE)/bullet
CFLAGS = -I$(CURDIR) -I$(BULLET_INCLUDE)
......
......@@ -10,8 +10,8 @@ SCRIPT_DIR="$(cd $(dirname $0) && pwd)"
cd ${SCRIPT_DIR}
OUT_DIR=out
NACLPORTS_URL=https://chromium.googlesource.com/external/naclports
NACLPORTS_SHA=04ba2e1abe8557ef888b653b7a0da974e4734641
NACLPORTS_URL=https://chromium.googlesource.com/external/naclports.git
NACLPORTS_SHA=99f2417ab1a397735b20ccceaa58ffcc166f3fb1
NACLPORTS_DIR=${OUT_DIR}/naclports
NACLAM_URL=https://github.com/johnmccutchan/NaClAMBase
NACLAM_DIR=${OUT_DIR}/NaClAMBase
......
......@@ -5,14 +5,13 @@
set -o nounset
set -o errexit
set -o xtrace
SCRIPT_DIR="$(cd $(dirname $0) && pwd)"
cd ${SCRIPT_DIR}
OUT_DIR=out
NACLPORTS_URL=http://naclports.googlecode.com/svn/trunk/src
NACLPORTS_REV=1290
NACLPORTS_URL=https://chromium.googlesource.com/external/naclports.git
NACLPORTS_REV=99f2417ab1a397735b20ccceaa58ffcc166f3fb1
NACLPORTS_DIR=${OUT_DIR}/naclports
if [ -z "${NACL_SDK_ROOT:-}" ]; then
......@@ -37,24 +36,11 @@ LogExecute() {
$*
}
Clone() {
local url=$1
local dir=$2
local sha=$3
if [ ! -d $dir ]; then
LogExecute git clone $url $dir
else
pushd $dir
LogExecute git fetch origin
popd
fi
pushd $dir
LogExecute git checkout $sha
popd
}
Banner Cloning naclports
if [ -d ${NACLPORTS_DIR} -a ! -d ${NACLPORTS_DIR}/src/.git ]; then
rm -rf ${NACLPORTS_DIR}
fi
if [ ! -d ${NACLPORTS_DIR} ]; then
mkdir -p ${NACLPORTS_DIR}
pushd ${NACLPORTS_DIR}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment