build/print_mk_add_options.sh
author Philippe M. Chiasson <gozer@mozilla.com>
Mon, 20 Jun 2011 16:01:36 -0400
changeset 8202 0f79491664e9d3dabf1ff563e98174fe1aa262c0
child 8526 1fe64d255b2b0c733ad9610ba43b4ed1b1d20585
permissions -rwxr-xr-x
Bug 656049 - teach comm-central client.mk to invoke client.py. r=Standard8 - Adds a new make co|checkout target to run client.py - Adds support for: mk_add_options CLIENT_PY_ARGS="--verbose --skip-venkman" in .mozconfig to control what arguments to pass to client.py - Adds support for: mk_add_options ALWAYS_RUN_CLIENT_PY=1 in .mozconfig to control if client.py should pretty much always be invoked during make invocations, or limit itself to being invoked explicitely via make checkout

#!/bin/sh

ac_add_options() {
  return
}

mk_add_options() {
  echo "mk_add_options:" "$@"
}

MOZCONFIG=${MOZCONFIG:-./.mozconfig}
topsrcdir=${topsrcdir:-$PWD}

source $MOZCONFIG