aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-08-23 14:40:33 +0200
committerEugene Kliuchnikov <eustas@google.com>2016-08-23 14:40:33 +0200
commit81480011581d1bb40e2ed26566a95d060f2767b3 (patch)
treef340e29b31e826177c3438f9aecf3c293356683b /BUILD
parent2032f41ffa667ae6de4f3936531586c914240fe1 (diff)
downloadbrotli-81480011581d1bb40e2ed26566a95d060f2767b3.zip
brotli-81480011581d1bb40e2ed26566a95d060f2767b3.tar.gz
brotli-81480011581d1bb40e2ed26566a95d060f2767b3.tar.bz2
Move "public" to "include/brotli"
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/BUILD b/BUILD
index 75275d3..c0ac6d8 100644
--- a/BUILD
+++ b/BUILD
@@ -23,7 +23,7 @@ STRICT_C_OPTIONS = [
filegroup(
name = "public_headers",
- srcs = glob(["public/*.h"]),
+ srcs = glob(["include/brotli/*.h"]),
)
filegroup(
@@ -56,40 +56,34 @@ filegroup(
srcs = glob(["enc/*.c"]),
)
+cc_inc_library(
+ name = "brotli",
+ hdrs = [":public_headers"],
+ prefix = "include",
+)
+
cc_library(
name = "brotli_common",
srcs = [":common_sources"],
- hdrs = [
- ":common_headers",
- ":public_headers",
- ],
+ hdrs = [":common_headers"],
+ deps = [":brotli"],
copts = STRICT_C_OPTIONS,
)
cc_library(
name = "brotli_dec",
srcs = [":dec_sources"],
- hdrs = [
- ":dec_headers",
- ":public_headers",
- ],
+ hdrs = [":dec_headers"],
copts = STRICT_C_OPTIONS,
- deps = [
- ":brotli_common",
- ],
+ deps = [":brotli_common"],
)
cc_library(
name = "brotli_enc",
srcs = [":enc_sources"],
- hdrs = [
- ":enc_headers",
- ":public_headers",
- ],
+ hdrs = [":enc_headers"],
copts = STRICT_C_OPTIONS,
- deps = [
- ":brotli_common",
- ],
+ deps = [":brotli_common"],
)
cc_binary(