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', |
11 'variables': { | 11 'variables': { |
12 'mojom_files': [ | 12 'mojom_files': [ |
13 # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings. | 13 # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings. |
14 'common/geolocation_service.mojom', | 14 'common/geolocation_service.mojom', |
| 15 'common/image_decoder.mojom', |
15 'common/permission_service.mojom', | 16 'common/permission_service.mojom', |
16 'common/render_frame_setup.mojom', | 17 'common/render_frame_setup.mojom', |
17 | 18 |
18 # NOTE: Sources duplicated in | 19 # NOTE: Sources duplicated in |
19 # //content/public/common/BUILD.gn:mojo_bindings. | 20 # //content/public/common/BUILD.gn:mojo_bindings. |
20 'public/common/mojo_geoposition.mojom', | 21 'public/common/mojo_geoposition.mojom', |
21 'public/common/permission_status.mojom', | 22 'public/common/permission_status.mojom', |
22 ], | 23 ], |
23 }, | 24 }, |
24 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], | 25 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], |
25 }, | 26 }, |
26 { | 27 { |
27 'target_name': 'content_common_mojo_bindings', | 28 'target_name': 'content_common_mojo_bindings', |
28 'type': 'static_library', | 29 'type': 'static_library', |
29 'variables': { 'enable_wexit_time_destructors': 1, }, | 30 'variables': { 'enable_wexit_time_destructors': 1, }, |
30 'dependencies': [ | 31 'dependencies': [ |
31 'content_common_mojo_bindings_mojom', | 32 'content_common_mojo_bindings_mojom', |
32 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 33 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
33 '../third_party/mojo/mojo_public.gyp:mojo_application_bindings', | 34 '../third_party/mojo/mojo_public.gyp:mojo_application_bindings', |
34 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 35 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
35 ] | 36 ] |
36 }, | 37 }, |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |