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/generate_library_loader.gni b/generate_library_loader.gni
index debeddd..2b6874a 100644
--- a/generate_library_loader.gni
+++ b/generate_library_loader.gni
@@ -24,13 +24,21 @@
visibility = invoker.visibility
}
- outputs = [ output_h, output_cc ]
+ outputs = [
+ output_h,
+ output_cc,
+ ]
args = [
- "--name", invoker.name,
- "--output-h", rebase_path(output_h),
- "--output-cc", rebase_path(output_cc),
- "--header", invoker.header,
+ "--name",
+ invoker.name,
+ "--output-h",
+ rebase_path(output_h),
+ "--output-cc",
+ rebase_path(output_cc),
+ "--header",
+ invoker.header,
+
# Note GYP build exposes a per-target variable to control this, which, if
# manually set to true, will disable dlopen(). Its not clear this is
# needed, so here we just leave off. If this can be done globally, we can
@@ -39,7 +47,10 @@
"--link-directly=0",
]
if (defined(invoker.bundled_header)) {
- args += [ "--bundled-header", invoker.bundled_header ]
+ args += [
+ "--bundled-header",
+ invoker.bundled_header,
+ ]
}
args += invoker.functions
}
@@ -48,7 +59,12 @@
if (defined(invoker.config)) {
public_configs = [ invoker.config ]
}
- sources = [ output_h, output_cc ]
- deps = [ ":${target_name}_loader" ]
+ sources = [
+ output_h,
+ output_cc,
+ ]
+ deps = [
+ ":${target_name}_loader",
+ ]
}
}