Remove redundant ARC configuration in /content
ARC is now enabled by default, so enabling it at the target level is redundant and can be removed. Bug: 1280317 Change-Id: I1e45db928efa23d02d1a135b09e776d2db227b7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4720672 Reviewed-by: Leonard Grey <lgrey@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1175573}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
85ba041ef9
commit
6d838570d8
@ -144,7 +144,6 @@ source_set("app") {
|
||||
"mac_init.mm",
|
||||
]
|
||||
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
frameworks = [ "Foundation.framework" ]
|
||||
}
|
||||
}
|
||||
|
@ -2547,7 +2547,6 @@ source_set("browser") {
|
||||
"child_process_task_port_provider_mac.cc",
|
||||
"child_process_task_port_provider_mac.h",
|
||||
]
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
|
@ -325,7 +325,6 @@ source_set("common") {
|
||||
|
||||
if (is_apple) {
|
||||
sources += [ "font_list_mac.mm" ]
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
|
@ -624,10 +624,6 @@ source_set("browser_sources") {
|
||||
sources += [ "context_factory.h" ]
|
||||
}
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"ax_inspect_factory_mac.mm",
|
||||
|
@ -200,10 +200,6 @@ target(link_target_type, "renderer") {
|
||||
]
|
||||
}
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"renderer_main_platform_delegate_mac.mm",
|
||||
|
@ -105,7 +105,6 @@ static_library("content_shell_app") {
|
||||
]
|
||||
}
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
sources += [
|
||||
"app/paths_mac.h",
|
||||
"app/paths_mac.mm",
|
||||
@ -209,7 +208,6 @@ static_library("content_shell_lib") {
|
||||
"browser/shell_platform_delegate_mac.mm",
|
||||
"browser/shell_web_contents_view_delegate_mac.mm",
|
||||
]
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_ios) {
|
||||
@ -232,7 +230,6 @@ static_library("content_shell_lib") {
|
||||
"browser/shell_platform_delegate_ios.mm",
|
||||
"browser/shell_web_contents_view_delegate_ios.mm",
|
||||
]
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
@ -636,8 +633,6 @@ if (is_android) {
|
||||
]
|
||||
entitlements_path = ios_content_shell_entitlements_path
|
||||
bundle_identifier = ios_content_shell_bundle_identifier
|
||||
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
} else {
|
||||
executable("content_shell") {
|
||||
|
@ -693,10 +693,6 @@ static_library("test_support") {
|
||||
]
|
||||
}
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"../browser/renderer_host/test_render_widget_host_view_mac_factory.h",
|
||||
@ -1031,9 +1027,6 @@ static_library("browsertest_support") {
|
||||
deps += [ "//ui/views" ]
|
||||
}
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
if (is_mac) {
|
||||
sources += [ "../public/test/content_browser_test_utils_mac.mm" ]
|
||||
deps += [ "//ui/base/mojom" ]
|
||||
@ -2044,10 +2037,6 @@ test("content_browsertests") {
|
||||
]
|
||||
}
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"../app_shim_remote_cocoa/window_occlusion_browsertest_mac.mm",
|
||||
@ -2765,10 +2754,6 @@ test("content_unittests") {
|
||||
"test_render_frame_host_unittest.cc",
|
||||
]
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"../browser/accessibility/browser_accessibility_mac_unittest.mm",
|
||||
|
@ -145,10 +145,6 @@ static_library("web_test_browser") {
|
||||
"browser/web_test_tts_platform.h",
|
||||
]
|
||||
|
||||
if (is_apple) {
|
||||
configs += [ "//build/config/compiler:enable_arc" ]
|
||||
}
|
||||
|
||||
if (is_mac) {
|
||||
sources += [
|
||||
"browser/web_test_browser_main_platform_support_mac.mm",
|
||||
|
Reference in New Issue
Block a user