| # Copyright 2020 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. |
| |
| assert(is_chromeos, "Nearby Share is CrOS only") |
| |
| source_set("logging") { |
| sources = [ |
| "log_buffer.cc", |
| "log_buffer.h", |
| "logging.cc", |
| "logging.h", |
| ] |
| deps = [ |
| "//base", |
| "//chrome/browser/nearby_sharing/common", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "logging_unittest.cc" ] |
| |
| deps = [ |
| ":logging", |
| "//base/test:test_support", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("util") { |
| sources = [ |
| "proto_to_dictionary_conversion.cc", |
| "proto_to_dictionary_conversion.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser/nearby_sharing/proto", |
| ] |
| } |