# 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.
assert(is_chromeos)
source_set("cpp") {
sources = [
"cros_network_config_observer.cc",
"cros_network_config_observer.h",
"cros_network_config_util.cc",
"cros_network_config_util.h",
]
public_deps = [ "//chromeos/services/network_config/public/mojom" ]
deps = [
"//components/device_event_log:device_event_log",
"//components/onc",
]
}
source_set("test_support") {
testonly = true
sources = [
"fake_cros_network_config.cc",
"fake_cros_network_config.h",
]
public_deps = [
"//chromeos/services/network_config/public/mojom",
"//mojo/public/cpp/bindings",
]
deps = [ "//base" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "cros_network_config_util_unittest.cc" ]
deps = [
":cpp",
"//base/test:test_support",
"//components/onc",
"//testing/gtest",
]
}