fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame^] | 1 | #!/bin/bash -e |
sjlee@webrtc.org | 1fea17d | 2013-04-18 23:22:02 +0000 | [diff] [blame] | 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 | |
fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame^] | 11 | # Work in trunk/. |
| 12 | cd "$(dirname $0)/../.." |
sjlee@webrtc.org | 1fea17d | 2013-04-18 23:22:02 +0000 | [diff] [blame] | 13 | |
fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame^] | 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 |
sjlee@webrtc.org | 1fea17d | 2013-04-18 23:22:02 +0000 | [diff] [blame] | 18 | |
kjellander@webrtc.org | 006acc4 | 2013-04-20 13:04:05 +0000 | [diff] [blame] | 19 | echo "@@@BUILD_STEP runhooks@@@" |
fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame^] | 20 | gclient runhooks || { echo "@@@STEP_FAILURE@@@"; exit 2; } |
sjlee@webrtc.org | 1fea17d | 2013-04-18 23:22:02 +0000 | [diff] [blame] | 21 | |
kjellander@webrtc.org | 006acc4 | 2013-04-20 13:04:05 +0000 | [diff] [blame] | 22 | echo "@@@BUILD_STEP compile@@@" |
fischman@webrtc.org | e3de6b1 | 2013-08-26 19:31:21 +0000 | [diff] [blame^] | 23 | ninja -C out/Debug || { echo "@@@STEP_FAILURE@@@"; exit 2; } |
sjlee@webrtc.org | 1fea17d | 2013-04-18 23:22:02 +0000 | [diff] [blame] | 24 | |
| 25 | exit 0 |