Files
wmaker/bazel/WORKSPACE
T

65 lines
1.4 KiB
Python

# TODO: These include paths were automatically discovered by autotools,
# and they are now hard-coded. As we migrate away from autotools, we
# should find a way to automate discovering them again (or at least make
# them more easily configurable).
new_local_repository(
name = "pango",
path = "/usr/include/pango-1.0",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = glob(['**/*.h'])
)
""",
)
new_local_repository(
name = "glib",
path = "/usr/include/glib-2.0",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = glob(['**/*.h'])
)
""",
)
new_local_repository(
name = "glib_config",
path = "/usr/lib/x86_64-linux-gnu/glib-2.0/include",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = ["glibconfig.h"],
)
""",
)
new_local_repository(
name = "harfbuzz",
path = "/usr/include/harfbuzz",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = glob(['**/*.h']),
)
""",
)
new_local_repository(
name = "freetype2",
path = "/usr/include/freetype2",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = glob(['**/*.h']),
)
""",
)