summaryrefslogtreecommitdiffstats
path: root/components/clipboard/BUILD.gn
blob: a15617bb3aff7c1bffb6c18d30d25c8bbfc408e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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")

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/application/public/cpp",
    "//mojo/public/cpp/bindings",
    "//mojo/public/cpp/bindings:callback",
    "//mojo/services/tracing/public/cpp",
  ]
}

mojo_native_application("clipboard") {
  sources = [
    "main.cc",
  ]

  deps = [
    ":lib",
    "//base",
    "//mojo/application/public/cpp",
    "//mojo/public/cpp/bindings:callback",
  ]
}

mojo_native_application("apptests") {
  output_name = "clipboard_apptests"

  testonly = true

  sources = [
    "clipboard_apptest.cc",
  ]

  deps = [
    "//base",
    "//components/clipboard/public/interfaces",
    "//mojo/application/public/cpp",
    "//mojo/application/public/cpp:test_support",
    "//mojo/common",
  ]

  data_deps = [
    ":clipboard",
  ]
}