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