Simplify buck build eclipse by removing $OUT and $DEPS

It does not appear to be necessary to include either $OUT or $DEPS
in the command line when building the project and classpath files
for Eclipse. Omit these as $DEPS is starting to be deprecated by
Buck and will eventually disappear.

Change-Id: I40f9a357dfa8114efaf0212bd1ff4cb51197b67f
This commit is contained in:
Shawn Pearce
2013-08-14 16:25:58 -07:00
parent abb43dd89f
commit 71ab2f0f63
3 changed files with 7 additions and 12 deletions

View File

@@ -38,26 +38,26 @@ java_library(
genrule(
name = '_project',
cmd = '$(exe :gen_project) $OUT',
cmd = '$(exe :gen_project)',
deps = [':gen_project'],
out = 'project',
out = '__fake.project__',
)
genrule(
name = '_classpath',
cmd = '$(exe :gen_classpath) $OUT $DEPS',
cmd = '$(exe :gen_classpath)',
deps = [
':classpath',
':gen_classpath',
],
out = 'classpath',
out = '__fake.classpath__',
)
genrule(
name = '_classpath_nocompile',
cmd = '$(exe :gen_classpath)',
deps = [':gen_classpath'],
out = '__fake.eclipse__',
out = '__fake.classpath__',
)
python_binary(