1 #!/bin/bash -e 2 3 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 4 # 5 # Use of this source code is governed by a BSD-style license 6 # that can be found in the LICENSE file in the root of the source 7 # tree. An additional intellectual property rights grant can be found 8 # in the file PATENTS. All contributing project authors may 9 # be found in the AUTHORS file in the root of the source tree. 10 11 # Work in trunk/. 12 cd "$(dirname $0)/../.." 13 14 export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0" 15 GYP_DEFINES="$GYP_DEFINES OS=ios target_arch=armv7 key_id=\"\"" 16 export GYP_GENERATORS="ninja" 17 export GYP_CROSSCOMPILE=1 18 19 echo "@@@BUILD_STEP runhooks@@@" 20 gclient runhooks || { echo "@@@STEP_FAILURE@@@"; exit 2; } 21 22 echo "@@@BUILD_STEP compile@@@" 23 ninja -C out/Debug || { echo "@@@STEP_FAILURE@@@"; exit 2; } 24 25 exit 0 26