Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / xwalk / build / android / envsetup.sh
1 #!/bin/bash
2 # Copyright (c) 2013 Intel Corporation. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 SCRIPT_DIR="$(dirname "${BASH_SOURCE:-$0}")"
7
8 . ${SCRIPT_DIR}/../../../build/android/envsetup.sh "$@"
9
10 export PATH=$PATH:${SCRIPT_DIR}/../../../xwalk/build/android
11
12 # The purpose of this function is to do the same as android_gyp(), but calling
13 # gyp_xwalk instead.
14 xwalk_android_gyp() {
15   "${SCRIPT_DIR}/../../../xwalk/gyp_xwalk" --check "$@"
16 }