Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1106)

Side by Side Diff: o3d/build/gyp_o3d

Issue 200144: Make follow-up changes per r26302 review comments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « o3d/DEPS_gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # This script is wrapper for O3D when compiling independently of chromium. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Like in chromium, the gyp_chromium.gypi include is forced in. 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
5 6
6 import glob 7 # This script is wrapper for O3D when compiling independently of Chromium.
8 # Like in Chromium, the common.gypi include is forced in.
9
7 import os 10 import os
8 import shlex
9 import sys 11 import sys
10 12
13 chrome_src = os.path.join(os.path.dirname(sys.argv[0]), os.pardir, os.pardir)
14
11 try: 15 try:
12 import gyp 16 import gyp
13 except ImportError, e: 17 except ImportError, e:
14 sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '../../tools/gyp/py lib')) 18 sys.path.append(os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
15 import gyp 19 import gyp
16 20
17 if __name__ == '__main__': 21 if __name__ == '__main__':
18 args = sys.argv[1:] 22 args = sys.argv[1:]
19 23
20 # Always include gyp_chromium.gypi 24 # Always include common.gypi
21 args += ['-I', os.path.join(os.path.dirname(sys.argv[0]),'../../build/gyp_chro mium.gypi')] 25 args += ['--depth', '.',
26 '-I', os.path.join(chrome_src, 'build', 'common.gypi'),
27 '-D', 'mac_deployment_target=10.4']
22 28
23 # Off we go... 29 # Off we go...
24 sys.exit(gyp.main(args)) 30 sys.exit(gyp.main(args))
OLDNEW
« no previous file with comments | « o3d/DEPS_gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698