Revert of Enable whitelisting for targets other than libchrome. (patchset #2 id:90001 of https://codereview.chromium.org/2344063002/ )

Reason for revert:
Still causing GN errors on Google Chrome bots
(Win, Linux, and ChromeOS).

https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/10926

C:\b\c\b\win_chrome\src\buildtools\win\gn.exe gen //out/Release --check
  -> returned 1
ERROR at //chrome/BUILD.gn:1358:19: Assignment had no effect.
    public_deps = [
                  ^
You set the variable "public_deps" here and it was unused before it went
out of scope.
See //BUILD.gn:211:7: which caused the file to be included.
      "//chrome",
      ^---------
GN gen failed: 1
step returned non-zero exit code: 1

Original issue's description:
> Reland of Enable whitelisting for targets other than libchrome.
>
> Reverted in:
> https://codereview.chromium.org/2348643002/
>
> Reason for revert:
> Fixed gn gen errror
>
> This will allow monochrome to easily define its own set of the same
> targets with a different resource whitelist
>
> TBR=brettw@chromium.org,miu@chromium.org
> BUG=641032
>
> Committed: https://crrev.com/26cf65711c693aac13c897b67d0e138c3ee42ece
> Cr-Commit-Position: refs/heads/master@{#419074}

TBR=brettw@chromium.org,miu@chromium.org,agrieve@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=641032

Review-Url: https://codereview.chromium.org/2342243003
Cr-Commit-Position: refs/heads/master@{#419100}
3 files changed