Index: chrome/browser/devtools/BUILD.gn |
diff --git a/chrome/browser/devtools/BUILD.gn b/chrome/browser/devtools/BUILD.gn |
index 8bf047e182127cb07a00a23f3be9a0f45238d992..dc7e1958d3357912a0c09d69386f266b593688f1 100644 |
--- a/chrome/browser/devtools/BUILD.gn |
+++ b/chrome/browser/devtools/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//extensions/features/features.gni") |
+ |
if (!is_android) { |
import("//build/config/features.gni") |
import("//chrome/common/features.gni") |
@@ -73,7 +75,6 @@ static_library("devtools") { |
"//chrome:strings", |
"//chrome/app/theme:theme_resources", |
"//chrome/common", |
- "//chrome/common/extensions/api", |
"//net:http_server", |
"//skia", |
"//third_party/icu", |
@@ -144,4 +145,8 @@ static_library("devtools") { |
] |
} |
} |
+ |
+ if (enable_extensions) { |
+ deps += [ "//chrome/common/extensions/api" ] |
+ } |
} |