Commit bfae09dc authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Sort build rules in chrome/browser/BUILD.gn.

Keep the enable_foo conditionals in alphabetical order.

Change-Id: I63712cae90f46901602d480311c3ef565e8e6ca1
Reviewed-on: https://chromium-review.googlesource.com/c/1330904
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: default avatarSky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607904}
parent a0d9c998
...@@ -4002,11 +4002,34 @@ jumbo_split_static_library("browser") { ...@@ -4002,11 +4002,34 @@ jumbo_split_static_library("browser") {
] ]
} }
if (enable_message_center) { if (enable_feed_in_chrome) {
sources += [ sources += [
"notifications/notification_platform_bridge_message_center.cc", "android/feed/feed_content_bridge.cc",
"notifications/notification_platform_bridge_message_center.h", "android/feed/feed_content_bridge.h",
"android/feed/feed_host_service_factory.cc",
"android/feed/feed_host_service_factory.h",
"android/feed/feed_image_loader_bridge.cc",
"android/feed/feed_image_loader_bridge.h",
"android/feed/feed_journal_bridge.cc",
"android/feed/feed_journal_bridge.h",
"android/feed/feed_lifecycle_bridge.cc",
"android/feed/feed_lifecycle_bridge.h",
"android/feed/feed_logging_bridge.cc",
"android/feed/feed_logging_bridge.h",
"android/feed/feed_network_bridge.cc",
"android/feed/feed_network_bridge.h",
"android/feed/feed_offline_bridge.cc",
"android/feed/feed_offline_bridge.h",
"android/feed/feed_scheduler_bridge.cc",
"android/feed/feed_scheduler_bridge.h",
"android/feed/history/feed_history_helper.cc",
"android/feed/history/feed_history_helper.h",
] ]
deps += [ "//components/feed/content:feed_content" ]
}
if (enable_isolated_xr_service) {
deps += [ "//device/vr/public/mojom" ]
} }
if (enable_library_cdms) { if (enable_library_cdms) {
...@@ -4053,6 +4076,13 @@ jumbo_split_static_library("browser") { ...@@ -4053,6 +4076,13 @@ jumbo_split_static_library("browser") {
} }
} }
if (enable_message_center) {
sources += [
"notifications/notification_platform_bridge_message_center.cc",
"notifications/notification_platform_bridge_message_center.h",
]
}
if (enable_nacl) { if (enable_nacl) {
sources += [ sources += [
"nacl_host/nacl_browser_delegate_impl.cc", "nacl_host/nacl_browser_delegate_impl.cc",
...@@ -4368,6 +4398,17 @@ jumbo_split_static_library("browser") { ...@@ -4368,6 +4398,17 @@ jumbo_split_static_library("browser") {
] ]
} }
if (enable_simple_browser_service_in_process) {
deps += [
"//services/content/simple_browser",
"//services/content/simple_browser/public/mojom",
]
}
if (enable_simple_browser_service_out_of_process) {
deps += [ "//services/content/simple_browser/public/mojom" ]
}
if (enable_spellcheck) { if (enable_spellcheck) {
sources += [ sources += [
"spellchecker/spell_check_host_chrome_impl.cc", "spellchecker/spell_check_host_chrome_impl.cc",
...@@ -4402,17 +4443,6 @@ jumbo_split_static_library("browser") { ...@@ -4402,17 +4443,6 @@ jumbo_split_static_library("browser") {
} }
} }
if (enable_simple_browser_service_out_of_process) {
deps += [ "//services/content/simple_browser/public/mojom" ]
}
if (enable_simple_browser_service_in_process) {
deps += [
"//services/content/simple_browser",
"//services/content/simple_browser/public/mojom",
]
}
if (enable_supervised_users) { if (enable_supervised_users) {
sources += [ sources += [
"content_settings/content_settings_supervised_provider.cc", "content_settings/content_settings_supervised_provider.cc",
...@@ -4498,10 +4528,6 @@ jumbo_split_static_library("browser") { ...@@ -4498,10 +4528,6 @@ jumbo_split_static_library("browser") {
deps += [ "//chrome/browser/vr:vr_common" ] deps += [ "//chrome/browser/vr:vr_common" ]
} }
if (enable_isolated_xr_service) {
deps += [ "//device/vr/public/mojom" ]
}
if (enable_wayland_server) { if (enable_wayland_server) {
deps += [ deps += [
"//components/exo", "//components/exo",
...@@ -4557,32 +4583,6 @@ jumbo_split_static_library("browser") { ...@@ -4557,32 +4583,6 @@ jumbo_split_static_library("browser") {
if (use_udev) { if (use_udev) {
deps += [ "//device/udev_linux" ] deps += [ "//device/udev_linux" ]
} }
if (enable_feed_in_chrome) {
sources += [
"android/feed/feed_content_bridge.cc",
"android/feed/feed_content_bridge.h",
"android/feed/feed_host_service_factory.cc",
"android/feed/feed_host_service_factory.h",
"android/feed/feed_image_loader_bridge.cc",
"android/feed/feed_image_loader_bridge.h",
"android/feed/feed_journal_bridge.cc",
"android/feed/feed_journal_bridge.h",
"android/feed/feed_lifecycle_bridge.cc",
"android/feed/feed_lifecycle_bridge.h",
"android/feed/feed_logging_bridge.cc",
"android/feed/feed_logging_bridge.h",
"android/feed/feed_network_bridge.cc",
"android/feed/feed_network_bridge.h",
"android/feed/feed_offline_bridge.cc",
"android/feed/feed_offline_bridge.h",
"android/feed/feed_scheduler_bridge.cc",
"android/feed/feed_scheduler_bridge.h",
"android/feed/history/feed_history_helper.cc",
"android/feed/history/feed_history_helper.h",
]
deps += [ "//components/feed/content:feed_content" ]
}
} }
if (is_android) { if (is_android) {
......
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