OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //content/common:mojo_bindings | 8 # GN version: //content/common:mojo_bindings |
9 'target_name': 'content_common_mojo_bindings_mojom', | 9 'target_name': 'content_common_mojo_bindings_mojom', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 # NOTE: Sources duplicated in | 27 # NOTE: Sources duplicated in |
28 # //content/public/common/BUILD.gn:mojo_bindings. | 28 # //content/public/common/BUILD.gn:mojo_bindings. |
29 'public/common/background_sync.mojom', | 29 'public/common/background_sync.mojom', |
30 'public/common/mojo_geoposition.mojom', | 30 'public/common/mojo_geoposition.mojom', |
31 'public/common/permission_status.mojom', | 31 'public/common/permission_status.mojom', |
32 'public/common/service_worker_event_status.mojom', | 32 'public/common/service_worker_event_status.mojom', |
33 ], | 33 ], |
34 }, | 34 }, |
35 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], | 35 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], |
| 36 'conditions': [ |
| 37 ['OS!="ios"', { |
| 38 'dependencies': [ |
| 39 'content_web_usb_permission_request_mojo_bindings_lib', |
| 40 ], |
| 41 }], |
| 42 ], |
| 43 }, |
| 44 { |
| 45 'target_name': 'content_web_usb_permission_request_mojo_bindings', |
| 46 'type': 'none', |
| 47 'conditions': [ |
| 48 ['OS!="ios"', { |
| 49 'variables': { |
| 50 'mojom_files': [ |
| 51 'public/common/web_usb_permission_request.mojom', |
| 52 ], |
| 53 'dependencies': [ |
| 54 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings', |
| 55 ], |
| 56 }, |
| 57 'includes': [ |
| 58 '../third_party/mojo/mojom_bindings_generator_explicit.gypi', |
| 59 ], |
| 60 }], |
| 61 ], |
| 62 }, |
| 63 { |
| 64 'target_name': 'content_web_usb_permission_request_mojo_bindings_lib', |
| 65 'type': 'static_library', |
| 66 'conditions': [ |
| 67 ['OS!="ios"', { |
| 68 'dependencies': [ |
| 69 'content_web_usb_permission_request_mojo_bindings', |
| 70 '../device/devices_app/devices_app.gyp:device_usb_mojo_bindings_lib'
, |
| 71 ], |
| 72 }], |
| 73 ], |
36 }, | 74 }, |
37 { | 75 { |
38 'target_name': 'content_common_mojo_bindings', | 76 'target_name': 'content_common_mojo_bindings', |
39 'type': 'static_library', | 77 'type': 'static_library', |
40 'variables': { 'enable_wexit_time_destructors': 1, }, | 78 'variables': { 'enable_wexit_time_destructors': 1, }, |
41 'dependencies': [ | 79 'dependencies': [ |
42 'content_common_mojo_bindings_mojom', | 80 'content_common_mojo_bindings_mojom', |
43 '../mojo/mojo_base.gyp:mojo_application_bindings', | 81 '../mojo/mojo_base.gyp:mojo_application_bindings', |
44 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 82 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
45 '../skia/skia.gyp:skia_mojo', | 83 '../skia/skia.gyp:skia_mojo', |
46 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 84 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
47 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', | 85 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', |
48 ] | 86 ] |
49 }, | 87 }, |
50 ] | 88 ] |
51 } | 89 } |
OLD | NEW |