#!/bin/bash # Copyright (c) 2013 Intel Corporation. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. if [ ! `which gyp` ]; then echo -e "\nPlease make sure gyp is in your PATH. It is usually found at CHROMIUM_SRC/tools/gyp." exit 1 fi if [ $# -eq 1 ] && [ $1 == "--desktop" ]; then echo -e "\n--desktop is deprecated. Do nothing. Build system can determin which is desktop or mobile automatically.\n" exit 1 fi echo To build use: ninja -C out/Default echo Works with individual targets too: ninja -C out/Default tizen_notification gyp -D extension_build_type=Debug $@ --depth=. tizen-wrt.gyp