Move download and download_sources to //tools
These are already named using the alias in the .buckconfig. Moving them down to tools allows their program to drop a visbility rule, and shortens the top level file a bit. Change-Id: I4193249c02850cb7aca3bf7fab81113c5f7b7d8b
This commit is contained in:
parent
bece831d3c
commit
e31a767d39
@ -2,8 +2,8 @@
|
|||||||
api = //:api
|
api = //:api
|
||||||
api_deploy = //tools/maven:deploy
|
api_deploy = //tools/maven:deploy
|
||||||
api_install = //tools/maven:install
|
api_install = //tools/maven:install
|
||||||
download = //:download
|
download = //tools:download
|
||||||
download_sources = //:download_sources
|
download_sources = //tools:download_sources
|
||||||
gerrit = //:gerrit
|
gerrit = //:gerrit
|
||||||
eclipse = //tools/eclipse:eclipse
|
eclipse = //tools/eclipse:eclipse
|
||||||
eclipse_project = //tools/eclipse:eclipse_project
|
eclipse_project = //tools/eclipse:eclipse_project
|
||||||
|
14
BUCK
14
BUCK
@ -72,17 +72,3 @@ java_binary(
|
|||||||
] + [d + '-src' for d in PLUGIN_API],
|
] + [d + '-src' for d in PLUGIN_API],
|
||||||
visibility = ['//tools/maven:'],
|
visibility = ['//tools/maven:'],
|
||||||
)
|
)
|
||||||
|
|
||||||
genrule(
|
|
||||||
name = 'download',
|
|
||||||
cmd = '$(exe //tools:download_all)',
|
|
||||||
deps = ['//tools:download_all'],
|
|
||||||
out = '__fake.download__',
|
|
||||||
)
|
|
||||||
|
|
||||||
genrule(
|
|
||||||
name = 'download_sources',
|
|
||||||
cmd = '$(exe //tools:download_all) --src',
|
|
||||||
deps = ['//tools:download_all'],
|
|
||||||
out = '__fake.download__',
|
|
||||||
)
|
|
||||||
|
15
tools/BUCK
15
tools/BUCK
@ -1,7 +1,20 @@
|
|||||||
|
genrule(
|
||||||
|
name = 'download',
|
||||||
|
cmd = '$(exe :download_all)',
|
||||||
|
deps = [':download_all'],
|
||||||
|
out = '__fake.download__',
|
||||||
|
)
|
||||||
|
|
||||||
|
genrule(
|
||||||
|
name = 'download_sources',
|
||||||
|
cmd = '$(exe :download_all) --src',
|
||||||
|
deps = [':download_all'],
|
||||||
|
out = '__fake.download__',
|
||||||
|
)
|
||||||
|
|
||||||
python_binary(
|
python_binary(
|
||||||
name = 'download_all',
|
name = 'download_all',
|
||||||
main = 'download_all.py',
|
main = 'download_all.py',
|
||||||
visibility = ['PUBLIC'],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
python_binary(
|
python_binary(
|
||||||
|
Loading…
Reference in New Issue
Block a user