Add content/shell and content/test to gn check

Substantial changes other than just adding deps:

trace_event/trace_config_memory_test_util.h is moved from base_unittests to base/test:test_support since it's being used from other targets.

content/test:browsertest_base is merged into content/test:test_support. These depended on each other and I don't see any reason that they be separate.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2087423002
Cr-Commit-Position: refs/heads/master@{#405784}
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index 01ad049..c6b737b 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -232,6 +232,7 @@
     "//content/app/resources",
     "//content/app/strings",
     "//content/gpu",
+    "//content/test:content_test_mojo_bindings",
     "//content/test:layouttest_support",
     "//content/test:test_support",
     "//device/bluetooth",
@@ -242,6 +243,8 @@
     "//media",
     "//net",
     "//net:net_resources",
+    "//sandbox",
+    "//services/shell/public/cpp",
     "//skia",
     "//storage/browser",
     "//testing/gmock",
@@ -253,6 +256,7 @@
     "//third_party/icu",
     "//ui/base",
     "//ui/base/ime",
+    "//ui/display",
     "//ui/events:events_base",
     "//ui/gfx",
     "//ui/gfx/geometry",
@@ -263,6 +267,10 @@
     "//url",
     "//v8",
   ]
+
+  # Annoyingly, this target and layouttest_support have circular includes.
+  allow_circular_includes_from = [ "//content/test:layouttest_support" ]
+
   if (enable_plugins) {
     deps += [
       "//content/ppapi_plugin",
@@ -634,10 +642,12 @@
     #   - crash_inspector
     #   - crash_report_sender.app
 
+    public_deps = [
+      ":content_shell_lib",
+    ]
     deps = [
       ":content_shell_framework_resources",
       ":content_shell_framework_xibs",
-      ":content_shell_lib",
       "//third_party/icu:icudata",
     ]