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:
David Pursehouse
2015-09-16 14:29:18 +09:00
committed by David Ostrovsky
parent f72029fb87
commit cf6f4a4eb0
2 changed files with 0 additions and 2 deletions

View File

@@ -25,7 +25,6 @@ java_library(
genrule(
name = 'query_link',
cmd = 'ln -s $(location :lib) $OUT',
deps = [':lib'],
out = 'query_parser.jar',
)

View File

@@ -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(