# 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash)
source_set("cpp") {
sources = [
"advertisement.cc",
"advertisement.h",
"conversions.cc",
"conversions.h",
"sharing_webrtc_metrics.cc",
"sharing_webrtc_metrics.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
"//base",
"//chrome/services/sharing/public/proto",
"//chromeos/ash/services/nearby/public/mojom",
"//mojo/public/cpp/bindings",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "advertisement_unittest.cc" ]
deps = [
"//base/test:test_support",
"//chrome/services/sharing/public/cpp",
"//mojo/public/cpp/bindings",
"//testing/gmock",
"//testing/gtest",
]
}