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/frame.mojom', | 14 'common/frame.mojom', |
15 'common/image_downloader/image_downloader.mojom', | 15 'common/image_downloader/image_downloader.mojom', |
16 'common/leveldb_wrapper.mojom', | 16 'common/leveldb_wrapper.mojom', |
17 'common/process_control.mojom', | 17 'common/process_control.mojom', |
18 'common/service_worker/embedded_worker_setup.mojom', | 18 'common/service_worker/embedded_worker_setup.mojom', |
19 'common/storage_partition_service.mojom', | 19 'common/storage_partition_service.mojom', |
| 20 '../third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth
.mojom', |
20 ], | 21 ], |
21 'mojom_typemaps': [ | 22 'mojom_typemaps': [ |
| 23 'common/bluetooth/web_bluetooth_device_id.typemap', |
| 24 '../device/bluetooth/public/interfaces/bluetooth_uuid.typemap', |
22 '../skia/public/interfaces/skbitmap.typemap', | 25 '../skia/public/interfaces/skbitmap.typemap', |
23 '../ui/gfx/geometry/mojo/geometry.typemap', | 26 '../ui/gfx/geometry/mojo/geometry.typemap', |
24 '../url/mojo/gurl.typemap', | 27 '../url/mojo/gurl.typemap', |
25 '../url/mojo/origin.typemap', | 28 '../url/mojo/origin.typemap', |
26 ], | 29 ], |
27 }, | 30 }, |
28 'dependencies': [ | 31 'dependencies': [ |
29 '../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', | 32 '../components/leveldb/leveldb.gyp:leveldb_bindings_mojom', |
| 33 '../device/bluetooth/bluetooth.gyp:bluetooth_mojom', |
30 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | 34 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
31 '../services/shell/shell_public.gyp:shell_public', | 35 '../services/shell/shell_public.gyp:shell_public', |
32 '../skia/skia.gyp:skia_mojo', | 36 '../skia/skia.gyp:skia_mojo', |
33 '../third_party/WebKit/public/blink.gyp:mojo_bindings', | 37 '../third_party/WebKit/public/blink.gyp:mojo_bindings', |
34 '../ui/gfx/gfx.gyp:mojo_geometry_bindings', | 38 '../ui/gfx/gfx.gyp:mojo_geometry_bindings', |
35 ], | 39 ], |
36 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], | 40 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
37 }, | 41 }, |
38 { | 42 { |
39 'target_name': 'content_common_mojo_bindings', | 43 'target_name': 'content_common_mojo_bindings', |
40 'type': 'static_library', | 44 'type': 'static_library', |
41 'variables': { | 45 'variables': { |
42 'enable_wexit_time_destructors': 1, | 46 'enable_wexit_time_destructors': 1, |
43 }, | 47 }, |
44 'dependencies': [ | 48 'dependencies': [ |
45 '../device/sensors/sensors.gyp:device_sensors_mojo_bindings', | 49 '../device/sensors/sensors.gyp:device_sensors_mojo_bindings', |
46 '../url/url.gyp:url_mojom', | 50 '../url/url.gyp:url_mojom', |
47 '../skia/skia.gyp:skia', | 51 '../skia/skia.gyp:skia', |
48 'content_common_mojo_bindings_mojom', | 52 'content_common_mojo_bindings_mojom', |
49 ], | 53 ], |
50 'export_dependent_settings': [ | 54 'export_dependent_settings': [ |
51 '../skia/skia.gyp:skia', | 55 '../skia/skia.gyp:skia', |
52 '../url/url.gyp:url_mojom', | 56 '../url/url.gyp:url_mojom', |
53 ], | 57 ], |
54 }, | 58 }, |
55 ] | 59 ] |
56 } | 60 } |
OLD | NEW |