cc_library(
    name = "lib_ccx",
    # zvbi has been modified a lot (it has a decoder context) so we can't
    # really treat as a 3rd party library
    srcs = glob (["*.c", "zvbi/*.c"]),
    hdrs = glob (["*.h", "zvbi/*.h", "*.xbm"]) + [ "//src:ccextractor.h" ],
    visibility = ["//visibility:public"],
    deps = [
            "//src/thirdparty/libpng:libpng",
            "//src/thirdparty/freetype:freetype",
            "//src/thirdparty/lib_hash:lib_hash",
            "//src/thirdparty/utf8proc:utf8proc",
    ],
    includes = [ "thirdparty/libpng", "." ,
                 "thirdparty/freetype/include" ],
    copts = [ "-Isrc/thirdparty/libpng",
              "-Isrc/", 
              "-Isrc/thirdparty/freetype",
              "-Isrc/thirdparty/lib_hash",
              "-Isrc/thirdparty/freetype/include",
              "-Isrc/thirdparty/"
             ]
)


