diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2018-06-04 17:53:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 17:53:16 +0200 |
commit | 1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c (patch) | |
tree | 254df89394022cf8d5abe6070483887ebd98d6a1 /research | |
parent | 29dc2cce9090d6c92c908116e11373bc7fdc8ad1 (diff) | |
download | brotli-1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c.zip brotli-1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c.tar.gz brotli-1e7ea1d8e61b7cd51149a2dd491bc86ff8ef460c.tar.bz2 |
Inverse bazel project/workspace tree (#677)
* Inverse bazel workspace tree.
Now each subproject directly depends on root (c) project.
This helps to mitigate Bazel bug bazelbuild/bazel#2391; short summary:
Bazel does not work if referenced subproject `WORKSPACE` uses any
repositories that embedding project does not.
Bright side: building C project is much faster;
no need to download closure, go and JDK...
Diffstat (limited to 'research')
-rwxr-xr-x | research/BUILD | 2 | ||||
-rw-r--r-- | research/WORKSPACE | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/research/BUILD b/research/BUILD index 9da08c2..7b7d81b 100755 --- a/research/BUILD +++ b/research/BUILD @@ -40,5 +40,5 @@ cc_binary( name = "brotli_decoder", srcs = ["brotli_decoder.c"], linkstatic = 1, - deps = ["//:brotlidec"], + deps = ["@org_brotli//:brotlidec"], ) diff --git a/research/WORKSPACE b/research/WORKSPACE new file mode 100644 index 0000000..bb0f8ca --- /dev/null +++ b/research/WORKSPACE @@ -0,0 +1,12 @@ +workspace(name = "org_brotli_research") + +local_repository( + name = "org_brotli", + path = "..", +) + +new_local_repository( + name = "divsufsort", + build_file = "BUILD.libdivsufsort", + path = "libdivsufsort", +) |