| Index: components/clipboard/BUILD.gn
|
| diff --git a/components/clipboard/BUILD.gn b/components/clipboard/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7526a1f5b8a9bd8a27a4d89ed56faa62b89cee8c
|
| --- /dev/null
|
| +++ b/components/clipboard/BUILD.gn
|
| @@ -0,0 +1,73 @@
|
| +# Copyright 2014 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.
|
| +
|
| +import("//mojo/public/mojo_application.gni")
|
| +import("//mojo/public/mojo_application_manifest.gni")
|
| +import("//testing/test.gni")
|
| +
|
| +source_set("lib") {
|
| + sources = [
|
| + "clipboard_application_delegate.cc",
|
| + "clipboard_application_delegate.h",
|
| + "clipboard_standalone_impl.cc",
|
| + "clipboard_standalone_impl.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/clipboard/public/interfaces",
|
| + "//mojo/public/cpp/bindings",
|
| + "//mojo/public/cpp/bindings:callback",
|
| + "//services/shell/public/cpp",
|
| + "//services/tracing/public/cpp",
|
| + ]
|
| +}
|
| +
|
| +mojo_native_application("clipboard") {
|
| + sources = [
|
| + "main.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":lib",
|
| + "//base",
|
| + "//mojo/public/cpp/bindings:callback",
|
| + "//services/shell/public/cpp",
|
| + ]
|
| +
|
| + data_deps = [
|
| + ":manifest",
|
| + ]
|
| +}
|
| +
|
| +mojo_application_manifest("manifest") {
|
| + application_name = "clipboard"
|
| + source = "manifest.json"
|
| +}
|
| +
|
| +test("clipboard_service_unittests") {
|
| + sources = [
|
| + "clipboard_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/clipboard/public/interfaces",
|
| + "//mojo/common",
|
| + "//services/shell/public/cpp:shell_test_support",
|
| + "//services/shell/public/cpp:sources",
|
| + "//services/shell/public/cpp/test:run_all_shelltests",
|
| + ]
|
| +
|
| + data_deps = [
|
| + ":test_manifest",
|
| + ":clipboard",
|
| + ]
|
| +}
|
| +
|
| +mojo_application_manifest("test_manifest") {
|
| + type = "exe"
|
| + application_name = "clipboard_service_unittests"
|
| + source = "test_manifest.json"
|
| +}
|
|
|