# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("origin_trials") {
sources = [
"component_updater_utils.cc",
"component_updater_utils.h",
"features.cc",
"features.h",
"origin_trial_policy_impl.cc",
"origin_trial_policy_impl.h",
"origin_trial_prefs.cc",
"origin_trial_prefs.h",
"origin_trials_settings_storage.cc",
"origin_trials_settings_storage.h",
"pref_names.cc",
"pref_names.h",
]
public_deps = [ "//base" ]
deps = [
"//components/embedder_support",
"//components/prefs",
"//content/public/browser",
"//content/public/common",
"//third_party/blink/public/common",
]
}
static_library("test_support") {
testonly = true
sources = [
"mock_origin_trials_settings_storage.cc",
"mock_origin_trials_settings_storage.h",
]
deps = [
":origin_trials",
"//testing/gmock",
]
# fuchsia explicitly needs this for lib/zx.
if (is_fuchsia) {
deps += [ "//mojo/public/cpp/bindings" ]
}
}