Index: components/BUILD.gn |
diff --git a/components/BUILD.gn b/components/BUILD.gn |
index ec138a80f35b85d8e9eb4b923f5cca15cbd2074e..2cabede90025e63051a63b5eb698cebec38dbed3 100644 |
--- a/components/BUILD.gn |
+++ b/components/BUILD.gn |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import("//build/config/features.gni") |
+import("//build/config/ui.gni") |
# Collection of all components. You wouldn't link to this, but this is rather |
# to reference the files so they can be compiled by the build system. |
@@ -48,6 +49,7 @@ group("all_components") { |
"//components/language_usage_metrics", |
"//components/leveldb_proto", |
"//components/metrics", |
+ "//components/native_app_window", |
"//components/navigation_interception", |
"//components/navigation_metrics", |
"//components/network_time", |
@@ -109,6 +111,9 @@ group("all_components") { |
if (!is_chromeos) { |
deps -= [ "//components/pairing" ] |
} |
+ if (!toolkit_views) { |
+ deps -= [ "//components/native_app_window" ] |
+ } |
if (is_ios) { |
deps -= [ "//components/keyed_service/content" ] |