| 1 |
--- tools/gyp/pylib/gyp/generator/make.py.orig 2010-08-10 23:58:52.000000000 +0200 |
| 2 |
+++ tools/gyp/pylib/gyp/generator/make.py 2010-08-11 00:00:15.000000000 +0200 |
| 3 |
@@ -656,7 +656,7 @@ |
| 4 |
part_of_all: flag indicating this target is part of 'all' |
| 5 |
""" |
| 6 |
for action in actions: |
| 7 |
- name = self.target + '_' + action['action_name'] |
| 8 |
+ name = self.target + '_' + action['action_name'].replace(' ', '_') |
| 9 |
self.WriteLn('### Rules for action "%s":' % action['action_name']) |
| 10 |
inputs = action['inputs'] |
| 11 |
outputs = action['outputs'] |
| 12 |
@@ -725,7 +725,7 @@ |
| 13 |
part_of_all: flag indicating this target is part of 'all' |
| 14 |
""" |
| 15 |
for rule in rules: |
| 16 |
- name = self.target + '_' + rule['rule_name'] |
| 17 |
+ name = self.target + '_' + rule['rule_name'].replace(' ', '_') |
| 18 |
count = 0 |
| 19 |
self.WriteLn('### Generated for rule %s:' % name) |
| 20 |
|