diff options
author | brettw <brettw@chromium.org> | 2015-12-01 14:08:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-01 22:09:43 +0000 |
commit | 4fb1861e6cde8e635240160e8671ac4afd138501 (patch) | |
tree | 61393e8d32302f6319592dee9b0a38654a09985e | |
parent | 67643e64039078d54f4b6842369d33b8ba131fc7 (diff) | |
download | chromium_src-4fb1861e6cde8e635240160e8671ac4afd138501.zip chromium_src-4fb1861e6cde8e635240160e8671ac4afd138501.tar.gz chromium_src-4fb1861e6cde8e635240160e8671ac4afd138501.tar.bz2 |
Remove all_components GN target.
This is not necessary for any build step, and the utility of being able to compile "all components" is pretty low. Typically one would compile components_unittests. Also, nothing is ensuring that this list is up-to-date.
If one really wanted to compile all components, it would be better to use "gn ls" and compile the resulting targets. This result can't go out-of-date.
Review URL: https://codereview.chromium.org/1491453004
Cr-Commit-Position: refs/heads/master@{#362519}
-rw-r--r-- | components/BUILD.gn | 304 |
1 files changed, 0 insertions, 304 deletions
diff --git a/components/BUILD.gn b/components/BUILD.gn index fa9fe7a..41c7ebd 100644 --- a/components/BUILD.gn +++ b/components/BUILD.gn @@ -11,310 +11,6 @@ if (is_android) { import("//build/config/android/rules.gni") } -# Collection of all components. You wouldn't link to this, but this is rather -# to reference the files so they can be compiled by the build system. -group("all_components") { - testonly = true # You shouldn't actually link to this. - visibility = [ "//:*" ] # Only for the root targets to bring in. - - deps = [ - "//components/autofill/core/browser", - "//components/autofill/core/common", - "//components/bookmarks/browser", - "//components/bookmarks/common", - "//components/bookmarks/managed", - "//components/bookmarks/test", - "//components/browser_sync/common", - "//components/bubble", - "//components/captive_portal", - "//components/chrome_apps", - "//components/component_updater", - "//components/compression", - "//components/content_settings/core/browser", - "//components/content_settings/core/common", - "//components/crash/core/browser", - "//components/crash/core/common", - "//components/crx_file", - "//components/data_reduction_proxy/core/browser", - "//components/data_reduction_proxy/core/common", - "//components/device_event_log", - "//components/dom_distiller/core", - "//components/enhanced_bookmarks", - "//components/favicon/core", - "//components/favicon_base", - "//components/flags_ui", - "//components/gcm_driver", - "//components/google/core/browser", - "//components/history/core/browser", - "//components/history/core/common", - "//components/history/core/test", - "//components/infobars/core", - "//components/invalidation/impl", - "//components/invalidation/public", - "//components/keyed_service/core", - "//components/leveldb_proto", - "//components/metrics", - "//components/net_log", - "//components/network_time", - "//components/ntp_snippets", - "//components/omnibox/browser", - "//components/open_from_clipboard", - "//components/os_crypt", - "//components/password_manager/core/browser", - "//components/password_manager/core/common", - "//components/password_manager/sync/browser", - "//components/pref_registry", - "//components/proxy_config", - "//components/rappor", - "//components/search", - "//components/search_engines", - "//components/sessions", - "//components/signin/core/browser", - "//components/strings", - "//components/suggestions", - "//components/sync_bookmarks", - "//components/sync_driver", - "//components/syncable_prefs", - "//components/translate/core/browser", - "//components/translate/core/common", - "//components/undo", - "//components/update_client", - "//components/upload_list", - "//components/variations", - "//components/variations/service", - "//components/version_info", - "//components/version_ui", - "//components/web_resource", - "//components/webdata_services", - ] - - if (!is_ios) { - deps += [ - "//components/about_handler", - "//components/app_modal", - "//components/arc", - "//components/auto_login_parser", - "//components/autofill/content/browser", - "//components/autofill/content/common", - "//components/autofill/content/renderer", - "//components/bitmap_uploader", - "//components/browsing_data", - "//components/bubble", - "//components/captive_portal", - "//components/cdm/browser", - "//components/cdm/browser", - "//components/cdm/common", - "//components/cdm/renderer", - "//components/certificate_reporting", - "//components/certificate_transparency", - "//components/chrome_apps", - "//components/cloud_devices/common", - "//components/compression", - "//components/cookie_config", - "//components/crash/content/app", - "//components/crash/content/browser", - "//components/crx_file", - "//components/data_reduction_proxy/core/browser", - "//components/data_reduction_proxy/core/common", - "//components/device_event_log", - "//components/devtools_discovery", - "//components/devtools_http_handler", - "//components/domain_reliability", - "//components/exo", - "//components/exo/wayland", - "//components/feedback", - "//components/gcm_driver/crypto", - "//components/gcm_driver/instance_id", - "//components/guest_view/browser", - "//components/guest_view/common", - "//components/guest_view/renderer", - "//components/history/content/browser", - "//components/json_schema", - "//components/keyed_service/content", - "//components/language_usage_metrics", - "//components/login", - "//components/memory_pressure", - "//components/metrics_services_manager", - "//components/mime_util", - "//components/navigation_interception", - "//components/navigation_metrics", - "//components/network_hints/browser", - "//components/network_hints/common", - "//components/network_hints/renderer", - "//components/offline_pages", - "//components/onc", - "//components/packed_ct_ev_whitelist", - "//components/pairing", - "//components/password_manager/content/browser", - "//components/pdf/browser", - "//components/pdf/common", - "//components/pdf/renderer", - "//components/plugins/renderer", - "//components/power", - "//components/precache/content", - "//components/precache/core", - "//components/query_parser", - "//components/renderer_context_menu", - "//components/resources:components_resources", - "//components/safe_browsing_db", - "//components/safe_json", - "//components/scheduler", - "//components/search_provider_logos", - "//components/security_interstitials/core", - "//components/ssl_config", - "//components/startup_metric_utils/browser", - "//components/startup_metric_utils/common", - "//components/sync_sessions", - "//components/test_runner", - "//components/tracing", - "//components/tracing:startup_tracing", - "//components/translate/content/browser", - "//components/translate/content/common", - "//components/translate/content/renderer", - "//components/ui/zoom", - "//components/url_formatter", - "//components/url_matcher", - "//components/user_manager", - "//components/user_prefs", - "//components/user_prefs/tracked:user_prefs_tracked", - "//components/visitedlink/browser", - "//components/visitedlink/common", - "//components/visitedlink/renderer", - "//components/wallpaper", - "//components/web_cache/browser", - "//components/web_cache/common", - "//components/web_cache/renderer", - "//components/web_modal", - "//components/webcrypto", - "//components/webcrypto", - "//components/webdata/common", - "//components/wifi", - "//components/wifi_sync", - ] - - if (enable_configuration_policy) { - deps += [ "//components/policy" ] - } - - if (!is_chromeos || !enable_extensions) { - deps -= [ "//components/chrome_apps" ] - } - - if (!enable_plugins) { - deps -= [ - "//components/pdf/browser", - "//components/pdf/common", - "//components/pdf/renderer", - ] - } - - if (!is_android) { - # TODO(agrieve): Add to main deps list once compile errors are resolved. - deps += [ - "//components/audio_modem", - "//components/copresence", - "//components/proximity_auth", - "//components/proximity_auth/cryptauth", - "//components/storage_monitor", - "//components/webusb", - ] - } - - if (!is_win && !is_mac) { - deps -= [ "//components/wifi" ] - } - - if (!is_chromeos) { - deps -= [ - "//components/arc", - "//components/pairing", - "//components/wifi_sync", - ] - } - - if (!use_ash) { - deps -= [ "//components/exo" ] - } - - if (!use_ash || !is_linux) { - deps -= [ "//components/exo/wayland" ] - } - } else { - deps += [ - "//components/autofill/ios/browser", - "//components/dom_distiller/ios", - "//components/history/ios/browser", - "//components/keyed_service/ios", - "//components/signin/ios/browser", - "//components/translate/ios/browser", - "//components/webp_transcode", - ] - } - - if (toolkit_views) { - deps += [ "//components/constrained_window" ] - } - - if (is_android) { - deps -= [ - "//components/autofill/content/browser", # Blocked on content/blink. - "//components/autofill/content/common", # Blocked on content. - "//components/autofill/content/renderer", # Blocked on content/blink. - "//components/captive_portal", # Should work, needs checking. - "//components/cdm/browser", # Blocked on content. - "//components/cdm/common", # Blocked on content. - "//components/cdm/renderer", # Blocked on content. - "//components/cloud_devices/common", # Should work, needs checking. - "//components/crash/content/app", # Should work, needs checking. - "//components/crash/content/browser", # Should work, needs checking. - "//components/data_reduction_proxy/core/browser", # Should work, needs checking. - "//components/data_reduction_proxy/core/common", # Should work, needs checking. - "//components/dom_distiller/core", # Blocked on content. - "//components/domain_reliability", # Blocked on content. - "//components/favicon/core", # Blocked on keyed service. - "//components/favicon_base", # Should work, needs checking. - "//components/feedback", # Blocked on content. - "//components/google/core/browser", # Should work, needs checking. - "//components/history/core/browser", # Should work, needs checking. - "//components/history/core/common", # Should work, needs checking. - "//components/history/core/test", # Should work, needs checking. - "//components/infobars/core", # Should work, needs checking. - "//components/invalidation/impl", # Should work, needs checking. - "//components/invalidation/public", # Should work, needs checking. - "//components/json_schema", # Should work, needs checking. - "//components/keyed_service/content", # Blocked on content. - "//components/keyed_service/core", # Blocked on content. - "//components/navigation_interception", # Blocked on content. - "//components/omnibox/browser", # Should work, needs checking. - "//components/password_manager/content/browser", # Blocked on content. - "//components/password_manager/core/browser", # Should work, needs checking. - "//components/password_manager/core/common", # Should work, needs checking. - "//components/plugins/renderer", # Blocked on blink. - "//components/policy", # Blocked on content (indirectly via autofill). - "//components/power", # Blocked on content. - "//components/precache/content", # Blocked on content. - "//components/precache/core", # Should work, needs checking. - "//components/rappor", # Should work, needs checking. - "//components/renderer_context_menu", # Blocked on content. - "//components/search_engines", # Should work, needs checking. - "//components/search_provider_logos", # Should work, needs checking. - "//components/sessions", # Blocked on content. - "//components/signin/core/browser", # Should work, needs checking. - "//components/translate/content/browser", # Blocked on content. - "//components/translate/content/common", # Blocked on content. - "//components/translate/content/renderer", # Blocked on content. - "//components/user_prefs", # Blocked on content. - "//components/visitedlink/browser", # Blocked on content. - "//components/visitedlink/common", # Blocked on content. - "//components/visitedlink/renderer", # Blocked on blink - "//components/web_cache/browser", # Blocked on content and blink. - "//components/web_cache/renderer", # Blocked on content and blink. - "//components/web_modal", # Blocked on content. - "//components/webdata_services", # Should work, needs checking. - ] - } -} - # TODO(GYP): Delete this after we've converted everything to GN. # The _run targets exist only for compatibility w/ GYP. group("components_unittests_run") { |