diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2016-08-23 14:40:33 +0200 |
---|---|---|
committer | Eugene Kliuchnikov <eustas@google.com> | 2016-08-23 14:40:33 +0200 |
commit | 81480011581d1bb40e2ed26566a95d060f2767b3 (patch) | |
tree | f340e29b31e826177c3438f9aecf3c293356683b /BUILD | |
parent | 2032f41ffa667ae6de4f3936531586c914240fe1 (diff) | |
download | brotli-81480011581d1bb40e2ed26566a95d060f2767b3.zip brotli-81480011581d1bb40e2ed26566a95d060f2767b3.tar.gz brotli-81480011581d1bb40e2ed26566a95d060f2767b3.tar.bz2 |
Move "public" to "include/brotli"
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 32 |
1 files changed, 13 insertions, 19 deletions
@@ -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( |