blob: 6027a85133cf99159cceb9c94f378019ef650000 [file] [log] [blame]
rockot0fa66a82015-06-11 17:25:451# Copyright 2014 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{
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'devices_app_lib',
12 'type': 'static_library',
13 'include_dirs': [
14 '../..',
15 ],
16 'sources': [
17 'devices_app.cc',
18 'devices_app.h',
19 'usb/device_impl.cc',
20 'usb/device_impl.h',
21 'usb/device_manager_impl.cc',
22 'usb/device_manager_impl.h',
rockot0fa66a82015-06-11 17:25:4523 'usb/type_converters.cc',
24 'usb/type_converters.h',
25 ],
26 'dependencies': [
rockot0fa66a82015-06-11 17:25:4527 'device_usb_mojo_bindings_lib',
rockotd9260982015-08-21 22:26:3028 '<(DEPTH)/device/core/core.gyp:device_core',
29 '<(DEPTH)/device/usb/usb.gyp:device_usb',
rockot0fa66a82015-06-11 17:25:4530 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
31 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
reillygde5bfbd2015-09-15 20:53:4632 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters',
rockotc637caf9b2016-02-10 09:57:0833 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
rockot0fa66a82015-06-11 17:25:4534 ],
35 'export_dependent_settings': [
36 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
37 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
rockotc637caf9b2016-02-10 09:57:0838 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
rockot0fa66a82015-06-11 17:25:4539 ],
40 },
41 {
42 'target_name': 'device_usb_mojo_bindings',
43 'type': 'none',
44 'variables': {
45 'mojom_files': [
46 'usb/public/interfaces/device.mojom',
47 'usb/public/interfaces/device_manager.mojom',
reillyg17b8a58c2015-09-09 20:58:5548 'usb/public/interfaces/permission_provider.mojom',
rockot0fa66a82015-06-11 17:25:4549 ],
50 },
51 'includes': [
rockotc637caf9b2016-02-10 09:57:0852 '../../mojo/mojom_bindings_generator_explicit.gypi',
rockot0fa66a82015-06-11 17:25:4553 ],
54 },
55 {
56 'target_name': 'device_usb_mojo_bindings_lib',
57 'type': 'static_library',
58 'dependencies': [
59 'device_usb_mojo_bindings',
60 ],
61 },
rockot50dc5692015-07-08 01:57:2662 {
63 'target_name': 'devices_app_public_cpp',
64 'type': 'static_library',
65 'sources': [
66 'public/cpp/constants.cc',
67 'public/cpp/constants.h',
68 ],
69 'dependencies': [
70 'devices_app_lib',
71 ],
72 },
73 {
74 'target_name': 'devices_app_public_cpp_factory',
75 'type': 'static_library',
76 'sources': [
77 'public/cpp/devices_app_factory.cc',
78 'public/cpp/devices_app_factory.h',
79 ],
80 'dependencies': [
81 'devices_app_lib',
82 ],
83 },
rockot0fa66a82015-06-11 17:25:4584 ],
85}