9e55c585b5a5f25668e098f7b7b728781a3186f4
[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 unset CHROMIUM_GYP_FILE
11
12 export PATH=$PATH:${CHROME_SRC}/xwalk/build/android
13
14 xwalk_android_gyp() {
15   echo "GYP_GENERATORS set to '$GYP_GENERATORS'"
16   (
17     "${CHROME_SRC}/xwalk/gyp_xwalk" --check "$@"
18   )
19 }