Hide certain header files from the cc_library().
authorZhongming Qu <qzmfranklin@gmail.com>
Thu, 14 Dec 2017 08:51:26 +0000 (00:51 -0800)
committerZhongming Qu <qzmfranklin@gmail.com>
Thu, 14 Dec 2017 08:58:33 +0000 (00:58 -0800)
commite6e2e1372aeb3f6ac6ca5f4a3d72bad8dce3c724
tree8bc674c8d9618ab5092aaf1ec6a0cc0e94cec367
parent004fc8cb8ed91d263670f7a96ba36cf32edaad8c
Hide certain header files from the cc_library().

This commit addresses a few issues:

    1.  No longer leak config.h in a way similar to
            https://github.com/gflags/gflags/issues/233
        The solution of prefixing the path by 'glog_internal' is modified from
            https://github.com/gflags/gflags/issues/234

    2.  No longer expose internal headers.

    3.  Replace PACKAGE_NAME with native.package_name()

    4.  Uers can choose namespaces via the newly added 'namespace' keyword.

    5.  Replace glob with explicitly listing of files.

    6.  Make the genrules more compact using pythonic list construction.
BUILD
bazel/glog.bzl