Commit 8510c26c authored by Dan Ballard's avatar Dan Ballard
Browse files

fixup! TB 43564: Modify ./mach bootstrap for Tor Browser

TB 44669: remove nimbus-fml checks that now failure and we work around in AS and mach
parent 15f7ff00
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
@@ -139,31 +139,3 @@ def application_services(value, mozbuild_state_path, _bootstrapped):
        )

    return as_location


option(
    "--with-nimbus-fml",
    env="NIMBUS_FML",
    nargs=1,
    default=None,
    help="Path to location of nimbus-fml executable.",
    when=is_android_build,
)


@depends("--with-nimbus-fml", when=is_android_build)
@checking("for nimbus-fml")
@imports(_from="pathlib", _import="Path")
def nimbus_fml(value):
    if value:
        path = Path(value[0])
        if path.is_file():
            return value[0]
        else:
            die("--with-nimbus-fml must point to an existing file.")

    # a-s nimbus-gradle-plugin will download nimbus-fml itself if not provided.
    return None


set_config("NIMBUS_FML", nimbus_fml)