Update V8 to version 4.7.21.
[chromium-blink-merge.git] / device / devices_app / BUILD.gn
blob1621e118fac2df32244a212651e625aca4448722
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.
5 import("//mojo/public/mojo_application.gni")
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   ]
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   ]
30   public_deps = [
31     "//base",
32     "//mojo/application/public/cpp",
33     "//mojo/application/public/interfaces",
34   ]
37 mojo_native_application("devices") {
38   sources = [
39     "main.cc",
40   ]
42   deps = [
43     "//base",
44     "//device/devices_app/public/cpp:factory",
45     "//mojo/application/public/cpp",
46   ]
48   public_deps = [
49     ":lib",
50   ]
53 mojo_native_application("apptests") {
54   output_name = "devices_apptests"
56   testonly = true
58   sources = [
59     "devices_apptest.cc",
60   ]
62   deps = [
63     "//base",
64     "//mojo/application/public/cpp:test_support",
65   ]
67   public_deps = [
68     ":lib",
69     "//device/devices_app/usb/public/interfaces",
70   ]
72   data_deps = [ ":devices" ]