Files
MapLibreParticleLab/platform/ios/test/common/BUILD.bazel
Alex Polvi 14cc0297b9 Update bazel docs in getting started and add example code (#1342)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-12 17:38:15 +02:00

50 lines
1.0 KiB
Python

load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application")
load("//platform/ios:bazel/config.bzl", "BUNDLE_ID_PREFIX")
cc_library(
name = "ios_test_runner_lib",
srcs = [
"ios_test_runner.hpp",
],
includes = [
".",
],
visibility = [
"//render-test/ios:__pkg__",
],
)
objc_library(
name = "render_test_app_srcs",
srcs = [
"AppDelegate.h",
"AppDelegate.m",
"main.m",
],
data = [
"LaunchScreen.storyboard",
"Main.storyboard",
],
deps = [
"ios_test_runner_lib",
],
)
ios_application(
name = "RenderTestApp",
bundle_id = "{}.maplibre.RenderTestApp".format(BUNDLE_ID_PREFIX),
families = ["iphone"],
infoplists = [
"//render-test/ios:Info.plist",
],
minimum_os_version = "12.0",
provisioning_profile = "//platform/ios:xcode_profile",
visibility = [
"//visibility:public",
],
deps = [
"render_test_app_srcs",
"//render-test/ios:render_test_ios_src",
],
)