Skip to content

Instantly share code, notes, and snippets.

@kanru
Last active October 11, 2015 03:48
Show Gist options
  • Save kanru/3798408 to your computer and use it in GitHub Desktop.
Save kanru/3798408 to your computer and use it in GitHub Desktop.
B2G user config
# -*- mode: sh -*-
GECKO_PATH=/home/kanru/zone2/mozilla/b2g18
export REMOTE_DEBUGGER=1
#export B2G_DEBUG=y
#export B2G_NOOPT=y
#export B2G_PROFILING=1
GECKO_OBJDIR=${GECKO_OBJDIR}-`basename $GECKO_PATH`
if [ ! -z $B2G_DEBUG ]; then
GECKO_OBJDIR=${GECKO_OBJDIR}-debug
fi
if [ ! -z $B2G_NOOPT ]; then
GECKO_OBJDIR=${GECKO_OBJDIR}-noopt
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment