Commit 59a0584f authored by brettw's avatar brettw Committed by Commit bot

Convert some component source sets to static library

This is hoping to achieve better build performance.

BUG=627637

Review-Url: https://codereview.chromium.org/2161363005
Cr-Commit-Position: refs/heads/master@{#406975}
parent 206bdb94
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# GYP version: components/dom_distiller.gypi:dom_distiller_core
source_set("core") {
static_library("core") {
sources = [
"article_attachments_data.cc",
"article_attachments_data.h",
......
......@@ -68,7 +68,7 @@ static_library("drive") {
]
}
source_set("drive_chromeos") {
static_library("drive_chromeos") {
sources = [
"chromeos/change_list_loader.cc",
"chromeos/change_list_loader.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("renderer") {
static_library("renderer") {
sources = [
"net_error_helper_core.cc",
"net_error_helper_core.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("content") {
static_library("content") {
sources = [
"content_favicon_driver.cc",
"content_favicon_driver.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("core") {
static_library("core") {
sources = [
"fallback_url_util.cc",
"fallback_url_util.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("favicon_base") {
static_library("favicon_base") {
sources = [
"fallback_icon_style.cc",
"fallback_icon_style.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("feedback") {
static_library("feedback") {
sources = [
"anonymizer_tool.cc",
"anonymizer_tool.h",
......
......@@ -6,7 +6,7 @@ import("//services/shell/public/cpp/service.gni")
import("//services/shell/public/service_manifest.gni")
import("//testing/test.gni")
source_set("lib") {
static_library("lib") {
sources = [
"directory_impl.cc",
"directory_impl.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("flags_ui") {
static_library("flags_ui") {
sources = [
"feature_entry.cc",
"feature_entry.h",
......@@ -31,7 +31,7 @@ source_set("flags_ui") {
# This is a separate target so that the dependencies of
# //chrome/common can be kept minimal.
source_set("switches") {
static_library("switches") {
sources = [
"flags_ui_switches.cc",
"flags_ui_switches.h",
......
......@@ -5,7 +5,7 @@
import("//build/config/crypto.gni")
# GYP version: components/gcm_driver.gypi:gcm_driver_crypto
source_set("crypto") {
static_library("crypto") {
sources = [
"encryption_header_parsers.cc",
"encryption_header_parsers.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("renderer") {
static_library("renderer") {
sources = [
"guest_view_container.cc",
"guest_view_container.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("image_fetcher") {
static_library("image_fetcher") {
sources = [
"image_data_fetcher.cc",
"image_data_fetcher.h",
......
......@@ -6,7 +6,7 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
source_set("impl") {
static_library("impl") {
sources = [
"invalidation_logger.cc",
"invalidation_logger.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("json_schema") {
static_library("json_schema") {
sources = [
"json_schema_constants.cc",
"json_schema_constants.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("language_usage_metrics") {
static_library("language_usage_metrics") {
sources = [
"language_usage_metrics.cc",
"language_usage_metrics.h",
......
......@@ -6,7 +6,7 @@ import("//services/shell/public/cpp/service.gni")
import("//services/shell/public/service_manifest.gni")
import("//testing/test.gni")
source_set("lib") {
static_library("lib") {
sources = [
"env_mojo.cc",
"env_mojo.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("cpp") {
static_library("cpp") {
sources = [
"remote_iterator.cc",
"remote_iterator.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("browser") {
static_library("browser") {
sources = [
"memory_coordinator.cc",
"memory_coordinator.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("child") {
static_library("child") {
sources = [
"child_memory_coordinator_impl.cc",
"child_memory_coordinator_impl.h",
......
......@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("common") {
static_library("common") {
sources = [
"client_registry.cc",
"client_registry.h",
......
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# GYP version: components/memory_pressure.gypi:memory_pressure
source_set("memory_pressure") {
static_library("memory_pressure") {
sources = [
"direct_memory_pressure_calculator.h",
"direct_memory_pressure_calculator_linux.cc",
......
......@@ -111,7 +111,7 @@ static_library("metrics") {
if (!is_ios) {
# GYP version: components/metrics.gypi:metrics_gpu
source_set("gpu") {
static_library("gpu") {
sources = [
"gpu/gpu_metrics_provider.cc",
"gpu/gpu_metrics_provider.h",
......@@ -188,7 +188,7 @@ static_library("profiler") {
}
# GYP version: components/metrics.gypi:metrics_ui
source_set("ui") {
static_library("ui") {
sources = [
"ui/screen_info_metrics_provider.cc",
"ui/screen_info_metrics_provider.h",
......
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# GYP version: components/metrics_services_manager.gypi:metrics_services_manager
source_set("metrics_services_manager") {
static_library("metrics_services_manager") {
sources = [
"metrics_services_manager.cc",
"metrics_services_manager.h",
......
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