bazel/external/fontconfig/BUILD.bazel
raw| 1 | load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 2 | |
| 3 | # We currently do not build fontconfig from source, but dynamically link against a precompiled |
| 4 | # version. This precompiled version is downloaded as part of the hermetic toolchain. |
| 5 | # |
| 6 | # Instead of inlining this linkopts setting, we have this as its own rule so we can link |
| 7 | # against a different target when rolling into G3. |
| 8 | cc_library( |
| 9 | name = "fontconfig", |
| 10 | linkopts = ["-lfontconfig"], |
| 11 | visibility = ["//:__subpackages__"], |
| 12 | ) |