Reland "Add GN args for using orderfile for Chrome OS"

This is a reland of 1189f5932fc0f2e67d332a98d9dc83b7c5172508

This fixes the problems on official Windows, and also moves
the LLD assertion into if-statement, so that for the cases that
don't want to use the orderfile, LLD guarantee is not needed.

Bug: chromium:950627, chromium:982179
Test: Chrome OS, Android are tested locally. Official windows is tested on Linux.

Original change's description:
> Add GN args for using orderfile for Chrome OS
>
> This patch adds GN args to use an orderfile for linking Chrome.
> By default, it's pointing a path will be updated by autoroller.
> Chrome ebuild can also override the path to test a custom orderfile.
>
> This patch also consolidates the efforts across Android and Windows,
> to have a configuration of using orderfile in build/config/compiler.
>
> Bug: chromium:950627
> Test: Chrome builds locally on Chrome OS. Android and Windows is not tested.
>
> Change-Id: If9fd06368da81e02488cb991c3b7490e6ed91363
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672231
> Commit-Queue: Tiancong Wang <[email protected]>
> Reviewed-by: Dirk Pranke <[email protected]>
> Reviewed-by: Andrew Grieve <[email protected]>
> Reviewed-by: Brian Sheedy <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#675412}

Change-Id: Id1ebf193bdd0dcc9c7e1776fa2029500b915cc6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693201
Reviewed-by: Andrew Grieve <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Reviewed-by: Michael Achenbach <[email protected]>
Reviewed-by: Brian Sheedy <[email protected]>
Commit-Queue: Tiancong Wang <[email protected]>
Auto-Submit: Tiancong Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#676074}
5 files changed