Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / content_common_mojo_bindings.gyp
blobe898e6cca4817d4faa238ec47c7b94926d7286bd
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //content/common:mojo_bindings
9       'target_name': 'content_common_mojo_bindings_mojom',
10       'type': 'none',
11       'variables': {
12         'mojom_files': [
13           # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings.
14           'common/application_setup.mojom',
15           'common/geolocation_service.mojom',
16           'common/permission_service.mojom',
17           'common/presentation/presentation_service.mojom',
18           'common/render_frame_setup.mojom',
20           # NOTE: Sources duplicated in
21           # //content/public/common/BUILD.gn:mojo_bindings.
22           'public/common/mojo_geoposition.mojom',
23           'public/common/permission_status.mojom',
24         ],
25       },
26       'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ],
27     },
28     {
29       'target_name': 'content_common_mojo_bindings',
30       'type': 'static_library',
31       'variables': { 'enable_wexit_time_destructors': 1, },
32       'dependencies': [
33         'content_common_mojo_bindings_mojom',
34         '../mojo/mojo_base.gyp:mojo_environment_chromium',
35         '../third_party/mojo/mojo_public.gyp:mojo_application_bindings',
36         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
37       ]
38     },
39   ]