summaryrefslogtreecommitdiffstats
path: root/o3d/build/select_dependencies.py
blob: a69afe26efa966babb7869fa68336270124b579e (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
#!/usr/bin/env python
# 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.

"""This file selects which of the sets of dependencies are used
   when Chrome includes o3d.gyp"""

import os.path
import sys

has_assets = os.path.exists(os.path.join("..", "o3d_assets"))
if has_assets:
  print "o3d_all.gyp"
else:
  print "o3d_minimal.gyp"
sys.exit(0)
#!/usr/bin/env python
# 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.

"""This file selects which of the sets of dependencies are used
   when Chrome includes o3d.gyp"""

import os.path
import sys

has_assets = os.path.exists(os.path.join("..", "o3d_assets"))
if has_assets:
  print "o3d_all.gyp"
else:
  print "o3d_minimal.gyp"
sys.exit(0)