Remove unnecessary dependencies
Since [1] dependencies to targets used in $(location //path/to:target) macro are added implicitly. Similar build rules simplification was applied in I6c8ddb40ef and in Id98257e111. [1] https://github.com/facebook/buck/issues/128 Change-Id: Ife9717f37a9cdf55358da61b7e9df26fdf23c501
This commit is contained in:
committed by
David Ostrovsky
parent
f72029fb87
commit
cf6f4a4eb0
@@ -25,7 +25,6 @@ java_library(
|
||||
genrule(
|
||||
name = 'query_link',
|
||||
cmd = 'ln -s $(location :lib) $OUT',
|
||||
deps = [':lib'],
|
||||
out = 'query_parser.jar',
|
||||
)
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ def prolog_cafe_library(
|
||||
genrule(
|
||||
name = name + '__ln',
|
||||
cmd = 'ln -s $(location :%s__lib) $OUT' % name,
|
||||
deps = [':%s__lib' % name],
|
||||
out = name + '.jar',
|
||||
)
|
||||
prebuilt_jar(
|
||||
|
||||
Reference in New Issue
Block a user