Add run-time plug-in layer support to iOS (#3430)
This commit is contained in:
@@ -4,6 +4,8 @@ load("@npm//:defs.bzl", "npm_link_all_packages")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load(
|
||||
"//bazel:core.bzl",
|
||||
"MLN_LAYER_PLUGIN_HEADERS",
|
||||
"MLN_LAYER_PLUGIN_SOURCE",
|
||||
"MLN_CORE_HEADERS",
|
||||
"MLN_CORE_SOURCE",
|
||||
"MLN_DRAWABLES_GL_HEADERS",
|
||||
@@ -76,14 +78,15 @@ cc_library(
|
||||
# the prefix from the path.
|
||||
cc_library(
|
||||
name = "mbgl-core",
|
||||
srcs = MLN_CORE_SOURCE +
|
||||
srcs = MLN_LAYER_PLUGIN_SOURCE +
|
||||
MLN_CORE_SOURCE +
|
||||
MLN_GENERATED_SHADER_SOURCE +
|
||||
MLN_GENERATED_STYLE_SOURCE + select({
|
||||
":drawable_renderer": MLN_OPENGL_SOURCE + MLN_DRAWABLES_SOURCE + MLN_DRAWABLES_GL_SOURCE,
|
||||
":metal_renderer": MLN_DRAWABLES_SOURCE + MLN_DRAWABLES_MTL_SOURCE,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
hdrs = MLN_CORE_HEADERS + select({
|
||||
hdrs = MLN_LAYER_PLUGIN_HEADERS + MLN_CORE_HEADERS + select({
|
||||
":drawable_renderer": MLN_OPENGL_HEADERS + MLN_DRAWABLES_HEADERS + MLN_DRAWABLES_GL_HEADERS,
|
||||
":metal_renderer": MLN_DRAWABLES_HEADERS + MLN_DRAWABLES_MTL_HEADERS,
|
||||
"//conditions:default": [],
|
||||
|
||||
Reference in New Issue
Block a user