rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 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', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 23 | 'usb/type_converters.cc', |
| 24 | 'usb/type_converters.h', |
| 25 | ], |
| 26 | 'dependencies': [ |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 27 | 'device_usb_mojo_bindings_lib', |
rockot | d926098 | 2015-08-21 22:26:30 | [diff] [blame] | 28 | '<(DEPTH)/device/core/core.gyp:device_core', |
| 29 | '<(DEPTH)/device/usb/usb.gyp:device_usb', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 30 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 31 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
reillyg | de5bfbd | 2015-09-15 20:53:46 | [diff] [blame] | 32 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
rockot | c637caf9b | 2016-02-10 09:57:08 | [diff] [blame] | 33 | '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 34 | ], |
| 35 | 'export_dependent_settings': [ |
| 36 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 37 | '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', |
rockot | c637caf9b | 2016-02-10 09:57:08 | [diff] [blame] | 38 | '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 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', |
reillyg | 17b8a58c | 2015-09-09 20:58:55 | [diff] [blame] | 48 | 'usb/public/interfaces/permission_provider.mojom', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 49 | ], |
| 50 | }, |
| 51 | 'includes': [ |
rockot | c637caf9b | 2016-02-10 09:57:08 | [diff] [blame] | 52 | '../../mojo/mojom_bindings_generator_explicit.gypi', |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 53 | ], |
| 54 | }, |
| 55 | { |
| 56 | 'target_name': 'device_usb_mojo_bindings_lib', |
| 57 | 'type': 'static_library', |
| 58 | 'dependencies': [ |
| 59 | 'device_usb_mojo_bindings', |
| 60 | ], |
| 61 | }, |
rockot | 50dc569 | 2015-07-08 01:57:26 | [diff] [blame] | 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 | }, |
rockot | 0fa66a8 | 2015-06-11 17:25:45 | [diff] [blame] | 84 | ], |
| 85 | } |