blob: 632a026fc9cf3c75ac783d2386d2d927419bbda4 [file] [log] [blame]
# 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("common") {
sources = [
"nearby_share_enums.h",
"nearby_share_features.cc",
"nearby_share_features.h",
"nearby_share_http_result.cc",
"nearby_share_http_result.h",
"nearby_share_prefs.cc",
"nearby_share_prefs.h",
"nearby_share_profile_info_provider.h",
"nearby_share_switches.cc",
"nearby_share_switches.h",
]
public_deps = [ "//base" ]
deps = [
"//chrome/browser/ui/webui/nearby_share/public/mojom",
"//components/pref_registry",
"//components/prefs",
"//net",
"//services/network/public/cpp",
"//services/network/public/mojom",
]
}
source_set("test_support") {
testonly = true
sources = [
"fake_nearby_share_profile_info_provider.cc",
"fake_nearby_share_profile_info_provider.h",
]
deps = [ ":common" ]
}