Permalink
Browse files

ninja/mac: Remove mac_tool variable, it wasn't used for anything.

No intended behavior change.
Review URL: https://codereview.chromium.org/11305011

git-svn-id: http://gyp.googlecode.com/svn/trunk@1525 78cadc50-ecff-11dd-a971-7dbc132099af
  • Loading branch information...
thakis@chromium.org
thakis@chromium.org committed Oct 26, 2012
1 parent 20568c8 commit 5a42139077a04cbaa8955b7e55e2f77d1fadf27d
Showing with 2 additions and 4 deletions.
  1. +2 −4 pylib/gyp/generator/ninja.py
@@ -1421,8 +1421,6 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params,
else:
master_ninja.variable('ld_host', flock + ' linker.lock ' + ld_host)
- if flavor == 'mac':
- master_ninja.variable('mac_tool', os.path.join('.', 'gyp-mac-tool'))
master_ninja.newline()
if flavor != 'win':
@@ -1656,11 +1654,11 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params,
master_ninja.rule(
'mac_tool',
description='MACTOOL $mactool_cmd $in',
- command='$env $mac_tool $mactool_cmd $in $out')
+ command='$env ./gyp-mac-tool $mactool_cmd $in $out')
master_ninja.rule(
'package_framework',
description='PACKAGE FRAMEWORK $out, POSTBUILDS',
- command='$mac_tool package-framework $out $version$postbuilds '
+ command='./gyp-mac-tool package-framework $out $version$postbuilds '
'&& touch $out')
if flavor == 'win':
master_ninja.rule(

0 comments on commit 5a42139

Please sign in to comment.