summaryrefslogtreecommitdiffstats
path: root/components/clipboard/BUILD.gn
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2015-04-20 16:44:51 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-20 23:45:39 +0000
commit8327ac08ec2c80f26c73a83b75a66eae7b27e3cc (patch)
treea68b6bbfba04c1fa98f081533a7100847d834d0d /components/clipboard/BUILD.gn
parent638ab71c6b28552e6adb7fd195ce50195b24725a (diff)
downloadchromium_src-8327ac08ec2c80f26c73a83b75a66eae7b27e3cc.zip
chromium_src-8327ac08ec2c80f26c73a83b75a66eae7b27e3cc.tar.gz
chromium_src-8327ac08ec2c80f26c73a83b75a66eae7b27e3cc.tar.bz2
Moves mojo/services/* to components/* part 1
I'm splitting this up in chunks so I can actually use the cq. R=ben@chromium.org Review URL: https://codereview.chromium.org/1097183002 Cr-Commit-Position: refs/heads/master@{#325942}
Diffstat (limited to 'components/clipboard/BUILD.gn')
-rw-r--r--components/clipboard/BUILD.gn44
1 files changed, 44 insertions, 0 deletions
diff --git a/components/clipboard/BUILD.gn b/components/clipboard/BUILD.gn
new file mode 100644
index 0000000..cfdcb25
--- /dev/null
+++ b/components/clipboard/BUILD.gn
@@ -0,0 +1,44 @@
+# 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("//third_party/mojo/src/mojo/public/mojo_application.gni")
+
+mojo_native_application("clipboard") {
+ sources = [
+ "clipboard_standalone_impl.cc",
+ "clipboard_standalone_impl.h",
+ "main.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
+ "//third_party/mojo_services/src/clipboard/public/interfaces",
+ ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "clipboard_apptests"
+
+ testonly = true
+
+ sources = [
+ "clipboard_apptest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/common",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo_services/src/clipboard/public/interfaces",
+ ]
+
+ data_deps = [ ":clipboard($default_toolchain)" ]
+}