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:
parent
7595f68b52
commit
66186079c2
@ -16,3 +16,5 @@
|
||||
|
||||
GERRIT_PLUGIN_API = ['//gerrit-plugin-api:lib']
|
||||
GERRIT_GWT_API = ['//gerrit-plugin-gwtui/gerrit:gwtui-api']
|
||||
|
||||
__standalone_mode__ = False
|
||||
|
Loading…
Reference in New Issue
Block a user