 diff --git a/ui/latency/BUILD.gn b/ui/latency/BUILD.gn
-index 139001ef6b91..dcf47174951e 100644
+index e5abf3bd9589..76c65578d0d1 100644
 --- a/ui/latency/BUILD.gn
 +++ b/ui/latency/BUILD.gn
-@@ -4,19 +4,22 @@
- 
+@@ -5,13 +5,14 @@
+ import("//build/config/jumbo.gni")
  import("//testing/test.gni")
  
--source_set("latency") {
+-jumbo_source_set("latency") {
 +component("latency") {
    sources = [
      "latency_histogram_macros.h",

   struct LatencyComponent {
     // Nondecreasing number that can be used to determine what events happened
diff --git a/ui/latency/latency_tracker.h b/ui/latency/latency_tracker.h
index 0fae6d317702..23717620ede1 100644
--- a/ui/latency/latency_tracker.h
+++ b/ui/latency/latency_tracker.h
@@ -7,12 +7,13 @@
 
 #include "base/macros.h"
 #include "ui/latency/latency_info.h"
+#include "ui/latency/ui_latency_export.h"
 

-class LatencyTracker {
+class UI_LATENCY_EXPORT LatencyTracker {
  public:
   explicit LatencyTracker(bool metric_sampling,
                           ukm::SourceId ukm_source_id = ukm::kInvalidSourceId);
diff --git a/ui/latency/ui_latency_export.h b/ui/latency/ui_latency_export.h
new file mode 100644
index 0000000..f24ee91
