OLD | NEW |
| (Empty) |
1 # 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', | |
23 'usb/type_converters.cc', | |
24 'usb/type_converters.h', | |
25 ], | |
26 'dependencies': [ | |
27 'device_usb_mojo_bindings_lib', | |
28 '<(DEPTH)/device/core/core.gyp:device_core', | |
29 '<(DEPTH)/device/usb/usb.gyp:device_usb', | |
30 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | |
31 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
32 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | |
33 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
34 ], | |
35 'export_dependent_settings': [ | |
36 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | |
37 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
38 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
39 ], | |
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', | |
48 'usb/public/interfaces/permission_provider.mojom', | |
49 ], | |
50 }, | |
51 'includes': [ | |
52 '../../mojo/mojom_bindings_generator_explicit.gypi', | |
53 ], | |
54 }, | |
55 { | |
56 'target_name': 'device_usb_mojo_bindings_lib', | |
57 'type': 'static_library', | |
58 'dependencies': [ | |
59 'device_usb_mojo_bindings', | |
60 ], | |
61 }, | |
62 { | |
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 }, | |
84 ], | |
85 } | |
OLD | NEW |