Index: components/BUILD.gn |
diff --git a/components/BUILD.gn b/components/BUILD.gn |
index c0bf3143cb04bc2367191f1832d01b4fc6900482..d0e7b61eda9ba8bebc45b2c1bdd1cbf2fc7787a5 100644 |
--- a/components/BUILD.gn |
+++ b/components/BUILD.gn |
@@ -193,6 +193,10 @@ group("all_components") { |
"//components/storage_monitor", |
] |
} |
+ |
+ if (toolkit_views) { |
+ deps += [ "//components/constrained_window" ] |
+ } |
} |
# TODO(GYP) enable when it links. |
@@ -238,6 +242,10 @@ test("components_unittests") { |
# Precache tests need these defines. |
#configs += [ "//components/precache/core:precache_config" ] |
+ |
+ if (toolkit_views) { |
+ deps += [ "//components/constrained_window:unit_tests" ] |
+ } |
} |
} |