summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gyp
blob: 5cc2835cf3fc77dfea0c05d29a6200596392fbbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      # GN version: //content/common:mojo_bindings
      'target_name': 'content_common_mojo_bindings_mojom',
      'type': 'none',
      'variables': {
        'mojom_extra_generator_args': [
          '--typemap', '<(DEPTH)/url/mojo/origin.typemap',
          '--typemap', '<(DEPTH)/url/mojo/gurl.typemap',
        ],
        'mojom_files': [
          # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings.
          'common/application_setup.mojom',
          'common/background_sync_service.mojom',
          'common/geolocation_service.mojom',
          'common/image_downloader/image_downloader.mojom',
          'common/leveldb_wrapper.mojom',
          'common/permission_service.mojom',
          'common/presentation/presentation_service.mojom',
          'common/process_control.mojom',
          'common/render_frame_setup.mojom',
          'common/service_port_service.mojom',
          'common/service_worker/embedded_worker_setup.mojom',
          'common/storage_partition_service.mojom',
          'common/vr_service.mojom',
          'common/wake_lock_service.mojom',

          # NOTE: Sources duplicated in
          # //content/public/common/BUILD.gn:mojo_bindings.
          'public/common/background_sync.mojom',
          'public/common/mojo_geoposition.mojom',
          'public/common/permission_status.mojom',
          'public/common/service_worker_event_status.mojom',
        ],
      },
      'dependencies': [
        '../components/leveldb/leveldb.gyp:leveldb_bindings_mojom',
        '../mojo/mojo_base.gyp:mojo_application_bindings',
        '../mojo/mojo_public.gyp:mojo_cpp_bindings',
        '../skia/skia.gyp:skia_mojo',
        '../third_party/WebKit/public/blink.gyp:mojo_bindings',
        '../ui/mojo/geometry/mojo_bindings.gyp:mojo_geometry_bindings',
        '../url/url.gyp:url_interfaces_mojom',
      ],
      'export_dependent_settings': [
        '../url/url.gyp:url_interfaces_mojom',
      ],
      'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
    },
    {
      'target_name': 'content_common_mojo_bindings',
      'type': 'static_library',
      'variables': {
        'enable_wexit_time_destructors': 1,
      },
      'dependencies': [
        'content_common_mojo_bindings_mojom',
      ],
    },
  ]
}