forked from maplibre/maplibre-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
48 lines (46 loc) · 1.11 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
# This is defined by both
# platform/default/filesource-files.json
# and
# src/core-files.json
# because they have dependencies on each other
cc_library(
name = "mbgl-core",
srcs = glob(
[
"src/**/*.cpp",
"src/**/*.hpp",
],
allow_empty = False,
),
hdrs = glob(
[
"include/**/*.hpp",
],
allow_empty = False,
),
copts = CPP_FLAGS + MAPLIBRE_FLAGS,
includes = [
"include",
"src",
],
local_defines = [
r"MBGL_VERSION_REV=\"standalone\"",
],
visibility = ["//visibility:public"],
deps = [
"//vendor:boost",
"//vendor:csscolorparser",
"//vendor:earcut.hpp",
"//vendor:eternal",
"//vendor:icu",
"//vendor:mapbox-base",
"//vendor:parsedate",
"//vendor:polylabel",
"//vendor:protozero",
"//vendor:unique_resource",
"//vendor:vector-tile",
"//vendor:wagyu",
],
)
exports_files(["LICENSE.md"], visibility = ["//visibility:public"])