Work on GN build, mostly in //ui

This fills out a number of ui targets and does some changes to the resources to match the GYP build. In particular, we had a number of different ui/resources targets that were depended on independently. The GYP build has only one, so I combined them into a meta "ui/resources" target.

Adds a grit repack template.

TBR=ajwong

Review URL: https://codereview.chromium.org/369603004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281087 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/BUILD.gn b/BUILD.gn
index afade88..94e851d3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -90,11 +90,14 @@
     "//ui/events",
     "//ui/gfx",
     "//ui/gl",
+    "//ui/keyboard",
     "//ui/native_theme",
     "//ui/resources",
     "//ui/snapshot",
     "//ui/strings",
     "//ui/surface",
+    "//ui/web_dialogs",
+    "//ui/wm",
     "//url",
     "//v8:v8",
     "//webkit/browser:storage",
@@ -146,6 +149,7 @@
       "//ppapi:ppapi_c",
       "//sandbox",
       "//third_party/libusb",
+      "//ui/keyboard",  # Blocked on content.
 
       # Seems to not be compiled on Android. Otherwise it will need a config.h.
       "//third_party/libxslt",
@@ -163,6 +167,8 @@
       # Not tested on Android yet:
       "//third_party/libaddressinput",
       "//third_party/ffmpeg",
+      "//ui/web_dialogs",
+      "//ui/wm",
       "//webkit/browser:storage",
       "//webkit/child",
     ]