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

Commit aaef6c09 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Build with upstream lld: Fix incorrect static dependencies

Bug: http://b/197965342

Remove unnecessary `static_libs` dependencies or move them to
`shared_libs` to build with upstream LLD.  See b/197965342#comment1
(internal) for rationale.  Some info is available externally at
https://github.com/llvm/llvm-project/issues/42899.

Per go/android-lld-static-lib-fix, OWNERS are added for visibility.  No
action is needed if the change looks good.  This change will be merged
after two business days with Global Approvers.

Test: Build modules with aosp/2036867 in addition to presubmit
Change-Id: Ie5543c809564bf05fc92f2fce2a96ebb4020032d
parent d2ce603b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -29,7 +29,6 @@ cc_fuzz {
        "libcutils",
        "libcutils",
        "libhidlbase",
        "libhidlbase",
        "liblog",
        "liblog",
        "libutils",
    ],
    ],


    target: {
    target: {
@@ -37,12 +36,14 @@ cc_fuzz {
            shared_libs: [
            shared_libs: [
                "libbinder_ndk",
                "libbinder_ndk",
                "libbinder",
                "libbinder",
                "libutils",
            ],
            ],
        },
        },
        host: {
        host: {
            static_libs: [
            static_libs: [
                "libbinder_ndk",
                "libbinder_ndk",
                "libbinder",
                "libbinder",
                "libutils",
            ],
            ],
        },
        },
        darwin: {
        darwin: {