Index: apps/BUILD.gn |
diff --git a/apps/BUILD.gn b/apps/BUILD.gn |
index 5c409c2be67d715274569c1a8e8c19c3e3a9e880..a7199644fd818d26941e32c8ea1cffdaa3912e3a 100644 |
--- a/apps/BUILD.gn |
+++ b/apps/BUILD.gn |
@@ -63,10 +63,12 @@ static_library("apps") { |
"ui/views/app_window_frame_view.h", |
] |
deps += [ |
- "//extensions/browser", |
"//ui/strings", |
"//ui/views", |
] |
+ if (enable_extensions) { |
+ deps += [ "//extensions/browser" ] |
+ } |
} |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |