Merge pull request #348 from sragavan/mediaserver-api
[platform/framework/web/tizen-extensions-crosswalk.git] / configure
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 if [ ! `which gyp` ]; then
7    echo -e "\nPlease make sure gyp is in your PATH. It is usually found at CHROMIUM_SRC/tools/gyp."
8    exit 1
9 fi
10
11 if [ $# -eq 1 ] && [ $1 == "--desktop" ]; then
12    echo -e "\n--desktop is deprecated. Do nothing. Build system can determin which is desktop or mobile automatically.\n"
13    exit 1
14 fi
15
16 echo To build use: ninja -C out/Default
17 echo Works with individual targets too: ninja -C out/Default tizen_notification
18
19 gyp -D extension_build_type=Debug $@ --depth=. tizen-wrt.gyp