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 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 25 "//url", |
| 26 ] |
| 27 |
| 28 public_deps = [ |
| 29 "//base", |
| 30 "//mojo/application/public/cpp", |
| 31 "//mojo/application/public/interfaces", |
| 32 ] |
| 33 } |
| 34 |
| 35 mojo_native_application("devices") { |
| 36 sources = [ |
| 37 "main.cc", |
| 38 ] |
| 39 |
| 40 deps = [ |
| 41 ":lib", |
| 42 "//base", |
| 43 "//mojo/application/public/cpp", |
| 44 ] |
| 45 |
| 46 public_deps = [ |
| 47 ":lib", |
| 48 ] |
| 49 } |
| 50 |
| 51 mojo_native_application("apptests") { |
| 52 output_name = "devices_apptests" |
| 53 |
| 54 testonly = true |
| 55 |
| 56 sources = [ |
| 57 "devices_apptest.cc", |
| 58 ] |
| 59 |
| 60 deps = [ |
| 61 "//base", |
| 62 "//mojo/application/public/cpp:test_support", |
| 63 ] |
| 64 |
| 65 public_deps = [ |
| 66 ":lib", |
| 67 "//device/devices_app/usb/public/interfaces", |
| 68 ] |
| 69 |
| 70 data_deps = [ ":devices" ] |
| 71 } |
OLD | NEW |