Revert of Refactor the avatar button/icon class (patchset #14 id:320001 of https...
[chromium-blink-merge.git] / components / clipboard / BUILD.gn
blob6b064b6617426bbb3043f4ea4fb280e827cec255
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
7 source_set("lib") {
8   sources = [
9     "clipboard_application_delegate.cc",
10     "clipboard_application_delegate.h",
11     "clipboard_standalone_impl.cc",
12     "clipboard_standalone_impl.h",
13   ]
15   deps = [
16     "//components/clipboard/public/interfaces",
17   ]
20 mojo_native_application("clipboard") {
21   sources = [
22     "main.cc",
23   ]
25   deps = [
26     ":lib",
27     "//base",
28     "//mojo/application",
29     "//mojo/common",
30     "//mojo/environment:chromium",
31     "//third_party/mojo/src/mojo/public/cpp/bindings",
32     "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
33   ]
36 mojo_native_application("apptests") {
37   output_name = "clipboard_apptests"
39   testonly = true
41   sources = [
42     "clipboard_apptest.cc",
43   ]
45   deps = [
46     "//base",
47     "//components/clipboard/public/interfaces",
48     "//mojo/application",
49     "//mojo/application:test_support",
50     "//mojo/common",
51     "//third_party/mojo/src/mojo/public/cpp/bindings",
52   ]
54   data_deps = [ ":clipboard($default_toolchain)" ]