| # Copyright 2022 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, "Non-ChromeOS builds cannot depend on //chromeos/ash") |
| |
| source_set("trash_service") { |
| sources = [ |
| "trash_service_impl.cc", |
| "trash_service_impl.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//mojo/public/cpp/bindings", |
| ] |
| |
| public_deps = [ "//chromeos/ash/components/trash_service/public/mojom" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "public/cpp/trash_service_unittest.cc" ] |
| |
| deps = [ |
| ":trash_service", |
| "//base", |
| "//base/test:test_support", |
| "//chromeos/ash/components/trash_service/public/cpp", |
| "//testing/gtest", |
| ] |
| } |