Reformat all gn files in /content.
`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=nasko@chromium.org Bug: 1041419 Change-Id: I83568c03c86bbea1b5620699961f1a6f8b87bf0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995509 Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#731510}
This commit is contained in:
@ -10,13 +10,9 @@ group("ppapi_plugin") {
|
||||
visibility = [ "//content/*" ] # This is an internal content API.
|
||||
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":ppapi_plugin_sources",
|
||||
]
|
||||
public_deps = [ ":ppapi_plugin_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,13 +14,9 @@ if (is_android) {
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("browser") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":browser_sources",
|
||||
]
|
||||
public_deps = [ ":browser_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
@ -505,8 +501,6 @@ jumbo_source_set("browser_sources") {
|
||||
|
||||
if (is_android) {
|
||||
java_cpp_enum("contacts_picker_properties_requested_javagen") {
|
||||
sources = [
|
||||
"contacts_picker_properties_requested.h",
|
||||
]
|
||||
sources = [ "contacts_picker_properties_requested.h" ]
|
||||
}
|
||||
}
|
||||
|
@ -8,13 +8,9 @@ import("//ppapi/buildflags/buildflags.gni")
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("child") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":child_sources",
|
||||
]
|
||||
public_deps = [ ":child_sources" ]
|
||||
if (!is_android) {
|
||||
public_deps += [ "//content/gpu" ]
|
||||
}
|
||||
|
@ -15,41 +15,29 @@ import("//third_party/webrtc/webrtc.gni")
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("common") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":common_sources",
|
||||
]
|
||||
public_deps = [ ":common_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
# This target allows other targets to depend on result_codes.h which is a
|
||||
# header-only dependency, without bringing in all of content.
|
||||
source_set("result_codes") {
|
||||
sources = [
|
||||
"result_codes.h",
|
||||
]
|
||||
sources = [ "result_codes.h" ]
|
||||
|
||||
deps = [
|
||||
"//services/service_manager/embedder:embedder_result_codes",
|
||||
]
|
||||
deps = [ "//services/service_manager/embedder:embedder_result_codes" ]
|
||||
}
|
||||
|
||||
# This target allows other targets to depend on content_descriptors.h which is
|
||||
# a header-only dependency, without bringing in all of content.
|
||||
source_set("content_descriptors") {
|
||||
sources = [
|
||||
"content_descriptors.h",
|
||||
]
|
||||
sources = [ "content_descriptors.h" ]
|
||||
|
||||
# The header uses V8_USE_EXTERNAL_STARTUP_DATA.
|
||||
public_configs = [ "//v8:external_startup_data" ]
|
||||
|
||||
deps = [
|
||||
"//ipc",
|
||||
]
|
||||
deps = [ "//ipc" ]
|
||||
}
|
||||
|
||||
source_set("content_descriptor_keys") {
|
||||
@ -71,9 +59,7 @@ config("static_switches_defines") {
|
||||
# link to it, without depending on the rest of content. This is only for use
|
||||
# without content, or you will get multiply defined symbols.
|
||||
source_set("static_switches") {
|
||||
public = [
|
||||
"content_switches.h",
|
||||
]
|
||||
public = [ "content_switches.h" ]
|
||||
sources = [
|
||||
"//content/common/content_export.h",
|
||||
"content_switches.cc",
|
||||
@ -82,25 +68,19 @@ source_set("static_switches") {
|
||||
public_configs = [ ":static_switches_defines" ]
|
||||
|
||||
# Deps required by the above headers.
|
||||
deps = [
|
||||
"//media:media_buildflags",
|
||||
]
|
||||
deps = [ "//media:media_buildflags" ]
|
||||
}
|
||||
|
||||
# This target allows you to use the content_features constants and statically
|
||||
# link to it, without depending on the rest of content. This is only for use
|
||||
# without content, or you will get multiply defined symbols.
|
||||
source_set("static_features") {
|
||||
public = [
|
||||
"content_features.h",
|
||||
]
|
||||
public = [ "content_features.h" ]
|
||||
sources = [
|
||||
"//content/common/content_export.h",
|
||||
"content_features.cc",
|
||||
]
|
||||
public_deps = [
|
||||
"//base",
|
||||
]
|
||||
public_deps = [ "//base" ]
|
||||
|
||||
public_configs = [ ":static_switches_defines" ]
|
||||
|
||||
@ -314,12 +294,8 @@ jumbo_source_set("common_sources") {
|
||||
# //content/public/common:interfaces ->
|
||||
# //content/public/common:resource_type_bindings ->
|
||||
source_set("resource_type_header") {
|
||||
sources = [
|
||||
"resource_type.h",
|
||||
]
|
||||
public_deps = [
|
||||
"//content:export",
|
||||
]
|
||||
sources = [ "resource_type.h" ]
|
||||
public_deps = [ "//content:export" ]
|
||||
}
|
||||
|
||||
mojom("interfaces") {
|
||||
@ -371,9 +347,7 @@ mojom("interfaces") {
|
||||
}
|
||||
|
||||
mojom("client_hints_mojom") {
|
||||
sources = [
|
||||
"client_hints.mojom",
|
||||
]
|
||||
sources = [ "client_hints.mojom" ]
|
||||
|
||||
public_deps = [
|
||||
"//mojo/public/mojom/base",
|
||||
@ -383,13 +357,9 @@ mojom("client_hints_mojom") {
|
||||
}
|
||||
|
||||
mojom("service_names") {
|
||||
sources = [
|
||||
"service_names.mojom",
|
||||
]
|
||||
sources = [ "service_names.mojom" ]
|
||||
}
|
||||
|
||||
mojom("resource_type_bindings") {
|
||||
sources = [
|
||||
"resource_type.mojom",
|
||||
]
|
||||
sources = [ "resource_type.mojom" ]
|
||||
}
|
||||
|
@ -5,13 +5,9 @@
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("gpu") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":gpu_sources",
|
||||
]
|
||||
public_deps = [ ":gpu_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,13 +10,9 @@ import("//ppapi/buildflags/buildflags.gni")
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("renderer") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":renderer_sources",
|
||||
]
|
||||
public_deps = [ ":renderer_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
@ -74,9 +70,7 @@ target(link_target_type, "renderer_sources") {
|
||||
|
||||
configs += [ "//content:content_implementation" ]
|
||||
|
||||
public_deps = [
|
||||
"//media",
|
||||
]
|
||||
public_deps = [ "//media" ]
|
||||
|
||||
deps = [
|
||||
"//content/public/child:child_sources",
|
||||
|
@ -5,13 +5,9 @@
|
||||
# See //content/BUILD.gn for how this works.
|
||||
group("utility") {
|
||||
if (is_component_build) {
|
||||
public_deps = [
|
||||
"//content",
|
||||
]
|
||||
public_deps = [ "//content" ]
|
||||
} else {
|
||||
public_deps = [
|
||||
":utility_sources",
|
||||
]
|
||||
public_deps = [ ":utility_sources" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -83,8 +83,6 @@ jumbo_source_set("utility") {
|
||||
group("for_content_tests") {
|
||||
visibility = [ "//content/test/*" ]
|
||||
if (!is_component_build) {
|
||||
public_deps = [
|
||||
":utility",
|
||||
]
|
||||
public_deps = [ ":utility" ]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user