Partial revert for the TTP fixes to unblock the autoroller

Change-Id: I5955b009056d92a2f29a7cc6d0aee20f604b4488
diff --git a/BUILD.gn b/BUILD.gn
index 63b418e..a4e4d29 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -316,11 +316,19 @@
     }
   }
 
+  # TODO(altimin): this is a temp workaround around very strange link failures
+  # on win-dbg-ng buildbot.
+  if (!is_win) {
+    libtrace_processor_target_type = "source_set"
+  } else {
+    libtrace_processor_target_type = "component"
+  }
+
   # In Chromium, we want to ensure that we don't link dynamically against sqlite
   # (as Chromium also uses a more restricted version of sqlite which is actually
   # shipped to the users).
   # source_set helps us to achieve that.
-  source_set("libtrace_processor") {
+  target(libtrace_processor_target_type, "libtrace_processor") {
     public_configs = [ "gn:public_config" ]
     deps = [ "src/trace_processor:lib" ]
     configs -= [ "//build/config/compiler:chromium_code" ]