| # Copyright 2017 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("clipboard_sources") { |
| sources = [ |
| "clipboard_impl.cc", |
| "clipboard_impl.h", |
| "clipboard_storage.cc", |
| "clipboard_storage.h", |
| ] |
| |
| deps = [ |
| "//garnet/public/lib/fidl/cpp", |
| "//garnet/public/lib/fsl", |
| "//peridot/lib/fidl:array_to_string", |
| "//peridot/lib/ledger_client:page_client", |
| "//peridot/public/lib/async/cpp:operation", |
| "//peridot/public/lib:fidl", |
| ] |
| } |
| |
| executable("clipboard") { |
| output_name = "agents/clipboard" |
| |
| sources = [ |
| "clipboard_agent.cc", |
| ] |
| |
| deps = [ |
| ":clipboard_sources", |
| "//peridot/lib/ledger_client:page_client", |
| "//peridot/public/lib/app_driver/cpp:agent_driver", |
| ] |
| } |
| |
| source_set("unittests") { |
| output_name = "clipboard_unittests" |
| |
| testonly = true |
| |
| sources = [ |
| "clipboard_impl_unittest.cc", |
| ] |
| |
| deps = [ |
| ":clipboard_sources", |
| "//garnet/lib/gtest", |
| "//peridot/lib/testing:test_with_ledger", |
| "//peridot/public/lib:fidl", |
| "//third_party/googletest:gtest", |
| ] |
| } |