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" ] |
+} |