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

Side by Side Diff: pylib/gyp/generator/ninja.py

Issue 10855040: Reverting r1457, r1452, r1450, r1449. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 4 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 | « pylib/gyp/generator/msvs.py ('k') | pylib/gyp/win_tool.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import copy 5 import copy
6 import gyp 6 import gyp
7 import gyp.common 7 import gyp.common
8 import gyp.msvs_emulation 8 import gyp.msvs_emulation
9 import gyp.MSVSVersion 9 import gyp.MSVSVersion
10 import gyp.system_test 10 import gyp.system_test
(...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 description='CXX PCH $out', 1386 description='CXX PCH $out',
1387 command=cxx_template % {'outspec': '/Fp$out /Fo$out.obj'}, 1387 command=cxx_template % {'outspec': '/Fp$out /Fo$out.obj'},
1388 depfile='$out.dl', 1388 depfile='$out.dl',
1389 rspfile='$out.rsp', 1389 rspfile='$out.rsp',
1390 rspfile_content='$defines $includes $cflags $cflags_cc') 1390 rspfile_content='$defines $includes $cflags $cflags_cc')
1391 master_ninja.rule( 1391 master_ninja.rule(
1392 'idl', 1392 'idl',
1393 description='IDL $in', 1393 description='IDL $in',
1394 command=('%s gyp-win-tool midl-wrapper $arch $outdir ' 1394 command=('%s gyp-win-tool midl-wrapper $arch $outdir '
1395 '$tlb $h $dlldata $iid $proxy $in ' 1395 '$tlb $h $dlldata $iid $proxy $in '
1396 '$defines $includes $idlflags' % sys.executable)) 1396 '$idlflags' % sys.executable))
1397 master_ninja.rule( 1397 master_ninja.rule(
1398 'rc', 1398 'rc',
1399 description='RC $in', 1399 description='RC $in',
1400 # Note: $in must be last otherwise rc.exe complains. 1400 # Note: $in must be last otherwise rc.exe complains.
1401 command=('%s gyp-win-tool rc-wrapper ' 1401 command=('%s gyp-win-tool rc-wrapper '
1402 '$arch $rc $defines $includes $rcflags /fo$out $in' % 1402 '$arch $rc $defines $includes $rcflags /fo$out $in' %
1403 sys.executable)) 1403 sys.executable))
1404 master_ninja.rule( 1404 master_ninja.rule(
1405 'asm', 1405 'asm',
1406 description='ASM $in', 1406 description='ASM $in',
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 1649
1650 user_config = params.get('generator_flags', {}).get('config', None) 1650 user_config = params.get('generator_flags', {}).get('config', None)
1651 if user_config: 1651 if user_config:
1652 GenerateOutputForConfig(target_list, target_dicts, data, params, 1652 GenerateOutputForConfig(target_list, target_dicts, data, params,
1653 user_config) 1653 user_config)
1654 else: 1654 else:
1655 config_names = target_dicts[target_list[0]]['configurations'].keys() 1655 config_names = target_dicts[target_list[0]]['configurations'].keys()
1656 for config_name in config_names: 1656 for config_name in config_names:
1657 GenerateOutputForConfig(target_list, target_dicts, data, params, 1657 GenerateOutputForConfig(target_list, target_dicts, data, params,
1658 config_name) 1658 config_name)
OLDNEW
« no previous file with comments | « pylib/gyp/generator/msvs.py ('k') | pylib/gyp/win_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698