| 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_extra_generator_args': [ | |
| 13 '--typemap', '<(DEPTH)/url/mojo/origin.typemap', | |
| 14 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap', | |
| 15 ], | |
| 16 'mojom_files': [ | 12 'mojom_files': [ |
| 17 # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings. | 13 # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings. |
| 18 'common/application_setup.mojom', | 14 'common/application_setup.mojom', |
| 19 'common/background_sync_service.mojom', | 15 'common/background_sync_service.mojom', |
| 20 'common/image_downloader/image_downloader.mojom', | 16 'common/image_downloader/image_downloader.mojom', |
| 21 'common/leveldb_wrapper.mojom', | 17 'common/leveldb_wrapper.mojom', |
| 22 'common/presentation/presentation_service.mojom', | 18 'common/presentation/presentation_service.mojom', |
| 23 'common/process_control.mojom', | 19 'common/process_control.mojom', |
| 24 'common/render_frame_setup.mojom', | 20 'common/render_frame_setup.mojom', |
| 25 'common/service_worker/embedded_worker_setup.mojom', | 21 'common/service_worker/embedded_worker_setup.mojom', |
| 26 'common/storage_partition_service.mojom', | 22 'common/storage_partition_service.mojom', |
| 27 'common/vr_service.mojom', | 23 'common/vr_service.mojom', |
| 28 | 24 |
| 29 # NOTE: Sources duplicated in | 25 # NOTE: Sources duplicated in |
| 30 # //content/public/common/BUILD.gn:mojo_bindings. | 26 # //content/public/common/BUILD.gn:mojo_bindings. |
| 31 'public/common/background_sync.mojom', | 27 'public/common/background_sync.mojom', |
| 32 'public/common/service_worker_event_status.mojom', | 28 'public/common/service_worker_event_status.mojom', |
| 33 ], | 29 ], |
| 30 'mojom_typemaps': [ |
| 31 '../url/mojo/gurl.typemap', |
| 32 '../url/mojo/origin.typemap', |
| 33 ], |
| 34 }, | 34 }, |
| 35 'dependencies': [ | 35 'dependencies': [ |
| 36 '../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', | 36 '../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', |
| 37 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | 37 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 38 '../services/shell/shell.gyp:shell_public', | 38 '../services/shell/shell.gyp:shell_public', |
| 39 '../skia/skia.gyp:skia_mojo', | 39 '../skia/skia.gyp:skia_mojo', |
| 40 '../third_party/WebKit/public/blink.gyp:mojo_bindings', | 40 '../third_party/WebKit/public/blink.gyp:mojo_bindings', |
| 41 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', | 41 '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings', |
| 42 ], | 42 ], |
| 43 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], | 43 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 44 }, | 44 }, |
| 45 { | 45 { |
| 46 'target_name': 'content_common_mojo_bindings', | 46 'target_name': 'content_common_mojo_bindings', |
| 47 'type': 'static_library', | 47 'type': 'static_library', |
| 48 'variables': { | 48 'variables': { |
| 49 'enable_wexit_time_destructors': 1, | 49 'enable_wexit_time_destructors': 1, |
| 50 }, | 50 }, |
| 51 'dependencies': [ | 51 'dependencies': [ |
| 52 '../url/url.gyp:url_mojom', | 52 '../url/url.gyp:url_mojom', |
| 53 'content_common_mojo_bindings_mojom', | 53 'content_common_mojo_bindings_mojom', |
| 54 ], | 54 ], |
| 55 'export_dependent_settings': [ | 55 'export_dependent_settings': [ |
| 56 '../url/url.gyp:url_mojom', | 56 '../url/url.gyp:url_mojom', |
| 57 ], | 57 ], |
| 58 }, | 58 }, |
| 59 ] | 59 ] |
| 60 } | 60 } |
| OLD | NEW |