Remove legacy renderer from source, build files and CI (#3384)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
|
||||
load("//bazel:flags.bzl", "CPP_FLAGS", "MAPLIBRE_FLAGS")
|
||||
|
||||
cc_library(
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user