Merge "Add "target_suffix" to gerrit_plugin()"

This commit is contained in:
Saša Živkov 2015-10-21 13:37:45 +00:00 committed by Gerrit Code Review
commit b0019cdcbb

View File

@ -132,7 +132,8 @@ def gerrit_plugin(
manifest_file = None,
manifest_entries = [],
type = 'plugin',
visibility = ['PUBLIC']):
visibility = ['PUBLIC'],
target_suffix = ''):
tb = traceback.extract_stack()
calling_BUCK_file = tb[-2][0]
calling_BUCK_dir = os.path.abspath(os.path.dirname(calling_BUCK_file))
@ -202,7 +203,7 @@ def gerrit_plugin(
)
java_binary(
name = name,
name = name + target_suffix,
manifest_file = ':%s__manifest' % name,
merge_manifests = False,
deps = [