Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: components/metrics/BUILD.gn

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/leveldb_proto/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 7fc0934af87e331d8a95b3f0a6c0b9ac1b1528ea..9d7a2afc3bc6d5a7f0e33d980b12286529dcad84 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -14,7 +14,7 @@ if (metrics_use_blimp) {
}
# GYP version: components/metrics.gypi:metrics
-source_set("metrics") {
+static_library("metrics") {
sources = [
"call_stack_profile_metrics_provider.cc",
"call_stack_profile_metrics_provider.h",
@@ -130,7 +130,7 @@ if (!is_ios) {
if (is_chromeos) {
# GYP version: components/metrics.gypi:metrics_leak_detector
- source_set("leak_detector") {
+ static_library("leak_detector") {
sources = [
"leak_detector/call_stack_manager.cc",
"leak_detector/call_stack_manager.h",
@@ -196,7 +196,7 @@ static_library("net") {
}
# GYP version: components/metrics.gypi:metrics_profiler
-source_set("profiler") {
+static_library("profiler") {
sources = [
"profiler/profiler_metrics_provider.cc",
"profiler/profiler_metrics_provider.h",
@@ -236,7 +236,7 @@ source_set("ui") {
if (!is_ios) {
# GYP version: components/metrics.gypi:metrics_profiler_content
- source_set("profiler_content") {
+ static_library("profiler_content") {
sources = [
"profiler/content/content_tracking_synchronizer_delegate.cc",
"profiler/content/content_tracking_synchronizer_delegate.h",
@@ -254,7 +254,7 @@ if (!is_ios) {
}
} else {
# GYP version: components/metrics.gypi:metrics_profiler_ios
- source_set("profiler_ios") {
+ static_library("profiler_ios") {
sources = [
"profiler/ios/ios_tracking_synchronizer_delegate.cc",
"profiler/ios/ios_tracking_synchronizer_delegate.h",
@@ -270,7 +270,7 @@ if (!is_ios) {
}
# GYP version: components/metrics.gypi:metrics_test_support
-source_set("test_support") {
+static_library("test_support") {
testonly = true
sources = [
"test_enabled_state_provider.cc",
@@ -291,7 +291,7 @@ source_set("test_support") {
if (is_linux) {
# GYP version: components/metrics.gypi:metrics_serialization
- source_set("serialization") {
+ static_library("serialization") {
sources = [
"serialization/metric_sample.cc",
"serialization/metric_sample.h",
« no previous file with comments | « components/leveldb_proto/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698