| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chrome/browser/buildflags.gni") |
| |
| source_set("share_targets") { |
| sources = [ |
| "share_targets.cc", |
| "share_targets.h", |
| "share_targets_observer.h", |
| ] |
| deps = [ |
| "//base", |
| "//chrome/browser:browser_process", |
| "//chrome/browser:resources_grit", |
| "//chrome/browser/share/core/resources:make_share_targets_protobuf", |
| "//chrome/browser/share/proto:proto", |
| "//components/country_codes", |
| "//components/resources:components_resources", |
| "//ui/base:base", |
| ] |
| } |
| |
| source_set("share_targets_unittest") { |
| testonly = true |
| sources = [ "share_targets_unittest.cc" ] |
| |
| deps = [ |
| ":share_targets", |
| "//base", |
| "//build:chromeos_buildflags", |
| "//components/country_codes", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |