Add __standalone_mode__ variable to differentiate between build modes

In some cases plugins needs to differentiate the path of dependencies
in gerrit tree and standalone build mode. Provide python variable and
set it to True and False in standalone and in gerrit tree modes.

Change-Id: I437f2c883ed7c0f335896567b5470d15b34512a4
This commit is contained in:
David Ostrovsky 2014-07-21 00:33:06 +02:00 committed by Edwin Kempin
parent 7595f68b52
commit 66186079c2

View File

@ -16,3 +16,5 @@
GERRIT_PLUGIN_API = ['//gerrit-plugin-api:lib']
GERRIT_GWT_API = ['//gerrit-plugin-gwtui/gerrit:gwtui-api']
__standalone_mode__ = False