gerrit/bucklets/gerrit_plugin.bucklet
David Ostrovsky 44d0564a1a Buck: Allow to co-exist in tree and standalone plugins
To allow standalone plugins to be built with Bucklets project we need
to be able to include the //bucklets/gerrit_plugin.bucklet from both
in tree and standalone build.  To achieve this create a dummy
bucklets/gerrit_plugin.bucklet file in Gerrit tree, as it doesn't suppose
to have any effects in tree build.

Change-Id: I885199a66cc71a756176f7edaca5f2cf0509e827
2014-06-11 06:09:31 +00:00

16 lines
531 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.