blob: e2fe8a21e55f3318054c80e36a6d30455c27b1f9 [file] [log] [blame]
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +00001#!/bin/bash -e
sjlee@webrtc.org1fea17d2013-04-18 23:22:02 +00002
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
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +000011# Work in trunk/.
12cd "$(dirname $0)/../.."
sjlee@webrtc.org1fea17d2013-04-18 23:22:02 +000013
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +000014export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0"
15GYP_DEFINES="$GYP_DEFINES OS=ios target_arch=armv7 key_id=\"\""
16export GYP_GENERATORS="ninja"
17export GYP_CROSSCOMPILE=1
sjlee@webrtc.org1fea17d2013-04-18 23:22:02 +000018
kjellander@webrtc.org006acc42013-04-20 13:04:05 +000019echo "@@@BUILD_STEP runhooks@@@"
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +000020gclient runhooks || { echo "@@@STEP_FAILURE@@@"; exit 2; }
sjlee@webrtc.org1fea17d2013-04-18 23:22:02 +000021
kjellander@webrtc.org006acc42013-04-20 13:04:05 +000022echo "@@@BUILD_STEP compile@@@"
fischman@webrtc.orge3de6b12013-08-26 19:31:21 +000023ninja -C out/Debug || { echo "@@@STEP_FAILURE@@@"; exit 2; }
sjlee@webrtc.org1fea17d2013-04-18 23:22:02 +000024
25exit 0