After this commit --desktop will no longer be supported. One should
pass -D type=desktop instead. The default (if not passing any -D type)
will fallback to mobile.
exit 1
fi
-TYPE=mobile
if [ $# -eq 1 ] && [ $1 == "--desktop" ]; then
- TYPE=desktop
+ echo -e "\n--desktop is deprecated. Please use '-D type=desktop' instead.\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 build=Debug -D type=$TYPE --depth=. tizen-wrt.gyp
+gyp -D build=Debug $@ --depth=. tizen-wrt.gyp
{
+ 'variables': { 'type%': 'mobile' },
'target_defaults': {
'conditions': [
['type != "mobile"', {