Main deps.
This commit is contained in:
parent
ff18c055b8
commit
726870be94
1 changed files with 2 additions and 1 deletions
|
@ -151,6 +151,7 @@ py_resources = rule(
|
||||||
|
|
||||||
def py_project(name=None,
|
def py_project(name=None,
|
||||||
main=None,
|
main=None,
|
||||||
|
main_deps=None,
|
||||||
lib_srcs=None,
|
lib_srcs=None,
|
||||||
lib_deps=None,
|
lib_deps=None,
|
||||||
lib_data=None,
|
lib_data=None,
|
||||||
|
@ -210,7 +211,7 @@ def py_project(name=None,
|
||||||
name=name,
|
name=name,
|
||||||
main=main,
|
main=main,
|
||||||
srcs=lib_srcs,
|
srcs=lib_srcs,
|
||||||
deps=lib_deps,
|
deps=(lib_deps or []) + (main_deps or []),
|
||||||
data=lib_data,
|
data=lib_data,
|
||||||
imports=[
|
imports=[
|
||||||
"src/python",
|
"src/python",
|
||||||
|
|
Loading…
Reference in a new issue