summaryrefslogtreecommitdiff
path: root/content/content_common_mojo_bindings.gypi
blob: 71d92258f35a5ed770c3be0c5b263956f617cd1d (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
# 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',
      'type': 'static_library',
      'dependencies': [
        '../mojo/mojo.gyp:mojo_bindings',
        '../mojo/mojo.gyp:mojo_environment_chromium',
      ],
      'sources': [
        'common/mojo/render_process.mojom',
      ],
      # TODO(sky): this shouldn't be necessary. It's working around a bug in
      # gyp.
      'variables': {
        'mojom_base_output_dir': 'content',
      },
      'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
      'export_dependent_settings': [
        '../mojo/mojo.gyp:mojo_bindings',
        '../mojo/mojo.gyp:mojo_environment_chromium',
      ],
    },
  ],
}