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