gerrit/bucklets/gerrit_plugin.bucklet
David Ostrovsky 974a947fc8 Buck: Fix typo in gerrit_plugin.bucklet
Typo that was introduced in Ia6cf1bad wasn't discovered for years.
When plugin is trying to add classpath rule:

  java_library(
    name = 'classpath',
    deps = GERRIT_GWT_API + GERRIT_PLUGIN_API + [
      ':<plugin>__plugin',
    ],
  )

then Buck is reporting non-existing rule. Note that in bucklets
the correct constant is defined:

  GERRIT_GWT_API = ['//lib/gerrit:gwtui-api']

Change-Id: Ice8418d27b08a8ee7925a4040c3a18ce5cd553f2
2015-12-23 17:55:11 +01:00

22 lines
711 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_GWT_API = ['//gerrit-plugin-gwtui:gwtui-api']
GERRIT_PLUGIN_API = ['//gerrit-plugin-api:lib']
GERRIT_TESTS = ['//gerrit-acceptance-framework:lib']
STANDALONE_MODE = False