Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4169c88 authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Leon Scroggins
Browse files

Use a mini version of libskia in renderengine

Bug: 167743764
Test: ls -lh surfaceflinger

With this change, surfaceflinger is 6.0M, down from 7.4M.

Depends on https://skia-review.googlesource.com/c/skia/+/402257

Change-Id: I4161315901a8ea55ae4851eb09508bf28795b551
parent 9e8dd09f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ cc_library_static {
    include_dirs: [
        "external/skia/src/gpu",
    ],
    whole_static_libs: ["libskia"],
    whole_static_libs: ["libskia_renderengine"],
    lto: {
        thin: true,
    },
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ cc_defaults {
    name: "libsurfaceflinger_defaults",
    defaults: [
        "surfaceflinger_defaults",
        "skia_deps",
        "skia_renderengine_deps",
    ],
    cflags: [
        "-DLOG_TAG=\"SurfaceFlinger\"",