Buck: Cleanup dependencies in CM integration code
Since [1] Buck implicitly adds :foo and :bar in $(exe :foo) and $(location :bar) macros to the dependency list of genrule(). The code base was adjusted to reflect this enhancement in Ie3a9de0b2. In I996b8d2a1 the unneeded dependencies were partially re-added in CM integration code. Re-remove it again. [1] https://github.com/facebook/buck/issues/128 Change-Id: I8d0aaa5c9f7586f04f169f8362709b1fc7b04dcc
This commit is contained in:
parent
bd70bdbd5c
commit
eb430c447c
@ -3,8 +3,7 @@ def js_minify(
|
||||
out,
|
||||
compiler_args = [],
|
||||
srcs = [],
|
||||
generated = [],
|
||||
deps = []):
|
||||
generated = []):
|
||||
cmd = ['$(exe :js_minifier) --js_output_file $OUT'] + compiler_args
|
||||
if srcs:
|
||||
cmd.append('$SRCS')
|
||||
@ -15,6 +14,5 @@ def js_minify(
|
||||
name = name,
|
||||
cmd = ' '.join(cmd),
|
||||
srcs = srcs,
|
||||
deps = deps + generated + [':js_minifier'],
|
||||
out = out,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user