summaryrefslogtreecommitdiffstats
path: root/o3d/build/libs.gyp
blob: 765afbb4faeac9b6a7dc35e71aba423d727425f3 (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
38
39
40
41
42
43
# 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.

{
  'variables': {
    'chromium_code': 1,
  },
  'includes': [
    'common.gypi',
  ],
  'targets': [
    {
      'target_name': 'cg_libs',
      'type': 'none',
      'copies': [
        {
          'destination': '<(PRODUCT_DIR)',
          'conditions' : [
            [ 'OS=="win"',
              {
                'files': [
                  "../../<(cgdir)/bin/cg.dll",
                  "../../<(cgdir)/bin/cgD3D9.dll",
                  "../../<(cgdir)/bin/cgGL.dll",
                  "../../<(cgdir)/bin/cgc.exe",
                  "../../<(cgdir)/bin/glut32.dll",
                ],
              },
            ],
            [ 'OS=="mac"',
              {
                'files': [
                  "../../<(cgdir)/Cg.framework",
                ]
              }
            ],
          ],
        },
      ],
    },
  ],
}