123456789101112131415161718192021222324252627282930313233343536373839 |
- # Copyright 2019 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("//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_TRIAL_GROUP_CHECKER_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",
- ]
- }
|