Reformat all gn files in /components/cronet.
`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.
[email protected]
Bug: 1041419
Change-Id: Ie77c19735a2df0e68f7cfd5ab16d4b7cbb3d3f09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995786
Auto-Submit: Nico Weber <[email protected]>
Reviewed-by: Adam Langley <[email protected]>
Commit-Queue: Adam Langley <[email protected]>
Cr-Commit-Position: refs/heads/master@{#730904}
diff --git a/components/cronet/BUILD.gn b/components/cronet/BUILD.gn
index 6d0b2cc..82867a5c0 100644
--- a/components/cronet/BUILD.gn
+++ b/components/cronet/BUILD.gn
@@ -26,9 +26,7 @@
process_version("cronet_version_header") {
template_file = "//components/cronet/version.h.in"
- sources = [
- "//chrome/VERSION",
- ]
+ sources = [ "//chrome/VERSION" ]
output = "$target_gen_dir/version.h"
extra_args = [
"-e",
@@ -84,9 +82,7 @@
"metrics_util.cc",
"metrics_util.h",
]
- deps = [
- "//base",
- ]
+ deps = [ "//base" ]
}
# Unit tests for Cronet common implementation.
@@ -117,15 +113,11 @@
if (is_android) {
group("cronet_package") {
testonly = true
- deps = [
- "//components/cronet/android:cronet_package_android",
- ]
+ deps = [ "//components/cronet/android:cronet_package_android" ]
}
} else if (is_ios) {
group("cronet_package") {
- deps = [
- "//components/cronet/ios:cronet_package_ios",
- ]
+ deps = [ "//components/cronet/ios:cronet_package_ios" ]
}
} else {
config("shared_library_public_config") {
@@ -153,9 +145,7 @@
"//net",
]
- sources = [
- "cronet_global_state_stubs.cc",
- ]
+ sources = [ "cronet_global_state_stubs.cc" ]
if (is_mac && !is_component_build) {
ldflags = [
@@ -211,12 +201,8 @@
_license_path = "$_package_dir/LICENSE"
script = "//tools/licenses.py"
- inputs = [
- lastchange_file,
- ]
- outputs = [
- _license_path,
- ]
+ inputs = [ lastchange_file ]
+ outputs = [ _license_path ]
args = [
"license_file",
rebase_path(_license_path, root_build_dir),
@@ -234,21 +220,15 @@
"//AUTHORS",
"//chrome/VERSION",
]
- deps = [
- ":cronet",
- ]
- outputs = [
- "$_package_dir/{{source_file_part}}",
- ]
+ deps = [ ":cronet" ]
+ outputs = [ "$_package_dir/{{source_file_part}}" ]
}
# Copy headers.
copy("cronet_package_headers") {
sources = cronet_native_public_headers + grpc_public_headers
- outputs = [
- "$_package_dir/include/{{source_file_part}}",
- ]
+ outputs = [ "$_package_dir/include/{{source_file_part}}" ]
}
group("cronet_package") {
@@ -294,9 +274,7 @@
}
test("cronet_sample_test") {
- sources = [
- "native/sample/test/sample_test.cc",
- ]
+ sources = [ "native/sample/test/sample_test.cc" ]
deps = [
":cronet_sample",
"//testing/gtest:gtest",
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn
index 1bd7dd2..2885e68 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -63,49 +63,33 @@
}
java_cpp_enum("rtt_throughput_values_java") {
- sources = [
- "//net/nqe/network_quality.h",
- ]
+ sources = [ "//net/nqe/network_quality.h" ]
}
java_cpp_enum("net_request_priority_java") {
- sources = [
- "//net/base/request_priority.h",
- ]
+ sources = [ "//net/base/request_priority.h" ]
}
java_cpp_enum("network_quality_observation_source_java") {
- sources = [
- "//net/nqe/network_quality_observation_source.h",
- ]
+ sources = [ "//net/nqe/network_quality_observation_source.h" ]
}
java_cpp_enum("url_request_error_java") {
- sources = [
- "url_request_error.h",
- ]
+ sources = [ "url_request_error.h" ]
}
java_cpp_enum("http_cache_type_java") {
- sources = [
- "//components/cronet/url_request_context_config.h",
- ]
+ sources = [ "//components/cronet/url_request_context_config.h" ]
}
java_cpp_template("load_states_list") {
- sources = [
- "java/src/org/chromium/net/impl/LoadState.template",
- ]
- inputs = [
- "//net/base/load_states_list.h",
- ]
+ sources = [ "java/src/org/chromium/net/impl/LoadState.template" ]
+ inputs = [ "//net/base/load_states_list.h" ]
package_path = "org/chromium/net/impl"
}
java_cpp_template("integrated_mode_state") {
- sources = [
- "java/src/org/chromium/net/impl/IntegratedModeState.template",
- ]
+ sources = [ "java/src/org/chromium/net/impl/IntegratedModeState.template" ]
package_path = "org/chromium/net/impl"
if (integrated_mode) {
defines = [ "INTEGRATED_MODE" ]
@@ -218,9 +202,7 @@
shared_library("cronet") {
output_name = _cronet_shared_lib_name
- sources = [
- "cronet_jni.cc",
- ]
+ sources = [ "cronet_jni.cc" ]
deps = [
":cronet_static",
"//base",
@@ -231,12 +213,8 @@
}
sizes_test("cronet_sizes") {
- data_deps = [
- ":cronet",
- ]
- data = [
- "${root_out_dir}/lib${_cronet_shared_lib_name}.so",
- ]
+ data_deps = [ ":cronet" ]
+ data = [ "${root_out_dir}/lib${_cronet_shared_lib_name}.so" ]
executable_args = [
"--platform",
"android-cronet",
@@ -396,9 +374,7 @@
"java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
"java/src/org/chromium/net/urlconnection/MessageLoop.java",
]
- deps = [
- ":cronet_api_java",
- ]
+ deps = [ ":cronet_api_java" ]
}
# cronet_impl_native_base_java.jar - native implementation of the Cronet engine.
@@ -444,9 +420,7 @@
android_resources("cronet_sample_apk_resources") {
resource_dirs = [ "sample/res" ]
android_manifest = "sample/AndroidManifest.xml"
- deps = [
- "//third_party/android_deps:android_support_v7_appcompat_java",
- ]
+ deps = [ "//third_party/android_deps:android_support_v7_appcompat_java" ]
}
android_library("cronet_sample_apk_java") {
@@ -491,9 +465,7 @@
android_resource_sizes_test("resource_sizes_cronet_sample_apk") {
apk_name = "CronetSample"
- data_deps = [
- ":cronet_sample_apk",
- ]
+ data_deps = [ ":cronet_sample_apk" ]
}
action("cronet_combine_proguard_flags") {
@@ -505,9 +477,7 @@
"//components/cronet/android/cronet_appreduce_workaround.patch",
"//components/cronet/android/cronet_impl_native_proguard.cfg",
]
- outputs = [
- "$target_gen_dir/cronet_impl_native_proguard.cfg",
- ]
+ outputs = [ "$target_gen_dir/cronet_impl_native_proguard.cfg" ]
args = [ "--output-file" ] + rebase_path(outputs, root_build_dir) +
rebase_path(sources, root_build_dir)
}
@@ -520,9 +490,7 @@
# usage.
android_java_prebuilt("package_api_java") {
jar_path = "$_package_dir/cronet_api.jar"
- deps = [
- ":repackage_api",
- ]
+ deps = [ ":repackage_api" ]
}
android_java_prebuilt("package_impl_common_java") {
@@ -582,9 +550,7 @@
script = "//components/cronet/tools/jar_src.py"
depfile = "$target_gen_dir/$target_name.d"
- outputs = [
- invoker.jar_path,
- ]
+ outputs = [ invoker.jar_path ]
args = [
"--src-search-dirs=${_rebased_src_search_dirs}",
"--jar-path",
@@ -708,30 +674,22 @@
repackage_jars("repackage_api") {
output = "$_package_dir/cronet_api.jar"
- deps = [
- ":cronet_api_java",
- ]
+ deps = [ ":cronet_api_java" ]
}
repackage_jars("repackage_platform") {
output = "$_package_dir/cronet_impl_platform_java.jar"
- deps = [
- ":cronet_impl_platform_base_java",
- ]
+ deps = [ ":cronet_impl_platform_base_java" ]
}
repackage_jars("repackage_fake") {
output = "$_package_dir/cronet_impl_fake_java.jar"
- deps = [
- ":cronet_impl_fake_base_java",
- ]
+ deps = [ ":cronet_impl_fake_base_java" ]
}
repackage_jars("repackage_util") {
output = "$_package_dir/cronet_impl_util_java.jar"
- deps = [
- ":cronet_impl_java_util_java",
- ]
+ deps = [ ":cronet_impl_java_util_java" ]
}
# See crbug.com/1005836 for more info on why repackage_native requires 2 extra
@@ -765,9 +723,7 @@
# Since only the unprocessed jar is used, no need to complete the bytecode
# processing steps.
enable_bytecode_rewriter = false
- deps = [
- ":repackage_native_impl",
- ]
+ deps = [ ":repackage_native_impl" ]
}
repackage_jars("repackage_common") {
@@ -795,9 +751,7 @@
apk_under_test = ":cronet_sample_apk"
android_manifest = "sample/javatests/AndroidManifest.xml"
min_sdk_version = _cronet_min_sdk_version
- sources = [
- "sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTest.java",
- ]
+ sources = [ "sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTest.java" ]
deps = [
"//third_party/android_support_test_runner:rules_java",
"//third_party/android_support_test_runner:runner_java",
@@ -1034,9 +988,7 @@
"//third_party/hamcrest:hamcrest_core_java",
]
deps += cronet_javatests_deps_to_package
- data = [
- "//components/cronet/test/data/",
- ]
+ data = [ "//components/cronet/test/data/" ]
}
instrumentation_test_apk("cronet_test_instrumentation_apk") {
@@ -1076,9 +1028,7 @@
]
additional_apks = [ "//net/android:net_test_support_apk" ]
- data_deps = [
- "//net:test_support",
- ]
+ data_deps = [ "//net:test_support" ]
enable_multidex = true
if (!is_java_debug) {
@@ -1223,13 +1173,9 @@
"//testing/gtest",
]
- sources = [
- "../run_all_unittests.cc",
- ]
+ sources = [ "../run_all_unittests.cc" ]
- data = [
- "//components/cronet/test/data/",
- ]
+ data = [ "//components/cronet/test/data/" ]
if (is_android) {
shard_timeout = 180
@@ -1251,15 +1197,11 @@
"//testing/gtest",
]
- sources = [
- "../run_all_unittests.cc",
- ]
+ sources = [ "../run_all_unittests.cc" ]
defines = [ "CRONET_TESTS_IMPLEMENTATION" ]
- data = [
- "//components/cronet/test/data/",
- ]
+ data = [ "//components/cronet/test/data/" ]
if (is_android) {
shard_timeout = 180
@@ -1322,9 +1264,7 @@
_license_path = "$_package_dir/LICENSE"
script = "//tools/licenses.py"
- outputs = [
- _license_path,
- ]
+ outputs = [ _license_path ]
args = [
"license_file",
rebase_path(_license_path, root_build_dir),
@@ -1339,9 +1279,7 @@
script = "//components/cronet/tools/generate_javadoc.py"
depfile = "$target_gen_dir/$target_name.d"
_zip_file = "$target_gen_dir/$target_name.zip"
- outputs = [
- _zip_file,
- ]
+ outputs = [ _zip_file ]
_annotations_jar = "$root_out_dir/lib.java/third_party/android_deps/androidx_annotation_annotation.jar"
_src_jar = "$_package_dir/cronet_api-src.jar"
inputs = [
@@ -1388,9 +1326,7 @@
"cronet_impl_fake_proguard.cfg",
"cronet_impl_platform_proguard.cfg",
]
- outputs = [
- "$_package_dir/{{source_file_part}}",
- ]
+ outputs = [ "$_package_dir/{{source_file_part}}" ]
deps = [
":cronet_api_java",
@@ -1404,34 +1340,21 @@
copy("cronet_package_copy_native_headers") {
sources = cronet_native_public_headers + grpc_public_headers
- outputs = [
- "$_package_dir/include/{{source_file_part}}",
- ]
+ outputs = [ "$_package_dir/include/{{source_file_part}}" ]
}
copy("cronet_package_copy_native_lib") {
- sources = [
- "$root_out_dir/" + _cronet_shared_lib_file_name,
- ]
- outputs = [
- "$_package_dir/libs/${android_app_abi}/" + _cronet_shared_lib_file_name,
- ]
- deps = [
- ":cronet",
- ]
+ sources = [ "$root_out_dir/" + _cronet_shared_lib_file_name ]
+ outputs = [ "$_package_dir/libs/${android_app_abi}/" +
+ _cronet_shared_lib_file_name ]
+ deps = [ ":cronet" ]
}
copy("cronet_package_copy_native_lib_unstripped") {
- sources = [
- "$root_out_dir/lib.unstripped/" + _cronet_shared_lib_file_name,
- ]
- outputs = [
- "$_package_dir/symbols/${android_app_abi}/" +
- _cronet_shared_lib_file_name,
- ]
- deps = [
- ":cronet",
- ]
+ sources = [ "$root_out_dir/lib.unstripped/" + _cronet_shared_lib_file_name ]
+ outputs = [ "$_package_dir/symbols/${android_app_abi}/" +
+ _cronet_shared_lib_file_name ]
+ deps = [ ":cronet" ]
}
copy("cronet_package_copy_native_test_lib") {
@@ -1440,9 +1363,8 @@
"$root_out_dir/libcronet_tests.so",
"$root_out_dir/libnetty-tcnative.so",
]
- outputs = [
- "$_test_package_dir/libs/${android_app_abi}/{{source_file_part}}",
- ]
+ outputs =
+ [ "$_test_package_dir/libs/${android_app_abi}/{{source_file_part}}" ]
deps = [
":cronet_tests",
"//third_party/netty-tcnative:netty-tcnative-so",
@@ -1455,9 +1377,8 @@
"$root_out_dir/lib.unstripped/libcronet_tests.so",
"$root_out_dir/lib.unstripped/libnetty-tcnative.so",
]
- outputs = [
- "$_test_package_dir/symbols/${android_app_abi}/{{source_file_part}}",
- ]
+ outputs =
+ [ "$_test_package_dir/symbols/${android_app_abi}/{{source_file_part}}" ]
deps = [
":cronet_tests",
"//third_party/netty-tcnative:netty-tcnative-so",
@@ -1466,12 +1387,8 @@
copy("cronet_package_copy_test_assets") {
testonly = true
- sources = [
- "//components/cronet/test/data",
- ]
- outputs = [
- "$_test_package_dir/assets/test",
- ]
+ sources = [ "//components/cronet/test/data" ]
+ outputs = [ "$_test_package_dir/assets/test" ]
}
copy("cronet_package_copy_test_support_apks") {
@@ -1480,12 +1397,9 @@
# Provides EmbeddedTestServer.
"$root_out_dir/apks/ChromiumNetTestSupport.apk",
]
- outputs = [
- "$_test_package_dir/apks/${android_app_abi}/{{source_file_part}}",
- ]
- deps = [
- "//net/android:net_test_support_apk",
- ]
+ outputs =
+ [ "$_test_package_dir/apks/${android_app_abi}/{{source_file_part}}" ]
+ deps = [ "//net/android:net_test_support_apk" ]
}
copy("cronet_package_copy_test_files") {
@@ -1497,9 +1411,7 @@
"//net/data/ssl/certificates/quic-leaf-cert.key.pkcs8.pem",
"//net/data/ssl/certificates/root_ca_cert.pem",
]
- outputs = [
- "$_test_package_dir/assets/test_files/net/data/ssl/certificates/{{source_file_part}}",
- ]
+ outputs = [ "$_test_package_dir/assets/test_files/net/data/ssl/certificates/{{source_file_part}}" ]
deps = [
# Not really dependent, but builds can fail if these two targets attempt
# to create the "assets" subdirectory simultaneously.
@@ -1508,21 +1420,15 @@
}
copy("cronet_package_copy_resources") {
- sources = [
- "api/res/raw/keep_cronet_api.xml",
- ]
- outputs = [
- "$_package_dir/res/raw/{{source_file_part}}",
- ]
+ sources = [ "api/res/raw/keep_cronet_api.xml" ]
+ outputs = [ "$_package_dir/res/raw/{{source_file_part}}" ]
}
# Enforce that ARM Neon is not used when building for ARMv7
if (target_cpu == "arm" && arm_version == 7 && !arm_use_neon) {
action("enforce_no_neon") {
script = "//components/cronet/tools/check_no_neon.py"
- outputs = [
- "$target_gen_dir/$target_name.stamp",
- ]
+ outputs = [ "$target_gen_dir/$target_name.stamp" ]
args = [
rebase_path("${android_tool_prefix}objdump", root_build_dir),
@@ -1534,18 +1440,14 @@
"--stamp",
rebase_path(outputs[0], root_build_dir),
]
- deps = [
- "//base:base",
- ]
+ deps = [ "//base:base" ]
}
}
# Enforce restrictions for API<->impl boundary.
action("api_static_checks") {
script = "//components/cronet/tools/api_static_checks.py"
- outputs = [
- "$target_gen_dir/$target_name.stamp",
- ]
+ outputs = [ "$target_gen_dir/$target_name.stamp" ]
args = [
"--api_jar",
rebase_path(
@@ -1572,9 +1474,7 @@
":cronet_impl_native_base_java",
":cronet_impl_platform_base_java",
]
- inputs = [
- "//components/cronet/tools/update_api.py",
- ]
+ inputs = [ "//components/cronet/tools/update_api.py" ]
sources = [
"//components/cronet/android/api.txt",
"//components/cronet/android/api_version.txt",
diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
index 2eef75e..3f50a8d3 100644
--- a/components/cronet/ios/BUILD.gn
+++ b/components/cronet/ios/BUILD.gn
@@ -15,9 +15,7 @@
assert(!is_component_build, "Cronet requires static library build.")
group("cronet_consumer_group") {
- deps = [
- "//components/cronet/ios/cronet_consumer",
- ]
+ deps = [ "//components/cronet/ios/cronet_consumer" ]
}
config("cronet_include_config") {
@@ -90,13 +88,9 @@
"//ios/web/public/init:global_state",
]
- public_deps = [
- ":cronet_sources",
- ]
+ public_deps = [ ":cronet_sources" ]
- sources = [
- "ios_global_state_configuration.cc",
- ]
+ sources = [ "ios_global_state_configuration.cc" ]
}
# Tweak |info_plist| with current version and revision.
@@ -116,15 +110,11 @@
libs = [ "UIKit.Framework" ]
- public_deps = [
- "//components/grpc_support:headers",
- ]
+ public_deps = [ "//components/grpc_support:headers" ]
public_headers = _cronet_public_headers
- sources = [
- "Cronet.h",
- ]
+ sources = [ "Cronet.h" ]
configs -= [ "//build/config/compiler:default_symbols" ]
configs += [ "//build/config/compiler:symbols" ]
@@ -135,9 +125,7 @@
test("cronet_unittests_ios") {
testonly = true
- sources = [
- "../run_all_unittests.cc",
- ]
+ sources = [ "../run_all_unittests.cc" ]
deps = [
":cronet_sources_with_global_state",
@@ -158,9 +146,7 @@
rebase_path("$target_gen_dir"),
rebase_path("//"),
]
- outputs = [
- "$target_gen_dir/accept_languages_table.h",
- ]
+ outputs = [ "$target_gen_dir/accept_languages_table.h" ]
}
# A static library which contains just _cronet_sources.
@@ -169,9 +155,7 @@
deps = _cronet_deps
sources = _cronet_sources + [ "ios_global_state_configuration.cc" ]
public_configs = [ ":cronet_include_config" ]
- public_deps = [
- "//components/grpc_support",
- ]
+ public_deps = [ "//components/grpc_support" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
@@ -181,9 +165,7 @@
visibility = [ ":*" ]
complete_static_lib = true
configs -= [ "//build/config/compiler:thin_archive" ]
- deps = [
- ":cronet_static",
- ]
+ deps = [ ":cronet_static" ]
if (use_custom_libcxx) {
deps += [
@@ -204,9 +186,7 @@
":cronet_deps_complete",
":cronet_static",
]
- outputs = [
- "$target_out_dir/$current_cpu/cronet_static_complete.a",
- ]
+ outputs = [ "$target_out_dir/$current_cpu/cronet_static_complete.a" ]
args = [
"--input_libs",
rebase_path("$target_out_dir/libcronet_static.a", root_build_dir),
@@ -252,9 +232,7 @@
bundle_data(_framework_headers_target) {
visibility = [ ":$_target_name" ]
sources = invoker.public_headers
- outputs = [
- "{{bundle_contents_dir}}/Headers/{{source_file_part}}",
- ]
+ outputs = [ "{{bundle_contents_dir}}/Headers/{{source_file_part}}" ]
}
_framework_binary_target = _target_name + "_framework_binary"
@@ -263,12 +241,8 @@
bundle_data(_framework_binary_target) {
visibility = [ ":$_target_name" ]
sources = get_target_outputs(_static_library_target)
- outputs = [
- "{{bundle_executable_dir}}/$_framework_name",
- ]
- public_deps = [
- _static_library_target,
- ]
+ outputs = [ "{{bundle_executable_dir}}/$_framework_name" ]
+ public_deps = [ _static_library_target ]
}
create_bundle(_target_name) {
@@ -300,12 +274,8 @@
_license_path = "$_package_dir/LICENSE"
script = "//tools/licenses.py"
- inputs = [
- lastchange_file,
- ]
- outputs = [
- _license_path,
- ]
+ inputs = [ lastchange_file ]
+ outputs = [ _license_path ]
args = [
"license_file",
rebase_path(_license_path, root_build_dir),
@@ -319,16 +289,10 @@
}
copy("cronet_static_copy") {
- sources = [
- "$root_out_dir/Static/Cronet.framework",
- ]
- outputs = [
- "$_package_dir/Static/Cronet.framework",
- ]
+ sources = [ "$root_out_dir/Static/Cronet.framework" ]
+ outputs = [ "$_package_dir/Static/Cronet.framework" ]
- deps = [
- ":cronet_static_framework",
- ]
+ deps = [ ":cronet_static_framework" ]
}
copy("cronet_package_copy") {
@@ -337,9 +301,7 @@
"//AUTHORS",
"//chrome/VERSION",
]
- outputs = [
- "$_package_dir/{{source_file_part}}",
- ]
+ outputs = [ "$_package_dir/{{source_file_part}}" ]
deps = [
":cronet_framework",
@@ -357,22 +319,16 @@
# generate both the dSYM and binary image are listed in deps.
_dsyms = [ "$root_out_dir/Cronet.dSYM" ]
- sources = [
- "$root_out_dir/Cronet.framework",
- ]
+ sources = [ "$root_out_dir/Cronet.framework" ]
_output = "$_package_dir/Cronet.dSYM.tar.bz2"
- outputs = [
- _output,
- ]
+ outputs = [ _output ]
args = [ rebase_path(_output, root_out_dir) ] +
rebase_path(_dsyms, root_out_dir)
- deps = [
- ":cronet_framework",
- ]
+ deps = [ ":cronet_framework" ]
}
} else {
group("cronet_dsym_archive") {
diff --git a/components/cronet/ios/cronet_consumer/BUILD.gn b/components/cronet/ios/cronet_consumer/BUILD.gn
index a0454400..b4bba9a 100644
--- a/components/cronet/ios/cronet_consumer/BUILD.gn
+++ b/components/cronet/ios/cronet_consumer/BUILD.gn
@@ -11,9 +11,7 @@
ios_app_bundle(_target_name) {
info_plist = "cronet-consumer-Info.plist"
- deps = [
- "//base:base",
- ]
+ deps = [ "//base:base" ]
deps += invoker.deps
@@ -37,9 +35,7 @@
}
cronet_consumer_template("cronet_consumer") {
- deps = [
- "//components/cronet/ios:cronet_framework+link",
- ]
+ deps = [ "//components/cronet/ios:cronet_framework+link" ]
bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
}
@@ -48,9 +44,7 @@
# duplicate architecture (e.g. arm64+arm64) and breaks the build.
if (!defined(additional_target_cpus) || additional_target_cpus == []) {
cronet_consumer_template("cronet_consumer_static") {
- deps = [
- "//components/cronet/ios:cronet_static_framework",
- ]
+ deps = [ "//components/cronet/ios:cronet_static_framework" ]
cflags = [
"-F",
diff --git a/components/cronet/native/BUILD.gn b/components/cronet/native/BUILD.gn
index 2b82f47..6ee1271c 100644
--- a/components/cronet/native/BUILD.gn
+++ b/components/cronet/native/BUILD.gn
@@ -48,9 +48,7 @@
configs += [ ":cronet_native_include_config" ]
public_configs = [ ":cronet_native_include_config" ]
- public_deps = [
- ":cronet_native_headers",
- ]
+ public_deps = [ ":cronet_native_headers" ]
sources = [
"buffer.cc",
diff --git a/components/cronet/test/BUILD.gn b/components/cronet/test/BUILD.gn
index f83f078..9ed0fc2 100644
--- a/components/cronet/test/BUILD.gn
+++ b/components/cronet/test/BUILD.gn
@@ -32,23 +32,17 @@
"data/success.txt",
"data/success.txt.mock-http-headers",
]
- outputs = [
- "{{bundle_resources_dir}}/" +
- "{{source_root_relative_dir}}/{{source_file_part}}",
- ]
+ outputs = [ "{{bundle_resources_dir}}/" +
+ "{{source_root_relative_dir}}/{{source_file_part}}" ]
}
# Test support for Cronet common implementation.
source_set("test_support") {
testonly = true
- deps = [
- "//net:test_support",
- ]
+ deps = [ "//net:test_support" ]
- data = [
- "data/",
- ]
+ data = [ "data/" ]
sources = [
"test_server.cc",