
Expose variable for plugin API that can be used from plugin build. The path to plugin API artifacts is different between in tree and standalone mode. To support the build that works for both mode, the plugin API vars can be used to reference the plugin API. That way this works for both modes: in gerrit tree and standalone. Change-Id: Ia6cf1bad769f339be815b81ab528c8ca774e2f85
19 lines
640 B
Plaintext
19 lines
640 B
Plaintext
#
|
|
# Dummy to make the co-existence of core and standalone plugins possible.
|
|
# Intentionaly left empty as this doesn't suppose to have any side effects
|
|
# in tree build, i. e.:
|
|
#
|
|
# cookbook-plugin/BUCK include this line:
|
|
# include_defs('//bucklets/gerrit_plugin.bucklet')
|
|
#
|
|
# When executing from the Gerrit tree:
|
|
# buck build plugins/cookbook-plugin
|
|
#
|
|
# this line has no effect.
|
|
#
|
|
# When compiling from standalone cookbook-plugin, bucklets directory points
|
|
# to cloned bucklets library that includes real gerrit_plugin.bucklet code.
|
|
|
|
GERRIT_PLUGIN_API = ['//gerrit-plugin-api:lib']
|
|
GERRIT_GWT_API = ['//gerrit-plugin-gwtui/gerrit:gwtui-api']
|