Merge "Add "target_suffix" to gerrit_plugin()"
This commit is contained in:
commit
b0019cdcbb
@ -132,7 +132,8 @@ def gerrit_plugin(
|
|||||||
manifest_file = None,
|
manifest_file = None,
|
||||||
manifest_entries = [],
|
manifest_entries = [],
|
||||||
type = 'plugin',
|
type = 'plugin',
|
||||||
visibility = ['PUBLIC']):
|
visibility = ['PUBLIC'],
|
||||||
|
target_suffix = ''):
|
||||||
tb = traceback.extract_stack()
|
tb = traceback.extract_stack()
|
||||||
calling_BUCK_file = tb[-2][0]
|
calling_BUCK_file = tb[-2][0]
|
||||||
calling_BUCK_dir = os.path.abspath(os.path.dirname(calling_BUCK_file))
|
calling_BUCK_dir = os.path.abspath(os.path.dirname(calling_BUCK_file))
|
||||||
@ -202,7 +203,7 @@ def gerrit_plugin(
|
|||||||
)
|
)
|
||||||
|
|
||||||
java_binary(
|
java_binary(
|
||||||
name = name,
|
name = name + target_suffix,
|
||||||
manifest_file = ':%s__manifest' % name,
|
manifest_file = ':%s__manifest' % name,
|
||||||
merge_manifests = False,
|
merge_manifests = False,
|
||||||
deps = [
|
deps = [
|
||||||
|
Loading…
Reference in New Issue
Block a user