Commit 90add764 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Reformat all gn files in /chrome/test/chromedriver.

`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=johnchen@chromium.org

Bug: 1041419
Change-Id: Id338c2ce6f613d444df42aaaa48f538cb91d8cf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998626
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732090}
parent 088b6fe2
...@@ -317,9 +317,7 @@ source_set("lib") { ...@@ -317,9 +317,7 @@ source_set("lib") {
executable("chromedriver") { executable("chromedriver") {
testonly = true testonly = true
sources = [ sources = [ "server/chromedriver_server.cc" ]
"server/chromedriver_server.cc",
]
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
...@@ -350,9 +348,7 @@ python_library("chromedriver_py_tests") { ...@@ -350,9 +348,7 @@ python_library("chromedriver_py_tests") {
"//testing/xvfb.py", "//testing/xvfb.py",
] ]
data_deps = [ data_deps = [ "//chrome/test/chromedriver" ]
"//chrome/test/chromedriver",
]
if (is_component_build && is_mac) { if (is_component_build && is_mac) {
data_deps += [ "//chrome:chrome_framework" ] data_deps += [ "//chrome:chrome_framework" ]
} }
...@@ -365,9 +361,7 @@ python_library("chromedriver_py_tests") { ...@@ -365,9 +361,7 @@ python_library("chromedriver_py_tests") {
python_library("chromedriver_replay_unittests") { python_library("chromedriver_replay_unittests") {
testonly = true testonly = true
deps = [ deps = [ ":chromedriver" ]
":chromedriver",
]
pydeps_file = "log_replay/client_replay_unittest.pydeps" pydeps_file = "log_replay/client_replay_unittest.pydeps"
} }
......
...@@ -10,11 +10,7 @@ android_resources("chromedriver_webview_shell_resources") { ...@@ -10,11 +10,7 @@ android_resources("chromedriver_webview_shell_resources") {
} }
android_apk("chromedriver_webview_shell_apk") { android_apk("chromedriver_webview_shell_apk") {
apk_name = "ChromeDriverWebViewShell" apk_name = "ChromeDriverWebViewShell"
deps = [ deps = [ ":chromedriver_webview_shell_resources" ]
":chromedriver_webview_shell_resources", sources = [ "java/src/org/chromium/chromedriver_webview_shell/Main.java" ]
]
sources = [
"java/src/org/chromium/chromedriver_webview_shell/Main.java",
]
android_manifest = "java/AndroidManifest.xml" android_manifest = "java/AndroidManifest.xml"
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment