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

Unified Diff: device/devices_app/BUILD.gn

Issue 1183443002: Reland: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn check... 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
« no previous file with comments | « device/device_tests.gyp ('k') | device/devices_app/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/BUILD.gn
diff --git a/device/devices_app/BUILD.gn b/device/devices_app/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..233d26331553347e75fe68d9172548724ba704bf
--- /dev/null
+++ b/device/devices_app/BUILD.gn
@@ -0,0 +1,73 @@
+# 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.
+
+import("//mojo/public/mojo_application.gni")
+
+source_set("lib") {
+ sources = [
+ "devices_app.cc",
+ "devices_app.h",
+ "usb/device_impl.cc",
+ "usb/device_impl.h",
+ "usb/device_manager_impl.cc",
+ "usb/device_manager_impl.h",
+ "usb/type_converters.cc",
+ "usb/type_converters.h",
+ ]
+
+ deps = [
+ "//device/core",
+ "//device/devices_app/usb/public/cpp",
+ "//device/devices_app/usb/public/interfaces",
+ "//device/usb",
+ "//net",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
+ "//url",
+ ]
+
+ public_deps = [
+ "//base",
+ "//mojo/application/public/cpp",
+ "//mojo/application/public/interfaces",
+ ]
+}
+
+mojo_native_application("devices") {
+ sources = [
+ "main.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ "//mojo/application/public/cpp",
+ ]
+
+ public_deps = [
+ ":lib",
+ ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "devices_apptests"
+
+ testonly = true
+
+ sources = [
+ "devices_apptest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application/public/cpp:test_support",
+ ]
+
+ public_deps = [
+ ":lib",
+ "//device/devices_app/usb/public/interfaces",
+ ]
+
+ data_deps = [ ":devices" ]
+}
« no previous file with comments | « device/device_tests.gyp ('k') | device/devices_app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698