summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gyp
blob: 1a969edbfc881cb5c8e5e26e3bd48db3b4946fd2 (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
# 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': [
    {
      'target_name': 'content_common_mojo_bindings_mojom',
      'type': 'none',
      'variables': {
        'mojom_files': [
          # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings.
          'common/geolocation_service.mojom',
          'common/permission_service.mojom',
          'common/render_frame_setup.mojom',

          # NOTE: Sources duplicated in
          # //content/public/common/BUILD.gn:mojo_bindings.
          'public/common/mojo_geoposition.mojom',
          'public/common/permission_status.mojom',
        ],
      },
      'includes': [ '../mojo/public/tools/bindings/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',
        '../mojo/mojo_base.gyp:mojo_environment_chromium',
        '../mojo/public/mojo_public.gyp:mojo_application_bindings',
        '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
      ]
    },
  ]
}