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

Commit 10c62934 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove FlagManager's dependence on librenderengine

libsurfaceflinger_common_defaults previously depended on
librenderengine, but only for a #define in a header file. This prevents
librenderengine from using the FlagManager.

Add a new library for renderengine includes, so FlagManager can access
the define without depending on the entire library.

Bug: 305445199
Bug: 255921628
Test: make
Change-Id: Ibee8581cfc0ac8c4817725bbf1fb12efc744c4c1
parent 79e5f98d
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,13 @@ cc_defaults {
    export_include_dirs: ["include"],
    export_include_dirs: ["include"],
}
}


// Needed by FlagManager to access a #define.
cc_library_static {
    name: "librenderengine_includes",
    local_include_dirs: ["include"],
    export_include_dirs: ["include"],
}

filegroup {
filegroup {
    name: "librenderengine_sources",
    name: "librenderengine_sources",
    srcs: [
    srcs: [
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@ cc_defaults {
        "server_configurable_flags",
        "server_configurable_flags",
    ],
    ],
    static_libs: [
    static_libs: [
        "librenderengine",
        "librenderengine_includes",
    ],
    ],
    srcs: [
    srcs: [
        "FlagManager.cpp",
        "FlagManager.cpp",