summaryrefslogtreecommitdiffstats
path: root/o3d/build/o3d_in_chrome.gyp
blob: 08f2e598b450307068d61992dc6ba597ce37174c (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 (c) 2009 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.

{
  'includes': [
    'common.gypi',
  ],
  'targets': [
    # Depend on this target to set the O3D_IN_CHROME macro. This also works for
    # indirectly dependent Chromium projects that do not include the O3D
    # common.gypi.
    {
      'target_name': 'o3d_in_chrome',
      'type': 'none',
      'conditions': [
        ['o3d_in_chrome == "True"',
          {
            'all_dependent_settings': {
              'defines': [
                'O3D_IN_CHROME',
              ],  # 'defines'
            },  # 'all_dependent_settings'
          },
        ],
      ],  # 'conditions'
    },
  ],
}