0

Reformat all gn files in /build/android/buildhooks.

`gn format` recently changed its formatting behavior
for deps, source, and a few other elements when they
are assigned (with =) single-element lists to be consistent
with the formatting of updates (with +=) with single-element.

Now that we've rolled in a GN binary with the change,
reformat all files so that people don't get presubmit
warnings due to this.

This CL was uploaded by git cl split.

R=estevenson@chromium.org

Bug: 1041419
Change-Id: Ib713adb3d9a56fdba15164c887b72e5c553ca040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998624
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#730858}
This commit is contained in:
Nico Weber
2020-01-13 21:40:43 +00:00
committed by Commit Bot
parent 413e269003
commit 5ac9cf6843

@ -7,25 +7,19 @@ import("//build/config/android/rules.gni")
java_library("build_hooks_java") {
jacoco_never_instrument = true
sources = [
"java/org/chromium/build/BuildHooks.java",
]
sources = [ "java/org/chromium/build/BuildHooks.java" ]
# Make all targets pull in the try-with-resources support files.
# If an apk ends up not using any such statements, ProGuard will remove
# them.
deps = [
"//third_party/bazel/desugar:desugar_runtime_java",
]
deps = [ "//third_party/bazel/desugar:desugar_runtime_java" ]
srcjar_deps = [ ":base_build_hooks_config" ]
no_build_hooks = true
supports_android = true
}
java_cpp_template("base_build_hooks_config") {
sources = [
"java/templates/BuildHooksConfig.template",
]
sources = [ "java/templates/BuildHooksConfig.template" ]
package_path = "org/chromium/build"
defines = []
@ -52,11 +46,7 @@ android_library("build_hooks_android_java") {
# specify a different implementation via build_hooks_android_impl_deps.
android_library("build_hooks_android_impl_java") {
jacoco_never_instrument = true
sources = [
build_hooks_android_impl,
]
deps = [
":build_hooks_android_java",
]
sources = [ build_hooks_android_impl ]
deps = [ ":build_hooks_android_java" ]
no_build_hooks = true
}