Chromium Code Reviews| Index: pylib/gyp/input.py |
| =================================================================== |
| --- pylib/gyp/input.py (revision 1232) |
| +++ pylib/gyp/input.py (working copy) |
| @@ -2152,6 +2152,11 @@ |
| "An action must have an 'action_name' field." % |
| target_name) |
| inputs = action.get('inputs', []) |
| + action_command = action.get('action') |
| + if action_command: |
|
(unused - use chromium)
2012/02/23 01:55:19
if action_command and not action-command[0]:
rai
|
| + if action_command[0] == '': |
| + raise Exception("Empty action as command in target %s. " % |
| + target_name) |
| def ValidateRunAsInTarget(target, target_dict, build_file): |