OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
| 3 # Copyright (c) 2009 Google Inc. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
3 from compiler.ast import Const | 7 from compiler.ast import Const |
4 from compiler.ast import Dict | 8 from compiler.ast import Dict |
5 from compiler.ast import Discard | 9 from compiler.ast import Discard |
6 from compiler.ast import List | 10 from compiler.ast import List |
7 from compiler.ast import Module | 11 from compiler.ast import Module |
8 from compiler.ast import Node | 12 from compiler.ast import Node |
9 from compiler.ast import Stmt | 13 from compiler.ast import Stmt |
10 import compiler | 14 import compiler |
11 import copy | 15 import copy |
12 import gyp.common | 16 import gyp.common |
(...skipping 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2011 ValidateRunAsInTarget(target, target_dict, build_file) | 2015 ValidateRunAsInTarget(target, target_dict, build_file) |
2012 ValidateActionsInTarget(target, target_dict, build_file) | 2016 ValidateActionsInTarget(target, target_dict, build_file) |
2013 | 2017 |
2014 # Generators might not expect ints. Turn them into strs. | 2018 # Generators might not expect ints. Turn them into strs. |
2015 TurnIntIntoStrInDict(data) | 2019 TurnIntIntoStrInDict(data) |
2016 | 2020 |
2017 # TODO(mark): Return |data| for now because the generator needs a list of | 2021 # TODO(mark): Return |data| for now because the generator needs a list of |
2018 # build files that came in. In the future, maybe it should just accept | 2022 # build files that came in. In the future, maybe it should just accept |
2019 # a list, and not the whole data dict. | 2023 # a list, and not the whole data dict. |
2020 return [flat_list, targets, data] | 2024 return [flat_list, targets, data] |
OLD | NEW |