Fix building NaCl in Linux component GN builds.
[chromium-blink-merge.git] / content / content_common_mojo_bindings.gyp
blobe83a35b8fd535a18784d21b9bd085c1205d393cc
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/background_sync_service.mojom',
16           'common/geolocation_service.mojom',
17           'common/permission_service.mojom',
18           'common/presentation/presentation_service.mojom',
19           'common/render_frame_setup.mojom',
21           # NOTE: Sources duplicated in
22           # //content/public/common/BUILD.gn:mojo_bindings.
23           'public/common/background_sync.mojom',
24           'public/common/mojo_geoposition.mojom',
25           'public/common/permission_status.mojom',
26         ],
27       },
28       'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ],
29     },
30     {
31       'target_name': 'content_common_mojo_bindings',
32       'type': 'static_library',
33       'variables': { 'enable_wexit_time_destructors': 1, },
34       'dependencies': [
35         'content_common_mojo_bindings_mojom',
36         '../mojo/mojo_base.gyp:mojo_environment_chromium',
37         '../third_party/mojo/mojo_public.gyp:mojo_application_bindings',
38         '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
39       ]
40     },
41   ]