Closed solomatov closed 5 years ago
It seems that the problem is related to the fact that I didn't copy pasted everything from Elemental's workspace into mine. Is there a way to work this around?
It seems that the problem is lack of support for hierarchical workspaces in bazel: https://github.com/bazelbuild/bazel/issues/1943
It's now working. we need add that in your WORKSPACE:
load("//build_defs:repository.bzl", "load_elemental2_repo_deps")
load_elemental2_repo_deps()
load("//build_defs:workspace.bzl", "setup_elemental2_workspace")
setup_elemental2_workspace()
The only problem is if you use bazelbuild/rules_closure. Those rules embed their own version of extern files that are not necessarily synced with version used by elemental.
Please follow the instructions in the README: https://github.com/google/elemental2#bazel-dependencies
Here's the repo: https://github.com/solomatov/j2cl-sandbox
When I run it, I got the following error: