Remove legacy renderer from source, build files and CI (#3384)

This commit is contained in:
Bart Louwers
2025-04-15 19:48:31 +02:00
committed by GitHub
parent fbfc3c5b12
commit 88fd774e67
130 changed files with 279 additions and 3139 deletions

View File

@@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
cc_library(

View File

@@ -35,7 +35,6 @@ android {
externalNativeBuild {
cmake {
arguments("-DANDROID_STL=c++_static")
arguments("-DMLN_LEGACY_RENDERER=OFF", "-DMLN_DRAWABLE_RENDERER=ON")
targets.add("mbgl-render-test-runner")
}
}

View File

@@ -1,5 +1,6 @@
load("@rules_apple//apple:ios.bzl", "ios_unit_test")
load("@rules_apple//apple:resources.bzl", "apple_resource_bundle")
load("@rules_cc//cc:defs.bzl", "objc_library")
load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
apple_resource_bundle(

View File

@@ -152,11 +152,7 @@ struct TestMetadata {
// error message: "Failed to find expectations for..., to prevent
// unit test error by missing metric.json, can turn on 'ignoreProbing'
// to prevent the unit test fail, and just verify the render result.
#if MLN_LEGACY_RENDERER
bool ignoreProbing = false;
#else
bool ignoreProbing = true;
#endif
mbgl::Size size{512u, 512u};
float pixelRatio = 1.0f;