gn format // (the rest, except mojo)

Excluded mojo because I think that needs to happen on the other side.

At gn --version = 306668 for which roll is in CQ.

R=brettw@chromium.org
TBR=scherkus@chromium.org
BUG=348474

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

Cr-Original-Commit-Position: refs/heads/master@{#306708}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb
diff --git a/tools/gn/BUILD.gn b/tools/gn/BUILD.gn
index 143641b..71fabe9 100644
--- a/tools/gn/BUILD.gn
+++ b/tools/gn/BUILD.gn
@@ -188,10 +188,14 @@
   script = "last_commit_position.py"
 
   # This dependency forces a re-run when the code is synced.
-  inputs = [ "//build/util/LASTCHANGE" ]
+  inputs = [
+    "//build/util/LASTCHANGE",
+  ]
 
   outfile = "$target_gen_dir/last_commit_position.h"
-  outputs = [ outfile ]
+  outputs = [
+    outfile,
+  ]
 
   args = [
     rebase_path("//", root_build_dir),
@@ -271,6 +275,10 @@
 }
 
 executable("generate_test_gn_data") {
-  sources = [ "generate_test_gn_data.cc" ]
-  deps = [ "//base" ]
+  sources = [
+    "generate_test_gn_data.cc",
+  ]
+  deps = [
+    "//base",
+  ]
 }
diff --git a/tools/gn/example/BUILD.gn b/tools/gn/example/BUILD.gn
index 2cb0136..58af952 100644
--- a/tools/gn/example/BUILD.gn
+++ b/tools/gn/example/BUILD.gn
@@ -3,7 +3,9 @@
 # found in the LICENSE file.
 
 executable("hello") {
-  sources = [ "hello.cc" ]
+  sources = [
+    "hello.cc",
+  ]
 
   deps = [
     ":hello_static",
@@ -14,7 +16,7 @@
 shared_library("hello_shared") {
   sources = [
     "hello_shared.cc",
-    "hello_shared.h"
+    "hello_shared.h",
   ]
 
   defines = [ "HELLO_SHARED_IMPLEMENTATION" ]
diff --git a/tools/gn/example/build/BUILDCONFIG.gn b/tools/gn/example/build/BUILDCONFIG.gn
index f36567d..d107908 100644
--- a/tools/gn/example/build/BUILDCONFIG.gn
+++ b/tools/gn/example/build/BUILDCONFIG.gn
@@ -3,13 +3,12 @@
 # found in the LICENSE file.
 
 # All binary targets will get this list of configs by default.
-_shared_binary_target_configs = [
-  "//build:compiler_defaults",
-]
+_shared_binary_target_configs = [ "//build:compiler_defaults" ]
 
 # Apply that default list to the binary target types.
 set_defaults("executable") {
   configs = _shared_binary_target_configs
+
   # Executables get this additional configuration.
   configs += [ "//build:executable_ldconfig" ]
 }
diff --git a/tools/gn/example/build/toolchain/BUILD.gn b/tools/gn/example/build/toolchain/BUILD.gn
index 27a1e31..77e33fe 100644
--- a/tools/gn/example/build/toolchain/BUILD.gn
+++ b/tools/gn/example/build/toolchain/BUILD.gn
@@ -29,7 +29,7 @@
     description = "AR {{target_output_name}}{{output_extension}}"
     rspfile_content = "{{inputs}}"
     outputs = [
-      "{{target_out_dir}}/{{target_output_name}}{{output_extension}}"
+      "{{target_out_dir}}/{{target_output_name}}{{output_extension}}",
     ]
     default_output_extension = ".a"
     output_prefix = "lib"
@@ -63,7 +63,9 @@
     command = "g++ {{ldflags}} -o $outfile -Wl,--start-group @$rspfile {{solibs}} -Wl,--end-group {{libs}}"
     description = "LINK $outfile"
     rspfile_content = "{{inputs}}"
-    outputs = [ outfile ]
+    outputs = [
+      outfile,
+    ]
   }
 
   tool("stamp") {