summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/profiling_host/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/profiling_host/BUILD.gn')
-rw-r--r--chromium/chrome/browser/profiling_host/BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/chrome/browser/profiling_host/BUILD.gn b/chromium/chrome/browser/profiling_host/BUILD.gn
index 9fd1b0b4680..cb8020a0266 100644
--- a/chromium/chrome/browser/profiling_host/BUILD.gn
+++ b/chromium/chrome/browser/profiling_host/BUILD.gn
@@ -1,7 +1,7 @@
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-
+import("//extensions/buildflags/buildflags.gni")
static_library("profiling_host") {
sources = [
"background_profiling_triggers.cc",
@@ -37,12 +37,16 @@ if (!is_android) {
deps = [
"//base",
"//base/allocator:buildflags",
- "//chrome/test:test_support_ui",
"//components/heap_profiling:test_support",
"//components/services/heap_profiling/public/cpp",
"//testing/gmock",
"//testing/gtest",
]
+ if (enable_extensions) {
+ deps += [
+ "//chrome/test:test_support_ui",
+ ]
+ }
}
} else {
import("//build/config/android/rules.gni")