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

Commit 5d9fb520 authored by Jooyung Han's avatar Jooyung Han Committed by Gerrit Code Review
Browse files

Merge "Deprecate 'contributions' field from linkerconfig" into main

parents 54c63ac0 eb421ee8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -149,6 +149,11 @@ def Validate(args):
    else:
        sys.exit(f'Unknown type: {args.type}')

    # Reject contributions field at build time while keeping the runtime behavior for GRF.
    if getattr(pb, 'contributions'):
        sys.exit(f"{args.input}: 'contributions' is set. "
                 "It's deprecated. Instead, make the APEX 'visible' and use android_dlopen_ext().")


def ValidateAndWriteAsPbFile(pb, output_path):
    ValidateConfiguration(pb)