Move GN build files for cacheinvalidation into the main tree.
[chromium-blink-merge.git] / device / devices_app / devices_app.gyp
blobc983893031cf783ba44f6c2169e3485a64379410
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.
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/public/cpp/device_manager_delegate.h',
24         'usb/type_converters.cc',
25         'usb/type_converters.h',
26       ],
27       'dependencies': [
28         '<(DEPTH)/device/usb/usb.gyp:device_usb',
29         'device_usb_mojo_bindings_lib',
30         '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
31         '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
32         '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
33       ],
34       'export_dependent_settings': [
35         '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base',
36         '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings',
37         '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
38       ],
39     },
40     {
41       'target_name': 'device_usb_mojo_bindings',
42       'type': 'none',
43       'variables': {
44         'mojom_files': [
45           'usb/public/interfaces/device.mojom',
46           'usb/public/interfaces/device_manager.mojom',
47         ],
48       },
49       'includes': [
50         '../../third_party/mojo/mojom_bindings_generator_explicit.gypi',
51       ],
52     },
53     {
54       'target_name': 'device_usb_mojo_bindings_lib',
55       'type': 'static_library',
56       'dependencies': [
57         'device_usb_mojo_bindings',
58       ],
59     },
60     {
61       'target_name': 'devices_app_public_cpp',
62       'type': 'static_library',
63       'sources': [
64         'public/cpp/constants.cc',
65         'public/cpp/constants.h',
66       ],
67       'dependencies': [
68         'devices_app_lib',
69       ],
70     },
71     {
72       'target_name': 'devices_app_public_cpp_factory',
73       'type': 'static_library',
74       'sources': [
75         'public/cpp/devices_app_factory.cc',
76         'public/cpp/devices_app_factory.h',
77       ],
78       'dependencies': [
79         'devices_app_lib',
80       ],
81     },
82   ],