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.
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."
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"
16 echo To build use: ninja -C out/Default
17 echo Works with individual targets too: ninja -C out/Default tizen_notification
19 gyp -D extension_build_type=Debug $@ --depth=. tizen-wrt.gyp