OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 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. |
| 4 |
| 5 import("//mojo/public/mojo_application.gni") |
| 6 |
| 7 source_set("lib") { |
| 8 sources = [ |
| 9 "devices_app.cc", |
| 10 "devices_app.h", |
| 11 "usb/device_impl.cc", |
| 12 "usb/device_impl.h", |
| 13 "usb/device_manager_impl.cc", |
| 14 "usb/device_manager_impl.h", |
| 15 "usb/type_converters.cc", |
| 16 "usb/type_converters.h", |
| 17 ] |
| 18 |
| 19 deps = [ |
| 20 "//device/core", |
| 21 "//device/devices_app/usb/public/cpp", |
| 22 "//device/devices_app/usb/public/interfaces", |
| 23 "//device/usb", |
| 24 "//net", |
| 25 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 26 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
| 27 "//url", |
| 28 ] |
| 29 |
| 30 public_deps = [ |
| 31 "//base", |
| 32 "//mojo/application/public/cpp", |
| 33 "//mojo/application/public/interfaces", |
| 34 ] |
| 35 } |
| 36 |
| 37 mojo_native_application("devices") { |
| 38 sources = [ |
| 39 "main.cc", |
| 40 ] |
| 41 |
| 42 deps = [ |
| 43 ":lib", |
| 44 "//base", |
| 45 "//mojo/application/public/cpp", |
| 46 ] |
| 47 |
| 48 public_deps = [ |
| 49 ":lib", |
| 50 ] |
| 51 } |
| 52 |
| 53 mojo_native_application("apptests") { |
| 54 output_name = "devices_apptests" |
| 55 |
| 56 testonly = true |
| 57 |
| 58 sources = [ |
| 59 "devices_apptest.cc", |
| 60 ] |
| 61 |
| 62 deps = [ |
| 63 "//base", |
| 64 "//mojo/application/public/cpp:test_support", |
| 65 ] |
| 66 |
| 67 public_deps = [ |
| 68 ":lib", |
| 69 "//device/devices_app/usb/public/interfaces", |
| 70 ] |
| 71 |
| 72 data_deps = [ ":devices" ] |
| 73 } |
OLD | NEW |