# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash, "Non-Chrome-OS builds must not depend on //ash")
component("trial_group") {
sources = [
"trial_group_checker.cc",
"trial_group_checker.h",
]
deps = [
"//base",
"//net",
"//services/network/public/cpp",
"//services/network/public/cpp:cpp_base",
"//url",
]
defines = [ "IS_CHROMEOS_ASH_COMPONENTS_TRIAL_GROUP_IMPL" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "trial_group_checker_unittest.cc" ]
deps = [
":trial_group",
"//base",
"//net:test_support",
"//services/network:test_support",
"//testing/gtest",
]
}