Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1474)

Unified Diff: device/devices_app/BUILD.gn

Issue 1165223004: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/devices_app/BUILD.gn
diff --git a/components/clipboard/BUILD.gn b/device/devices_app/BUILD.gn
similarity index 50%
copy from components/clipboard/BUILD.gn
copy to device/devices_app/BUILD.gn
index 336db090cb4bfbb85ea52cfdae27cd5c1ee9028f..4043ac0d93af3672d4040e281bda78a34709a247 100644
--- a/components/clipboard/BUILD.gn
+++ b/device/devices_app/BUILD.gn
@@ -1,4 +1,4 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2015 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.
@@ -6,20 +6,25 @@ import("//third_party/mojo/src/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",
+ "devices_app.cc",
+ "devices_app.h",
]
deps = [
- "//components/clipboard/public/interfaces",
- "//mojo/application/public/cpp",
+ "//device/usb",
+ "//device/usb/public/cpp",
+ "//device/usb/public/interfaces",
"//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//url",
+ ]
+
+ public_deps = [
+ "//base",
+ "//mojo/application/public/interfaces",
]
}
-mojo_native_application("clipboard") {
+mojo_native_application("devices") {
sources = [
"main.cc",
]
@@ -28,24 +33,23 @@ mojo_native_application("clipboard") {
":lib",
"//base",
"//mojo/application/public/cpp",
- "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
]
}
mojo_native_application("apptests") {
- output_name = "clipboard_apptests"
+ output_name = "devices_apptests"
testonly = true
sources = [
- "clipboard_apptest.cc",
+ "devices_apptest.cc",
]
deps = [
+ ":lib",
"//base",
- "//components/clipboard/public/interfaces",
"//mojo/application/public/cpp:test_support",
]
- data_deps = [ ":clipboard" ]
+ data_deps = [ ":devices" ]
}

Powered by Google App Engine
This is Rietveld 408576698