format Bazel files with buildifier (#3756)

This commit is contained in:
Bart Louwers
2025-08-26 00:27:13 +02:00
committed by GitHub
parent 7838327ed7
commit 8bb12ed501
8 changed files with 14 additions and 13 deletions

View File

@@ -267,12 +267,12 @@ objc_library(
objc_library(
name = "iosapp",
srcs = [
"//platform/darwin:app/CustomStyleLayerExample.h",
"//platform/darwin:app/CustomStyleLayerExample.m",
"//platform/darwin:app/PluginLayerExample.h",
"//platform/darwin:app/PluginLayerExample.mm",
"//platform/darwin:app/PluginLayerExampleMetalRendering.h",
"//platform/darwin:app/PluginLayerExampleMetalRendering.mm",
"//platform/darwin:app/CustomStyleLayerExample.h",
"//platform/darwin:app/CustomStyleLayerExample.m",
"//platform/ios:ios_app_srcs",
],
defines = ["GLES_SILENCE_DEPRECATION"],

View File

@@ -172,9 +172,9 @@ swift_library(
testonly = True,
srcs = glob(["test/*.swift"]),
data = [
"app/PluginLayerTestStyle.json",
"test/amsterdam.geojson",
"test/one-liner.json",
"app/PluginLayerTestStyle.json",
],
visibility = [
"//platform/ios/test:__pkg__",

View File

@@ -165,8 +165,7 @@ MLN_DARWIN_PRIVATE_HEADERS = [
"src/MLNVectorTileSource_Private.h",
"src/NSExpression+MLNPrivateAdditions.h",
"src/NSPredicate+MLNPrivateAdditions.h",
"src/MLNPluginStyleLayer_Private.h"
"src/MLNPluginStyleLayer_Private.h",
]
MLN_DARWIN_PUBLIC_OBJCPP_SOURCE = [
@@ -222,8 +221,7 @@ MLN_DARWIN_PUBLIC_OBJCPP_SOURCE = [
"src/NSPredicate+MLNAdditions.mm",
"src/NSValue+MLNStyleAttributeAdditions.mm",
"src/MLNPluginLayer.mm",
"src/MLNPluginStyleLayer.mm"
"src/MLNPluginStyleLayer.mm",
]
MLN_DARWIN_PUBLIC_OBJCPP_CUSTOM_DRAWABLE_SOURCE = [
"src/MLNCustomDrawableStyleLayer_Private.h",

View File

@@ -4,7 +4,7 @@ load("@rules_apple//apple:apple.bzl", "apple_static_xcframework", "apple_xcframe
load("@rules_apple//apple:ios.bzl", "ios_application", "ios_framework")
load("@rules_apple//apple:resources.bzl", "apple_resource_bundle")
load("@rules_apple//apple:versioning.bzl", "apple_bundle_version")
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
load(
"@rules_xcodeproj//xcodeproj:defs.bzl",
"top_level_target",

View File

@@ -11,7 +11,7 @@ MLN_IOS_SDK_HEADERS = [
"src/MLNUserLocation.h",
"src/MLNUserLocationAnnotationView.h",
"src/MLNUserLocationAnnotationViewStyle.h",
"src/MLNScaleBar.h"
"src/MLNScaleBar.h",
]
MLN_IOS_PUBLIC_HEADERS = [

View File

@@ -1,4 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
ICU_FLAGS = [
@@ -48,7 +49,7 @@ genrule(
$$(pkg-config --variable=libdir icu-uc)/libicuuc.a \
$$(pkg-config --variable=libdir icu-uc)/libicudata.a \
$$(pkg-config --variable=libdir icu-i18n)/libicui18n.a
)"""
)""",
)
sh_binary(