Files
MapLibreParticleLab/platform/linux/BUILD.bazel
mwilsnd a5ac21587c Linux CI: Retry failed XOpenDisplay calls and only log errors in coverage run (#1368)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-07-26 16:35:42 +02:00

39 lines
706 B
Python

load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
ICU_FLAGS = [
"-licuuc ",
"-licui18n",
"-licudata",
]
cc_library(
name = "impl",
srcs = [
"src/gl_functions.cpp",
"src/headless_backend_glx.cpp",
],
copts = CPP_FLAGS + MAPLIBRE_FLAGS,
linkopts = [
"-lGL",
"-lglfw",
"-lX11",
"-lsqlite3",
"-luv",
"-lz",
"-lcurl",
"-lpng",
"-ljpeg",
"-lwebp",
] + ICU_FLAGS,
visibility = ["//visibility:public"],
deps = [
"//:mbgl-core",
"//platform/default:mbgl-default",
],
)
sh_binary(
name = "startxwrapper",
srcs = ["xorg/startxwrapper"],
)